Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
StudyUpdateRunner.h
1#ifndef ANTARES_XPANSION_SRC_CPP_STUDY_UPDATER_STUDYUPDATERUNNER_H
2#define ANTARES_XPANSION_SRC_CPP_STUDY_UPDATER_STUDYUPDATERUNNER_H
3#include <filesystem>
4#include <fstream>
5#include <iostream>
6#include <sstream>
7
8#include <boost/program_options.hpp>
9
10#include "antares-xpansion/helpers/OptionsParser.h"
11#include "antares-xpansion/lpnamer/input_reader/CandidatesINIReader.h"
12#include "antares-xpansion/lpnamer/input_reader/LinkProfileReader.h"
13#include "antares-xpansion/lpnamer/model/ActiveLinks.h"
14#include "antares-xpansion/lpnamer/problem_modifier/LauncherHelpers.h"
15#include "antares-xpansion/study-updater/StudyUpdater.h"
16
18{
19private:
20 std::filesystem::path xpansion_output_dir_;
21 std::filesystem::path solution_file_;
22
23public:
25 virtual ~StudyUpdaterExeOptions() = default;
26
27 std::filesystem::path SolutionFile() const
28 {
29 return solution_file_;
30 }
31
32 std::filesystem::path XpansionOutputDir() const
33 {
34 return xpansion_output_dir_;
35 }
36};
37
38void updateStudy(const std::filesystem::path& rootPath_p,
39 const std::vector<ActiveLink>& links_p,
40 const std::filesystem::path& jsonPath_l,
41 std::shared_ptr<ProblemGenerationLog::ProblemGenerationLogger> logger);
42#endif // ANTARES_XPANSION_SRC_CPP_STUDY_UPDATER_STUDYUPDATERUNNER_H
Definition OptionsParser.h:12
Definition StudyUpdateRunner.h:18