Package pascal.taie.util.graph
Class ReverseGraph<N>
java.lang.Object
pascal.taie.util.graph.ReverseGraph<N>
- Type Parameters:
N- type of nodes.
- All Implemented Interfaces:
Serializable,Iterable<N>,Graph<N>
A reverse view of given graph.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pascal.taie.util.graph.Graph
getInDegreeOf, getInEdgesOf, getNumberOfNodes, getOutDegreeOf, getOutEdgesOf, hasEdge, hasNode, iteratorMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ReverseGraph
-
-
Method Details
-
hasEdge
-
getPredsOf
- Specified by:
getPredsOfin interfaceGraph<N>- Returns:
- the predecessors of given node in this graph.
-
getSuccsOf
- Specified by:
getSuccsOfin interfaceGraph<N>- Returns:
- the successors of given node in this graph.
-
getNodes
-