Antares Xpansion
Investment simulations for Antares studies
|
Class that reads a json file describing an antares-xpansion solution. More...
#include <JsonXpansionReader.h>
Public Member Functions | |
JsonXpansionReader () | |
JsonXpansionReader default constructor. | |
virtual | ~JsonXpansionReader ()=default |
JsonWriter default destructor. | |
void | read (const std::filesystem::path &filename_p) |
reads a json file describing the execution of an antares xpansion optimisation and populates the jsonXpansionReader class attributes with the data from the file | |
int | getBestIteration () const |
returns the index of the best iteration indicated in the json output file | |
int | getLastIteration () const |
returns the index of the last iteration indicated in the json output file | |
Point | getSolutionPoint () const |
returns the solution to the xpansion problem indicated in the json output file | |
Class that reads a json file describing an antares-xpansion solution.
int JsonXpansionReader::getBestIteration | ( | ) | const |
returns the index of the best iteration indicated in the json output file
int JsonXpansionReader::getLastIteration | ( | ) | const |
returns the index of the last iteration indicated in the json output file
void JsonXpansionReader::read | ( | const std::filesystem::path & | filename_p | ) |
reads a json file describing the execution of an antares xpansion optimisation and populates the jsonXpansionReader class attributes with the data from the file
filename_p | name of the json file to read from |