Class StagedGraphTraversal
Object
BasicGraphTraversal
StagedGraphTraversal
- All Implemented Interfaces:
GraphTraversal
- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
-
Field Summary
Fields inherited from interface GraphTraversal
CONTINUE, KILL_BRANCH, STOP, SUSPEND
-
Constructor Summary
ConstructorsConstructorDescriptionStagedGraphTraversal
(Graph graph, GraphWalker walker, GraphIterator iterator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
Resets the visited flag and counts of all nodes of the graph.boolean
void
setVisited
(Graphable g, boolean visited) Methods inherited from class BasicGraphTraversal
getGraph, getIterator, getWalker, setGraph, setIterator, setWalker, traverse
-
Constructor Details
-
StagedGraphTraversal
-
-
Method Details
-
init
public void init()Description copied from class:BasicGraphTraversal
Resets the visited flag and counts of all nodes of the graph.- Specified by:
init
in interfaceGraphTraversal
- Overrides:
init
in classBasicGraphTraversal
- See Also:
-
isVisited
- Specified by:
isVisited
in interfaceGraphTraversal
- Overrides:
isVisited
in classBasicGraphTraversal
-
setVisited
- Specified by:
setVisited
in interfaceGraphTraversal
- Overrides:
setVisited
in classBasicGraphTraversal
-