19 static void saveStatisticTo(
const std::string &fileName,
const std::vector<ss::types::Cycle> &cycles);
21 static void saveStatisticTo(
const std::vector<ss::types::Cycle> &cycles);
23 static std::vector<ss::types::Cycle>
getStatisticFrom(
const std::string &fileName);
Definition: statistics_store.h:12
static std::vector< ss::types::Cycle > getStatisticFrom(const std::string &fileName)
Getter a statistic data function.
Definition: statistics_store.cpp:102
static void saveStatisticTo(const std::string &fileName, const std::vector< ss::types::Cycle > &cycles)
Save generation data into a .json file.
Definition: statistics_store.cpp:72
static std::string getFolderPath()
Get the appropriate folder path for current directory.
Definition: statistics_store.cpp:31
static std::vector< std::string > getStatisticsNames()
Getter files names' function.
Definition: statistics_store.cpp:50
Definition: statistics_store.h:10
Definition: statistics_store.h:28
void from_json(const json &j, ss::types::Trait &trait)
Definition: statistics_store.cpp:11
void to_json(json &j, const ss::types::Trait &trait)
Definition: statistics_store.cpp:6
nlohmann::json json
Definition: statistics_store.h:7
A struct holding the data for a cycle.
Definition: simulation_data.h:46
A struct holding the data for a trait.
Definition: simulation_data.h:26