Module 1-G.Mark
type graph
= t
Type of graphs.
type vertex
= V.t
Type of graph vertices.
val clear : graph -> unit
clear g
sets all the marks to 0 for all the vertices ofg
.
val get : vertex -> int
Mark value (in O(1)).
val set : vertex -> int -> unit
Set the mark of the given vertex.