module type WEIGHT =sig..end
Signature for edges' weights.
type edge
Type for graph edges.
type t
Type of edges' weights.
val weight : edge -> tGet the weight of an edge.
val compare : t -> t -> intWeights must be ordered.
val add : t -> t -> tAddition of weights.
val zero : tNeutral element for Sig.WEIGHT.add.