Package com.ibm.wala.util.graph.traverse
Class Topological
- java.lang.Object
-
- com.ibm.wala.util.graph.traverse.Topological
-
public class Topological extends Object
Utilities for iterating over graphs in topological order.
-
-
Constructor Summary
Constructors Constructor Description Topological()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
makeTopologicalIter
public static <T> Iterator<T> makeTopologicalIter(Graph<T> graph) throws IllegalArgumentException
Build an Iterator over all the nodes in the graph, in an order such that SCCs are visited in topological order.- Throws:
IllegalArgumentException
- if graph == null
-
-