Package eu.bandm.tools.graph
Class TopologicalSorter<V>
java.lang.Object
eu.bandm.tools.graph.TopologicalSorter<V>
- All Implemented Interfaces:
Iterable<V>
This class imposes an order on the nodes of a graph. The
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 Summary
ConstructorDescriptionTopologicalSorter
(RootedGraphModel<V> model, TraversalOrder order, boolean weak) Create an object that imposes an order on the nodes of a graph. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator