Class BreadthFirstIterator<V,E>

All Implemented Interfaces:
Iterator<V>, GraphIterator<V,E>

public class BreadthFirstIterator<V,E> extends CrossComponentIterator<V,E,Object>
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