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, traverse
public StagedGraphTraversal(Graph graph, GraphWalker walker, GraphIterator iterator)
public void init()
BasicGraphTraversal
init
in interface GraphTraversal
init
in class BasicGraphTraversal
GraphTraversal.init()
public boolean isVisited(Graphable g)
isVisited
in interface GraphTraversal
isVisited
in class BasicGraphTraversal
public void setVisited(Graphable g, boolean visited)
setVisited
in interface GraphTraversal
setVisited
in class BasicGraphTraversal
Copyright © 1996–2019 Geotools. All rights reserved.