edu.isi.pegasus.planner.selector.site
public class Heft extends Abstract
Algorithm.AVERAGE_BANDWIDTH,
Algorithm.RUNTIME_PROFILE_KEY,
Algorithm.DEFAULT_NUMBER_OF_FREE_NODES,
Algorithm.AVERAGE_DATA_SIZE_BETWEEN_JOBS,
org.griphyn.cPlanner.classes.JobManager#IDLE_NODES| Modifier and Type | Field and Description |
|---|---|
private Algorithm |
mHeftImpl
An instance of the class that implements the HEFT algorithm.
|
mBag, mLogger, mProps, mSiteStore, mTCMapperSITE_NOT_FOUND, VERSION| Constructor and Description |
|---|
Heft()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
This method returns a String describing the site selection technique
that is being implemented by the implementing class.
|
void |
initialize(PegasusBag bag)
Initializes the site selector.
|
void |
mapWorkflow(ADag workflow,
List sites)
Maps the jobs in the workflow to the various grid sites.
|
void |
mapWorkflow(Graph workflow,
List sites)
Maps the jobs in the workflow to the various grid sites.
|
void |
mapWorkflow(Graph workflow,
List sites,
String label)
Maps the jobs in the workflow to the various grid sites.
|
private Algorithm mHeftImpl
public void initialize(PegasusBag bag)
initialize in interface SiteSelectorinitialize in class Abstractbag - the bag of objects that is useful for initialization.public void mapWorkflow(ADag workflow, List sites)
mapWorkflow in interface SiteSelectormapWorkflow in class Abstractworkflow - the workflow.sites - the list of String objects representing the
execution sites that can be used.public void mapWorkflow(Graph workflow, List sites)
workflow - the workflow in a Graph form.sites - the list of String objects representing the
execution sites that can be used.public void mapWorkflow(Graph workflow, List sites, String label)
workflow - the workflow in a Graph form.sites - the list of String objects representing the
execution sites that can be used.label - the label of the workflowpublic String description()