Class NumberedDFSFinishTimeIterator<T>
java.lang.Object
com.ibm.wala.util.graph.traverse.DFSFinishTimeIterator<T>
com.ibm.wala.util.graph.traverse.NumberedDFSFinishTimeIterator<T>
- All Implemented Interfaces:
Serializable, Iterator<T>
This class implements depth-first search over a NumberedGraph, return an enumeration of the nodes
of the graph in order of increasing discover time. This class follows the outNodes of the graph
nodes to define the graph, but this behavior can be changed by overriding the getConnected
method.
- See Also:
-
Method Summary
Methods inherited from class DFSFinishTimeIterator
getConnected, hasNext, init, next, removeModifier and TypeMethodDescriptiongetConnected(T n) get the out edges of a given nodebooleanhasNext()Return whether there are any more nodes left to enumerate.protected voidSubclasses must call this in the constructor!next()Find the next graph node in finishing time order.voidremove()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining