public class Topological extends Object
Constructor and Description |
---|
Topological() |
Modifier and Type | Method and Description |
---|---|
static <T> Iterator<T> |
makeTopologicalIter(Graph<T> graph)
Build an Iterator over all the nodes in the graph, in an order such that SCCs are visited in topological order.
|
public static <T> Iterator<T> makeTopologicalIter(Graph<T> graph) throws IllegalArgumentException
IllegalArgumentException
- if graph == null