module Rand:Random graphssig
..end
val graph : ?loops:bool -> v:int -> e:int -> unit -> Sig_pack.S.t
random v e
generates a random with v
vertices and e
edges.val labeled : (Sig_pack.S.V.t -> Sig_pack.S.V.t -> Sig_pack.S.E.label) ->
?loops:bool -> v:int -> e:int -> unit -> Sig_pack.S.t
random_labeled f
is similar to random
except that edges are
labeled using function f