module Oper: sig
.. end
Basic operations over graphs
Basic operations over graphs
module type S = sig
.. end
module Make:
Basic operations over graphs
module P: functor (
G
:
Sig.P
) ->
S
with type g = G.t
Basic operations over persistent graphs
module I: functor (
G
:
Sig.I
) ->
S
with type g = G.t
Basic operations over imperative graphs
Choose
module Choose: functor (
G
:
sig
type
t
type
vertex
type
edge
val iter_vertex : (vertex -> unit) -> t -> unit
val iter_edges_e : (edge -> unit) -> t -> unit
end
) ->
sig
.. end
Choose an element in a graph
Neighbourhood
module Neighbourhood: functor (
G
:
sig
type
t
module V: Sig.COMPARABLE
val fold_succ : (V.t -> 'a -> 'a) -> t -> V.t -> 'a -> 'a
val succ : t -> V.t -> V.t list
end
) ->
sig
.. end
Neighbourhood of vertex / vertices