Class DirectedDepthFirstIterator
- Object
-
- AbstractGraphIterator
-
- SourceGraphIterator
-
- BreadthFirstIterator
-
- DepthFirstIterator
-
- DirectedDepthFirstIterator
-
- All Implemented Interfaces:
GraphIterator
public class DirectedDepthFirstIterator extends DepthFirstIterator
-
-
Constructor Summary
Constructors Constructor Description DirectedDepthFirstIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cont(Graphable current, GraphTraversal traversal)
Looks for nodes adjacent to the current node to place into the node queue.-
Methods inherited from class DepthFirstIterator
buildQueue
-
Methods inherited from class BreadthFirstIterator
getQueue, init, killBranch, next, setSource
-
Methods inherited from class SourceGraphIterator
getSource
-
Methods inherited from class AbstractGraphIterator
getGraph, getTraversal, getWalker, setTraversal
-
-
-
-
Method Detail
-
cont
public void cont(Graphable current, GraphTraversal traversal)
Description copied from class:BreadthFirstIterator
Looks for nodes adjacent to the current node to place into the node queue. An adjacent node is only placed into the node queue if its visited flag is unset.- Specified by:
cont
in interfaceGraphIterator
- Overrides:
cont
in classBreadthFirstIterator
- Parameters:
current
- The current component of the traversal.- See Also:
org.geotools.graph.traverse.GraphIterator#cont(Graphable)
-
-