| java.lang.Object org.griphyn.cPlanner.engine.Engine org.griphyn.cPlanner.engine.MainEngine
MainEngine | public class MainEngine extends Engine (Code) | | The central class that calls out to the various other components of Pegasus.
author: Karan Vahi author: Gaurang Mehta version: $Revision: 450 $ See Also: org.griphyn.cPlanner.classes.ReplicaLocations |
Method Summary | |
public ADag | getCleanupDAG() Returns the cleanup dag for the concrete dag. | public PegasusBag | getPegasusBag() Returns the bag of intialization objects. | public ADag | runPlanner() The main function which calls the other engines and does the necessary work. | public String | setToString(Set s, String delim) A small helper method that displays the contents of a Set in a String.
Parameters: s - the Set whose contents need to be displayed Parameters: delim - The delimited between the members of the set. |
MainEngine | public MainEngine(ADag orgDag, PegasusProperties props, PlannerOptions options)(Code) | | This constructor initialises the class variables to the variables
passed. The pool names specified should be present in the pool.config file
Parameters: orgDag - the dag to be worked on. Parameters: props - the properties to be used. Parameters: options - The options specified by the user to run the planner. |
getCleanupDAG | public ADag getCleanupDAG()(Code) | | Returns the cleanup dag for the concrete dag.
the cleanup dag if the random dir is given.null otherwise. |
getPegasusBag | public PegasusBag getPegasusBag()(Code) | | Returns the bag of intialization objects.
PegasusBag |
runPlanner | public ADag runPlanner()(Code) | | The main function which calls the other engines and does the necessary work.
the planned worflow. |
setToString | public String setToString(Set s, String delim)(Code) | | A small helper method that displays the contents of a Set in a String.
Parameters: s - the Set whose contents need to be displayed Parameters: delim - The delimited between the members of the set. String |
|
|