Module Graph.Coloring
Coloring
val coloring : t -> int -> unit
coloring g k
colors the nodes of graphg
usingk
colors, assigning the marks integer values between 1 andk
.
val two_color : t -> unit
two_color g
attemps to colorg
with colors 1 and 2.