protected class MapGraph.BottomUpIterator extends Object implements Iterator
Modifier and Type | Field and Description |
---|---|
private int |
mCurrentDepth
The current height of the nodes that are being traversed in the BFS starting from
the leaf.
|
private List |
mLevelList
A temporary list that stores all the nodes on a particular level.
|
private LinkedList |
mQueue
The first in first out queue, that manages the set of gray vertices in a
breadth first search.
|
Constructor and Description |
---|
MapGraph.BottomUpIterator()
The default constructor.
|
private LinkedList mQueue
private int mCurrentDepth
private List mLevelList
public MapGraph.BottomUpIterator()
public boolean hasNext()
public Object next()