Class DirectedBreadthFirstIterator

    • Constructor Detail

      • DirectedBreadthFirstIterator

        public DirectedBreadthFirstIterator()
    • 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 interface GraphIterator
        cont in class BreadthFirstIterator
        current - The current component of the traversal.
        See Also: