sandmark.watermark.gtw
Class FunctionClusterGraph
java.lang.Object
|
+--sandmark.util.controlflowgraph.ProgramGraph
|
+--sandmark.watermark.gtw.ClusterGraph
|
+--sandmark.watermark.gtw.FunctionClusterGraph
- public class FunctionClusterGraph
- extends ClusterGraph
Methods inherited from class sandmark.util.controlflowgraph.ProgramGraph |
addEdge, addNode, edgeCount, getPreds, getSuccs, hasEdge, hasNode, nodeCount, nodes, removeEdge, removeNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionClusterGraph
public FunctionClusterGraph(ProgramCFG pCFG,
long randomSeed)
getClusterForNode
protected java.lang.Object getClusterForNode(java.lang.Object node)
- Specified by:
getClusterForNode
in class ClusterGraph
synthesizeEdge
protected void synthesizeEdge(java.lang.Object from,
java.lang.Object to)
- Specified by:
synthesizeEdge
in class ClusterGraph
isLegalEdge
protected boolean isLegalEdge(java.lang.Object from,
java.lang.Object to)
- Specified by:
isLegalEdge
in class ClusterGraph
hasSplitableEdge
protected boolean hasSplitableEdge(MethodCFG cfg)
isSplitableEdge
protected boolean isSplitableEdge(MethodCFG cfg,
BasicBlock src,
BasicBlock dest)