Package pascal.taie.util.graph
Class SCC<N>
java.lang.Object
pascal.taie.util.graph.SCC<N>
- Type Parameters:
N
- type of nodes
Finds strongly connected components in a directed graph using
Tarjan's algorithm.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
SCC
-
-
Method Details
-
getComponents
- Returns:
- the list of the strongly-connected components
-
getTrueComponents
- Returns:
- the list of the strongly-connected components, but only those that are true components, i.e. components which have more than one element or consists of one node that has itself as a successor
-