PegasusWorkflowParser.h
1 
10 #ifndef WRENCH_PEGASUSWORKFLOWPARSER_H
11 #define WRENCH_PEGASUSWORKFLOWPARSER_H
12 
13 #include <string>
14 
15 namespace wrench {
16 
17  class Workflow;
18 
24 
25  public:
26 
55  static Workflow *createWorkflowFromDAX(const std::string &filename, const std::string &reference_flop_rate,
56  bool redundant_dependencies = false,
57  unsigned long min_cores_per_task = 1,
58  unsigned long max_cores_per_task = 1,
59  bool enforce_num_cores = false);
60 
88  static Workflow *createWorkflowFromJSON(const std::string &filename, const std::string &reference_flop_rate,
89  bool redundant_dependencies = false,
90  unsigned long min_cores_per_task = 1,
91  unsigned long max_cores_per_task = 1,
92  bool enforce_num_cores = false);
93 
121  static Workflow *createExecutableWorkflowFromJSON(const std::string &filename, const std::string &reference_flop_rate,
122  bool redundant_dependencies = false,
123  unsigned long min_cores_per_task = 1,
124  unsigned long max_cores_per_task = 1,
125  bool enforce_num_cores = false);
126 
127  };
128 
129 };
130 
131 
132 #endif //WRENCH_PEGASUSWORKFLOWPARSER_H
Definition: Alarm.cpp:20
A workflow (to be executed by a WMS)
Definition: Workflow.h:34
static Workflow * createExecutableWorkflowFromJSON(const std::string &filename, const std::string &reference_flop_rate, bool redundant_dependencies=false, unsigned long min_cores_per_task=1, unsigned long max_cores_per_task=1, bool enforce_num_cores=false)
Create an NON-abstract workflow based on a JSON file.
static Workflow * createWorkflowFromJSON(const std::string &filename, const std::string &reference_flop_rate, bool redundant_dependencies=false, unsigned long min_cores_per_task=1, unsigned long max_cores_per_task=1, bool enforce_num_cores=false)
Create an abstract workflow based on a JSON file.
static Workflow * createWorkflowFromDAX(const std::string &filename, const std::string &reference_flop_rate, bool redundant_dependencies=false, unsigned long min_cores_per_task=1, unsigned long max_cores_per_task=1, bool enforce_num_cores=false)
Create an abstract workflow based on a DAX file.
A class that implement methods to read workflow files provided by the Pegasus project.
Definition: PegasusWorkflowParser.h:23