WRENCH
1.10
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
An internal class that uses the Boost Graph Library to implement a DAG of WorkflowTask objects. More...
#include <DagOfTasks.h>
Public Member Functions | |
void | addEdge (WorkflowTask *src, WorkflowTask *dst) |
Method to add an edge between to task vertices. More... | |
void | addVertex (const WorkflowTask *task) |
Method to add a task vertex to the DAG. More... | |
bool | doesEdgeExist (const WorkflowTask *src, const WorkflowTask *dst) |
Method to check whether an edge exists between to task vertices. More... | |
bool | doesPathExist (const WorkflowTask *src, const WorkflowTask *dst) |
Method to check whether a path exists between to task vertices. More... | |
std::vector< WorkflowTask * > | getChildren (const WorkflowTask *task) |
Method to get the children of a task vertex. More... | |
long | getNumberOfChildren (const WorkflowTask *task) |
Method to get the number of children of a task vertex. More... | |
long | getNumberOfParents (const WorkflowTask *task) |
Method to get the number of parents of a task vertex. More... | |
std::vector< WorkflowTask * > | getParents (const WorkflowTask *task) |
Method to get the parents of a task vertex. More... | |
void | removeEdge (WorkflowTask *src, WorkflowTask *dst) |
Remove an edge between two task vertices. More... | |
void | removeVertex (WorkflowTask *task) |
Method to remove a task vertex from the DAG. More... | |
An internal class that uses the Boost Graph Library to implement a DAG of WorkflowTask objects.
void wrench::DagOfTasks::addEdge | ( | wrench::WorkflowTask * | src, |
wrench::WorkflowTask * | dst | ||
) |
Method to add an edge between to task vertices.
src | the source task |
dst | the destination task |
void wrench::DagOfTasks::addVertex | ( | const WorkflowTask * | task | ) |
Method to add a task vertex to the DAG.
task | the task |
bool wrench::DagOfTasks::doesEdgeExist | ( | const WorkflowTask * | src, |
const WorkflowTask * | dst | ||
) |
Method to check whether an edge exists between to task vertices.
src | the source task |
dst | the destination task |
bool wrench::DagOfTasks::doesPathExist | ( | const WorkflowTask * | src, |
const WorkflowTask * | dst | ||
) |
Method to check whether a path exists between to task vertices.
src | the source task |
dst | the destination task |
std::vector< WorkflowTask * > wrench::DagOfTasks::getChildren | ( | const WorkflowTask * | task | ) |
Method to get the children of a task vertex.
task | the task |
long wrench::DagOfTasks::getNumberOfChildren | ( | const WorkflowTask * | task | ) |
Method to get the number of children of a task vertex.
task | the task |
long wrench::DagOfTasks::getNumberOfParents | ( | const WorkflowTask * | task | ) |
Method to get the number of parents of a task vertex.
task | the task |
std::vector< WorkflowTask * > wrench::DagOfTasks::getParents | ( | const WorkflowTask * | task | ) |
Method to get the parents of a task vertex.
task | the task |
void wrench::DagOfTasks::removeEdge | ( | wrench::WorkflowTask * | src, |
wrench::WorkflowTask * | dst | ||
) |
Remove an edge between two task vertices.
src | the source task |
dst | the destination task |
void wrench::DagOfTasks::removeVertex | ( | wrench::WorkflowTask * | task | ) |
Method to remove a task vertex from the DAG.
task | the task |