4#include <json/reader.h>
15 typedef std::map<std::string, double> Point;
42 void read(
const std::filesystem::path& filename_p);
Class that reads a json file describing an antares-xpansion solution.
Definition JsonXpansionReader.h:13
int getBestIteration() const
returns the index of the best iteration indicated in the json output file
Definition JsonXpansionReader.cpp:32
JsonXpansionReader()
JsonXpansionReader default constructor.
Definition JsonXpansionReader.cpp:7
virtual ~JsonXpansionReader()=default
JsonWriter default destructor.
int getLastIteration() const
returns the index of the last iteration indicated in the json output file
Definition JsonXpansionReader.cpp:37
void read(const std::filesystem::path &filename_p)
reads a json file describing the execution of an antares xpansion optimisation and populates the json...
Definition JsonXpansionReader.cpp:12
Point getSolutionPoint() const
returns the solution to the xpansion problem indicated in the json output file
Definition JsonXpansionReader.cpp:42