public abstract class ChromaticNumber extends Object
| Constructor and Description |
|---|
ChromaticNumber() |
| Modifier and Type | Method and Description |
|---|---|
static <V,E> int |
findGreedyChromaticNumber(UndirectedGraph<V,E> g)
Finds the number of colors required for a greedy coloring of the graph.
|
static <V,E> Map<Integer,Set<V>> |
findGreedyColoredGroups(UndirectedGraph<V,E> g)
Finds a greedy coloring of the graph.
|
public static <V,E> int findGreedyChromaticNumber(UndirectedGraph<V,E> g)
V - the graph vertex typeE - the graph edge typeg - an undirected graph to find the chromatic number ofpublic static <V,E> Map<Integer,Set<V>> findGreedyColoredGroups(UndirectedGraph<V,E> g)
V - the graph vertex typeE - the graph edge typeg - an undirected graph for which to find the coloringCopyright © 2016. All rights reserved.