Interface HeapGraph<T extends InstanceKey>
- All Superinterfaces:
EdgeManager<Object>, Graph<Object>, Iterable<Object>, NodeManager<Object>, NumberedEdgeManager<Object>, NumberedGraph<Object>, NumberedNodeManager<Object>
- All Known Implementing Classes:
BasicHeapGraph, HeapGraphImpl
A
Graph view of a pointer analysis solution.
Nodes in the Graph are PointerKeys and InstanceKeys.
There is an edge from a PointerKey P to an InstanceKey I iff the PointerAnalysis indicates that P may point to I.
There is an edge from an InstanceKey I to a PointerKey P iff - P represents a field of an object instance modeled by I, or - P represents the array contents of array instance I.
-
Method Summary
Methods inherited from interface EdgeManager
addEdge, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeOutgoingEdgesModifier and TypeMethodDescriptionvoidintReturn the number ofimmediate predecessornodes of nReturn anIteratorover the immediate predecessor nodes of nintReturn the number ofimmediate successornodes of this Node in the GraphReturn an Iterator over the immediate successor nodes of nbooleanvoidremoveAllIncidentEdges(Object node) voidremoveEdge(Object src, Object dst) voidremoveIncomingEdges(Object node) voidremoveOutgoingEdges(Object node) Methods inherited from interface Graph
removeNodeAndEdgesModifier and TypeMethodDescriptionvoidremove a node and all its incident edgesMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface NodeManager
addNode, containsNode, getNumberOfNodes, iterator, removeNode, streamModifier and TypeMethodDescriptionvoidadd a node to this graphbooleanintiterator()voidremoveNode(Object n) remove a node from this graphstream()Methods inherited from interface NumberedEdgeManager
getPredNodeNumbers, getSuccNodeNumbersModifier and TypeMethodDescriptiongetPredNodeNumbers(Object node) getSuccNodeNumbers(Object node) Methods inherited from interface NumberedNodeManager
getMaxNumber, getNode, getNumber, iterateNodes
-
Method Details
-
getReachableInstances
-
getHeapModel
HeapModel getHeapModel() -
getPointerAnalysis
PointerAnalysis<T> getPointerAnalysis()
-