|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.partitioner.Partitioner
public abstract class Partitioner
The abstract class that lays out the api to do the partitioning of the dax into smaller daxes. It defines additional functions to get and set the name of the partitions etc.
| Field Summary | |
|---|---|
protected Map |
mGraph
The map containing all the graph nodes. |
protected LogManager |
mLogger
The handle to the internal logging object. |
protected PegasusProperties |
mProps
The object holding all the properties pertaining to Pegasus. |
protected GraphNode |
mRoot
The root node of the graph from where to start the BFS. |
static String |
PACKAGE_NAME
The package name where the implementing classes of this interface reside. |
static String |
VERSION
The version number associated with this API of Code Generator. |
| Constructor Summary | |
|---|---|
Partitioner(GraphNode root,
Map graph,
PegasusProperties properties)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
abstract String |
description()
Returns a textual description of the transfer implementation. |
abstract void |
determinePartitions(Callback c)
The main function that ends up traversing the graph structure corrsponding to the dax and creates the smaller dax files(one dax file per partition) and the .pdax file that illustrates the partition graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PACKAGE_NAME
public static final String VERSION
protected GraphNode mRoot
protected Map mGraph
protected LogManager mLogger
protected PegasusProperties mProps
| Constructor Detail |
|---|
public Partitioner(GraphNode root,
Map graph,
PegasusProperties properties)
root - the dummy root node of the graph.graph - the map containing all the nodes of the graph keyed by
the logical id of the nodes.properties - the properties passed out to the planner.| Method Detail |
|---|
public abstract void determinePartitions(Callback c)
c - the callback object that the partitioner calls out to.public abstract String description()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||