SandMark version 3.0


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


Field Summary
 
Fields inherited from class sandmark.watermark.gtw.ClusterGraph
mPCFG, mRand
 
Constructor Summary
FunctionClusterGraph(ProgramCFG pCFG, long randomSeed)
           
 
Method Summary
protected  java.lang.Object getClusterForNode(java.lang.Object node)
           
protected  boolean hasSplitableEdge(MethodCFG cfg)
           
protected  boolean isLegalEdge(java.lang.Object from, java.lang.Object to)
           
protected  boolean isSplitableEdge(MethodCFG cfg, BasicBlock src, BasicBlock dest)
           
protected  void synthesizeEdge(java.lang.Object from, java.lang.Object to)
           
 
Methods inherited from class sandmark.watermark.gtw.ClusterGraph
addRandomEdgesBetweenSubgraphs, getRNG, init
 
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
 

Constructor Detail

FunctionClusterGraph

public FunctionClusterGraph(ProgramCFG pCFG,
                            long randomSeed)
Method Detail

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)

SandMark version 3.0

Wed Jan 29 10:30:05 MST 2003