Interface VertexColoringAlgorithm.Coloring<V>
- Type Parameters:
V- the graph vertex type
- All Known Implementing Classes:
VertexColoringAlgorithm.ColoringImpl
- Enclosing interface:
VertexColoringAlgorithm<V>
public static interface VertexColoringAlgorithm.Coloring<V>
A coloring. The colors are between 0 and $n-1$ where $n$ is the number of vertices of the
graph.
-
Method Summary
Modifier and TypeMethodDescriptionGet the color classes.Get the color map.intGet the number of colors.
-
Method Details
-
getNumberColors
int getNumberColors()Get the number of colors.- Returns:
- the number of colors
-
getColors
-
getColorClasses
-