Add folder parameter to best, grid and main
This commit is contained in:
@@ -231,6 +231,7 @@ void experiment(argparse::ArgumentParser& program)
|
||||
{
|
||||
struct platform::ConfigGrid config;
|
||||
auto arguments = platform::ArgumentsExperiment(program, platform::experiment_t::GRID);
|
||||
auto path_results = arguments.getPathResults();
|
||||
arguments.parse();
|
||||
auto grid_experiment = platform::GridExperiment(arguments, config);
|
||||
platform::Timer timer;
|
||||
@@ -250,7 +251,7 @@ void experiment(argparse::ArgumentParser& program)
|
||||
auto duration = timer.getDuration();
|
||||
experiment.setDuration(duration);
|
||||
if (grid_experiment.haveToSaveResults()) {
|
||||
experiment.saveResult();
|
||||
experiment.saveResult(path_results);
|
||||
}
|
||||
experiment.report();
|
||||
std::cout << "Process took " << duration << std::endl;
|
||||
|
Reference in New Issue
Block a user