package ocamlgraph

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

Module Abstract.MarkSource

Mark on vertices. Marks can be used if you want to store some information on vertices: it is more efficient to use marks than an external table.

Sourcetype graph = t

Type of graphs.

Sourcetype vertex = vertex

Type of graph vertices.

Sourceval clear : graph -> unit

clear g sets all the marks to 0 for all the vertices of g.

Sourceval get : vertex -> int

Mark value (in O(1)).

Sourceval set : vertex -> int -> unit

Set the mark of the given vertex.

OCaml

Innovation. Community. Security.