Package it.unimi.dsi.law.fibrations
Interface NodeColouringStrategy
public interface NodeColouringStrategy
A colouring on the nodes. It is given by a
colour(int) function
that returns the colour of a node.-
Method Summary
Modifier and Type Method Description intcolour(int x)Returns the colour for nodex.
-
Method Details
-
colour
int colour(int x)Returns the colour for nodex.- Parameters:
x- a node.- Returns:
- the colour of
x.
-