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 voidcont(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:BreadthFirstIteratorLooks 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:
contin interfaceGraphIterator- Overrides:
contin classBreadthFirstIterator- Parameters:
current- The current component of the traversal.- See Also:
org.geotools.graph.traverse.GraphIterator#cont(Graphable)
-
-