public class StagedGraphTraversal extends BasicGraphTraversal
CONTINUE, KILL_BRANCH, STOP, SUSPEND| Constructor and Description |
|---|
StagedGraphTraversal(Graph graph,
GraphWalker walker,
GraphIterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Resets the visited flag and counts of all nodes of the graph.
|
boolean |
isVisited(Graphable g) |
void |
setVisited(Graphable g,
boolean visited) |
getGraph, getIterator, getWalker, setGraph, setIterator, setWalker, traversepublic StagedGraphTraversal(Graph graph, GraphWalker walker, GraphIterator iterator)
public void init()
BasicGraphTraversalinit in interface GraphTraversalinit in class BasicGraphTraversalGraphTraversal.init()public boolean isVisited(Graphable g)
isVisited in interface GraphTraversalisVisited in class BasicGraphTraversalpublic void setVisited(Graphable g, boolean visited)
setVisited in interface GraphTraversalsetVisited in class BasicGraphTraversalCopyright © 1996–2021 Geotools. All rights reserved.