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
-
Method Summary
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, hasNode, iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ReverseGraph
-
-
Method Details
-
hasEdge
-
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
-