Package com.ibm.wala.util.graph.impl
Class InvertedGraph<T>
- java.lang.Object
-
- com.ibm.wala.util.graph.AbstractGraph<T>
-
- com.ibm.wala.util.graph.impl.InvertedGraph<T>
-
- All Implemented Interfaces:
EdgeManager<T>
,Graph<T>
,NodeManager<T>
,java.lang.Iterable<T>
public class InvertedGraph<T> extends AbstractGraph<T>
A graph view that reverses the edges in a graph
-
-
Constructor Summary
Constructors Constructor Description InvertedGraph(Graph<T> G)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EdgeManager<T>
getEdgeManager()
protected NodeManager<T>
getNodeManager()
-
Methods inherited from class com.ibm.wala.util.graph.AbstractGraph
addEdge, addNode, containsNode, edgeString, getNumberOfNodes, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, iterator, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeNode, removeNodeAndEdges, removeOutgoingEdges, toString
-
-
-
-
Method Detail
-
getNodeManager
protected NodeManager<T> getNodeManager()
- Specified by:
getNodeManager
in classAbstractGraph<T>
- Returns:
- the object which manages nodes in the graph
-
getEdgeManager
protected EdgeManager<T> getEdgeManager()
- Specified by:
getEdgeManager
in classAbstractGraph<T>
- Returns:
- the object which manages edges in the graph
-
-