module E:Edges have typesig
..end
E.t
and are labeled with type E.label
.
src
(resp. dst
) returns the origin (resp. the destination) of a
given edge.ORDERED
.type
t
val compare : t -> t -> int
val src : t -> Sig.G.V.t
val dst : t -> Sig.G.V.t
type
label
val create : Sig.G.V.t -> label -> Sig.G.V.t -> t
create v1 l v2
creates an edge from v1
to v2
with label l
val label : t -> label