|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.lowering.partition.ListPartitioner
public abstract class ListPartitioner
This is a partitioner that keeps a canonical list of underlying nodes to help with partitioning.
Field Summary | |
---|---|
protected HashMap<SIRStream,Integer> |
first
Maps a stream container (pipeline, splitjoin, feedbackloop) to an Integer denoting the first index in |
protected HashMap<SIRStream,Integer> |
last
Maps a stream container (pipeline, splitjoin, feedbackloop) to an Integer denoting the first index in |
protected LinkedList<Object> |
nodes
List of NODES (i.e., filters and joiners) in the stream graph. |
protected int |
numTiles
The target number of tiles this partitioner is going for. |
protected SIRStream |
str
The toplevel stream we're operating on. |
protected WorkEstimate |
work
The work estimate of the stream. |
Constructor Summary | |
---|---|
ListPartitioner(SIRStream str,
WorkEstimate work,
int numTiles)
|
Method Summary | |
---|---|
protected boolean |
equivStructure(SIRStream str1,
SIRStream str2)
Returns whether or not |
int |
getNumTiles()
|
WorkEstimate |
getWorkEstimate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SIRStream str
protected int numTiles
protected LinkedList<Object> nodes
protected HashMap<SIRStream,Integer> first
protected HashMap<SIRStream,Integer> last
protected WorkEstimate work
Constructor Detail |
---|
public ListPartitioner(SIRStream str, WorkEstimate work, int numTiles)
Method Detail |
---|
public int getNumTiles()
public WorkEstimate getWorkEstimate()
protected boolean equivStructure(SIRStream str1, SIRStream str2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |