Module Sig_pack.S.E

module E: sig .. end

Edges


Edges are ORDERED.

type t 
val compare : t -> t -> int

Edges are directed.

val src : t -> Sig_pack.S.V.t
val dst : t -> Sig_pack.S.V.t

Edges are labeled with integers.

type label = int 
val create : Sig_pack.S.V.t -> label -> Sig_pack.S.V.t -> t

create v1 l v2 creates an edge from v1 to v2 with label l

val label : t -> label
type vertex = Sig_pack.S.V.t