package ocamlgraph

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Minimal graph signature for Goldberg-Tarjan. Sub-signature of Sig.G.

type t
module V : Sig.COMPARABLE
module E : Sig.EDGE with type vertex = V.t

Edges are ORDERED_TYPE.

val nb_vertex : t -> int
val nb_edges : t -> int
val fold_edges_e : (E.t -> 'a -> 'a) -> t -> 'a -> 'a
val fold_succ_e : (E.t -> 'a -> 'a) -> t -> V.t -> 'a -> 'a
val fold_pred_e : (E.t -> 'a -> 'a) -> t -> V.t -> 'a -> 'a
OCaml

Innovation. Community. Security.