Package pascal.taie.util.graph
Class MergedSCCGraph<N>
java.lang.Object
pascal.taie.util.graph.MergedSCCGraph<N>
- All Implemented Interfaces:
Serializable
,Iterable<MergedNode<N>>
,Graph<MergedNode<N>>
Represents a merged graph of a directed graph G.
Each SCC of G is represented by a merged node of this graph.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<MergedNode<N>>
getNodes()
Set<MergedNode<N>>
getPredsOf
(MergedNode<N> node) Set<MergedNode<N>>
getSuccsOf
(MergedNode<N> node) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface pascal.taie.util.graph.Graph
getInDegreeOf, getInEdgesOf, getNumberOfNodes, getOutDegreeOf, getOutEdgesOf, hasEdge, hasEdge, hasNode, iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MergedSCCGraph
-
-
Method Details
-
getPredsOf
- Specified by:
getPredsOf
in interfaceGraph<N>
- Returns:
- the predecessors of given node in this graph.
-
getSuccsOf
- Specified by:
getSuccsOf
in interfaceGraph<N>
- Returns:
- the successors of given node in this graph.
-
getNodes
-