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 TypeMethodDescriptionvoidinit()Resets the visited flag and counts of all nodes of the graph.booleanvoidsetVisited(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:BasicGraphTraversalResets the visited flag and counts of all nodes of the graph.- Specified by:
initin interfaceGraphTraversal- Overrides:
initin classBasicGraphTraversal- See Also:
-
isVisited
- Specified by:
isVisitedin interfaceGraphTraversal- Overrides:
isVisitedin classBasicGraphTraversal
-
setVisited
- Specified by:
setVisitedin interfaceGraphTraversal- Overrides:
setVisitedin classBasicGraphTraversal
-