public class EdgeResetter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <E extends EdgeColorData,V extends EdgeColorVertex<E>> |
resetColors(AbstractGraph<V> graph)
Reset the color of all edges in the graph to WHITE.
|
static <E extends EdgeColorData,V extends EdgeColorVertex<E>> |
resetColors(AbstractGraph<V> graph,
Color color)
Reset the color of all edges in the graph to the given value.
|
public static <E extends EdgeColorData,V extends EdgeColorVertex<E>> void resetColors(AbstractGraph<V> graph)
graph
- graph whose edge colors are to be resetpublic static <E extends EdgeColorData,V extends EdgeColorVertex<E>> void resetColors(AbstractGraph<V> graph, Color color)
graph
- graph whose edge colors are to be resetcolor
- value to which to set the color of all edges in the graph