WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
WfCommonsWorkflowParser.h
1 
10 #ifndef WRENCH_WFCOMMONSWORKFLOWPARSER_H
11 #define WRENCH_WFCOMMONSWORKFLOWPARSER_H
12 
13 #include <string>
14 #include <memory>
15 
16 namespace wrench {
17 
18  class Workflow;
19 
25 
26  public:
27 
56  static std::shared_ptr<Workflow> createWorkflowFromJSON(const std::string &filename, const std::string &reference_flop_rate,
57  bool redundant_dependencies = false,
58  unsigned long min_cores_per_task = 1,
59  unsigned long max_cores_per_task = 1,
60  bool enforce_num_cores = false);
61 
89  static std::shared_ptr<Workflow> createExecutableWorkflowFromJSON(const std::string &filename, const std::string &reference_flop_rate,
90  bool redundant_dependencies = false,
91  unsigned long min_cores_per_task = 1,
92  unsigned long max_cores_per_task = 1,
93  bool enforce_num_cores = false);
94 
95  };
96 
97 };
98 
99 
100 #endif //WRENCH_WFCOMMONSWORKFLOWPARSER_H
wrench::WfCommonsWorkflowParser
A class that implement methods to read workflow files provided by the WfCommons project.
Definition: WfCommonsWorkflowParser.h:24
wrench::WfCommonsWorkflowParser::createExecutableWorkflowFromJSON
static std::shared_ptr< 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.
wrench
Definition: Action.cpp:28
wrench::WfCommonsWorkflowParser::createWorkflowFromJSON
static std::shared_ptr< 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.