public class TopologicalSorter<V> extends Object implements Iterable<V>
iterator()
method of this class enumerates all nodes of a certain
graph in a loosely specified order. Input graph and order
specification are given at construction time.Constructor and Description |
---|
TopologicalSorter(RootedGraphModel<V> model,
TraversalOrder order,
boolean weak)
Create an object that imposes an order on the nodes of a graph.
|
Modifier and Type | Method and Description |
---|---|
Iterator<V> |
iterator() |
static void |
main(String[] args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public TopologicalSorter(RootedGraphModel<V> model, TraversalOrder order, boolean weak)
see also the complete user documentation .