module E:Edges have typeSig.EDGE
with type vertex = vertex
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
type
vertex
val src : t -> vertex
val dst : t -> vertex
type
label
val create : vertex -> label -> vertex -> t
create v1 l v2
creates an edge from v1
to v2
with label l
val label : t -> label