package ocamlgraph

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

Module Graph.TraverseSource

Graph traversal.

Dfs and Bfs

Sourcemodule type G = sig ... end

Minimal graph signature for Dfs and Bfs. Sub-signature of Sig.G.

Sourcemodule Dfs (G : G) : sig ... end

Depth-first search

Sourcemodule Bfs (G : G) : sig ... end

Breadth-first search

Traversal with marking

Provide a more efficient version of depth-first algorithm when graph vertices are marked.

Sourcemodule type GM = sig ... end

Minimal graph signature for graph traversal with marking. Sub-signature of Sig.IM.

Sourcemodule Mark (G : GM) : sig ... end

Graph traversal with marking. Only applies to imperative graphs with marks.

OCaml

Innovation. Community. Security.