Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
Modifier and Type | Method and Description |
---|---|
static Graphs.NodeVisitState |
Graphs.NodeVisitState.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Graphs.NodeVisitState[] |
Graphs.NodeVisitState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static <N> boolean |
Graphs.subgraphHasCycle(Graph<N> graph,
java.util.Map<java.lang.Object,Graphs.NodeVisitState> visitedNodes,
N node,
N previousNode)
Performs a traversal of the nodes reachable from
node . |