|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.cluster.ClusterFusion
public class ClusterFusion
the class finds splitters / joiners that need to be fused with filters.
(Not exactly: AD. allows manual fusing, also has something to do with
creating partition numbers a.k.a. threads.)
Constructor Summary | |
---|---|
ClusterFusion()
|
Method Summary | |
---|---|
static Set<FlatNode> |
fusedWith(FlatNode node)
Pass a Flatnode and get back a set of nodes that the passed node is fused with. |
static FlatNode |
getLocalMaster(FlatNode node)
Get node that the passed node was fused to. |
static FlatNode |
getMaster(FlatNode node)
Get node that the passed node was fused to. |
static String |
getPartition(FlatNode node)
Returns partition that |
static boolean |
isEliminated(FlatNode node)
Has passed node been eliminated in favor of some other representative of fused region? |
static void |
setPartitionMap(HashMap<SIROperator,Integer> pmap)
Clobber 'partitionmap'. |
void |
visitNode(FlatNode node)
Cluster partitioning. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterFusion()
Method Detail |
---|
public static void setPartitionMap(HashMap<SIROperator,Integer> pmap)
ClusterBackend
to record results of cachopts
and other partitioners.
pmap
- a map from SIROperators to partition numbers.public static boolean isEliminated(FlatNode node)
node
- a FlatNode
public static Set<FlatNode> fusedWith(FlatNode node)
node
- f FlatNode
public static FlatNode getLocalMaster(FlatNode node)
node
-
public static FlatNode getMaster(FlatNode node)
node
-
public void visitNode(FlatNode node)
visitNode
in interface FlatVisitor
node
- the node that is being currently visited.public static String getPartition(FlatNode node)
node
- ??
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |