package ocamlgraph

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

Module Blocks.UnlabeledSource

Common implementation to all the unlabeled (directed) graphs.

Parameters

module V : Sig.COMPARABLE
module HM : HM with type key = V.t

Signature

Sourcemodule S : sig ... end
Sourcemodule E : sig ... end
Sourcetype edge = E.t
Sourceval mem_edge : S.t HM.t -> HM.key -> S.elt -> bool
Sourceval mem_edge_e : S.t HM.t -> (HM.key * S.elt) -> bool
Sourceval find_edge : S.t HM.t -> HM.key -> S.elt -> HM.key * S.elt
Sourceval find_all_edges : S.t HM.t -> HM.key -> S.elt -> (HM.key * S.elt) list
Sourceval unsafe_remove_edge : S.t HM.t -> HM.key -> S.elt -> S.t HM.t
Sourceval unsafe_remove_edge_e : S.t HM.t -> (HM.key * S.elt) -> S.t HM.t
Sourceval remove_edge : S.t HM.t -> HM.key -> HM.key -> S.t HM.t
Sourceval remove_edge_e : S.t HM.t -> (HM.key * HM.key) -> S.t HM.t
Sourceval iter_succ : (S.elt -> unit) -> S.t HM.t -> HM.key -> unit
Sourceval fold_succ : (S.elt -> 'a -> 'a) -> S.t HM.t -> HM.key -> 'a -> 'a
Sourceval iter_succ_e : ((HM.key * S.elt) -> unit) -> S.t HM.t -> HM.key -> unit
Sourceval fold_succ_e : ((HM.key * S.elt) -> 'a -> 'a) -> S.t HM.t -> HM.key -> 'a -> 'a
Sourceval succ : S.t HM.t -> HM.key -> S.elt list
Sourceval succ_e : S.t HM.t -> HM.key -> (HM.key * S.elt) list
Sourceval map_vertex : (V.t -> HM.key) -> S.t HM.t -> S.t HM.t
Sourcemodule I : sig ... end
include module type of struct include I end
Sourcetype t = S.t HM.t
Sourcemodule PV = I.PV
Sourcemodule PE = I.PE
Sourceval iter_edges : (HM.key -> S.elt -> unit) -> S.t HM.t -> unit
Sourceval fold_edges : (HM.key -> S.elt -> 'a -> 'a) -> S.t HM.t -> 'a -> 'a
Sourceval iter_edges_e : ((HM.key * S.elt) -> unit) -> S.t HM.t -> unit
Sourceval fold_edges_e : ((HM.key * S.elt) -> 'a -> 'a) -> S.t HM.t -> 'a -> 'a
include sig ... end
Sourceval iter_pred : (V.t -> unit) -> S.t HM.t -> V.t -> unit
Sourceval fold_pred : (V.t -> 'a -> 'a) -> S.t HM.t -> V.t -> 'a -> 'a
Sourceval pred : S.t HM.t -> V.t -> V.t list
Sourceval in_degree : S.t HM.t -> V.t -> int
Sourceval iter_pred_e : ((V.t * V.t) -> unit) -> S.t HM.t -> V.t -> unit
Sourceval fold_pred_e : ((V.t * V.t) -> 'a -> 'a) -> S.t HM.t -> V.t -> 'a -> 'a
Sourceval pred_e : S.t HM.t -> V.t -> (V.t * V.t) list
OCaml

Innovation. Community. Security.