Interface ISDG
- All Superinterfaces:
EdgeManager<Statement>, Graph<Statement>, IClassHierarchyDweller, Iterable<Statement>, NodeManager<Statement>, NumberedEdgeManager<Statement>, NumberedGraph<Statement>, NumberedNodeManager<Statement>
Interface for an SDG (loosely defined here as a graph of
Statements. This interface
implies that the underlying graph is computed lazily on demand.-
Method Summary
Modifier and TypeMethodDescriptionSlicer.ControlDependenceOptionsused to construct this graph.PDG<? extends InstanceKey> Get the program dependence graph constructed for a particular node.Iterate over the nodes which have been discovered so far, but do NOT eagerly construct the entire graph.Methods inherited from interface EdgeManager
addEdge, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeOutgoingEdgesMethods inherited from interface Graph
removeNodeAndEdgesMethods inherited from interface IClassHierarchyDweller
getClassHierarchyMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface NodeManager
addNode, containsNode, getNumberOfNodes, iterator, removeNode, streamMethods inherited from interface NumberedEdgeManager
getPredNodeNumbers, getSuccNodeNumbersMethods inherited from interface NumberedNodeManager
getMaxNumber, getNode, getNumber, iterateNodes
-
Method Details
-
getCOptions
Slicer.ControlDependenceOptions getCOptions()Slicer.ControlDependenceOptionsused to construct this graph. -
getPDG
Get the program dependence graph constructed for a particular node. -
iterateLazyNodes
-