public class GreedyColoring<V,E> extends IntArrayGraphAlgorithm<V,E> implements ApproximationAlgorithm<Integer,V>
| Modifier and Type | Field and Description |
|---|---|
static int |
BEST_ORDER |
static int |
LARGEST_SATURATION_FIRST_ORDER |
static int |
NATURAL_ORDER |
static int |
SMALLEST_DEGREE_LAST_ORDER |
_neighbors, _vertexToPos, _vertices| Constructor and Description |
|---|
GreedyColoring(Graph<V,E> g) |
GreedyColoring(Graph<V,E> g,
int method) |
public static final int BEST_ORDER
public static final int NATURAL_ORDER
public static final int SMALLEST_DEGREE_LAST_ORDER
public static final int LARGEST_SATURATION_FIRST_ORDER
public Integer getLowerBound(Map<V,Object> optionalData)
getLowerBound in interface ApproximationAlgorithm<Integer,V>public Integer getUpperBound(Map<V,Object> optionalData)
getUpperBound in interface ApproximationAlgorithm<Integer,V>public boolean isExact()
isExact in interface ApproximationAlgorithm<Integer,V>Copyright © 2015. All Rights Reserved.