Class BreadthFirstIterator

  • All Implemented Interfaces:
    java.util.Iterator, GraphIterator

    public class BreadthFirstIterator
    extends CrossComponentIterator
    A breadth-first iterator for a directed and an undirected graph. For this iterator to work correctly the graph must not be modified during iteration. Currently there are no means to ensure that, nor to fail-fast. The results of such modifications are undefined.
    Since:
    Jul 19, 2003
    Author:
    Barak Naveh