include Graph.Sig.WEIGHT
type edgeType for graph edges.
type tType 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 add.
val sub : t -> t -> tSubtraction of weights.