Class DirectedBreadthFirstIterator
Object
AbstractGraphIterator
SourceGraphIterator
BreadthFirstIterator
DirectedBreadthFirstIterator
- All Implemented Interfaces:
GraphIterator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcont(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, setSourceMethods inherited from class SourceGraphIterator
getSourceMethods inherited from class AbstractGraphIterator
getGraph, getTraversal, getWalker, setTraversal
-
Constructor Details
-
DirectedBreadthFirstIterator
public DirectedBreadthFirstIterator()
-
-
Method Details
-
cont
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)
-