Class DirectedBreadthFirstIterator
- Object
-
- AbstractGraphIterator
-
- SourceGraphIterator
-
- BreadthFirstIterator
-
- DirectedBreadthFirstIterator
-
- All Implemented Interfaces:
GraphIterator
public class DirectedBreadthFirstIterator extends BreadthFirstIterator
-
-
Constructor Summary
Constructors Constructor Description DirectedBreadthFirstIterator()
-
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 BreadthFirstIterator
buildQueue, 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)
-
-