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, 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 nbooleanvoidvoidremoveEdge(Statement src, Statement dst) voidremoveIncomingEdges(Statement node) voidremoveOutgoingEdges(Statement node) Methods inherited from interface Graph
removeNodeAndEdgesModifier and TypeMethodDescriptionvoidremove a node and all its incident edgesMethods 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, getSuccNodeNumbersModifier and TypeMethodDescriptiongetPredNodeNumbers(Statement node) getSuccNodeNumbers(Statement node) Methods 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
-