Class DirectedBreadthFirstIterator
Object
AbstractGraphIterator
SourceGraphIterator
BreadthFirstIterator
DirectedBreadthFirstIterator
- All Implemented Interfaces:
GraphIterator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
DirectedBreadthFirstIterator
public DirectedBreadthFirstIterator()
-
-
Method Details
-
cont
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)
-