public abstract class EulerianCircuit extends Object
| Constructor and Description |
|---|
EulerianCircuit() |
| Modifier and Type | Method and Description |
|---|---|
static <V,E> List<V> |
getEulerianCircuitVertices(UndirectedGraph<V,E> g)
This method will return a list of vertices which represents the Eulerian
circuit of the graph.
|
static <V,E> boolean |
isEulerian(UndirectedGraph<V,E> g)
This method will check whether the graph passed in is Eulerian or not.
|
public static <V,E> boolean isEulerian(UndirectedGraph<V,E> g)
g - The graph to be checkedpublic static <V,E> List<V> getEulerianCircuitVertices(UndirectedGraph<V,E> g)
g - The graph to find an Eulerian circuitCopyright © 2016. All rights reserved.