15 #ifndef CORE_MULTI_SIMULATION_MULTI_SIMULATION_H_
16 #define CORE_MULTI_SIMULATION_MULTI_SIMULATION_H_
27 namespace experimental {
29 using experimental::TimeSeries;
32 using TSimulate = std::function<void(
int,
const char**, TimeSeries*, Param*)>;
34 class MultiSimulation {
36 MultiSimulation(
int argc,
const char** argv);
38 MultiSimulation(
int argc,
const char** argv, TimeSeries* real);
42 void DeleteResultFiles(
const std::string& dir);
44 void MergeResultFiles(
const std::string& dir);
46 int Execute(
const TSimulate& simulate_call);
50 const char** argv_ =
nullptr;
51 char** argv_copy_ =
nullptr;
59 #endif // CORE_MULTI_SIMULATION_MULTI_SIMULATION_H_