|
std::string | host::get_time_now_str () |
| Get a string representation of current system time. More...
|
|
cxxopts::Options | host::create_options () |
| Creates the command-line interface (CLI) options. More...
|
|
void | host::print_app_title () |
| Prints application start-up messages. More...
|
|
CommandOptions | host::parse_arguments (cxxopts::Options &options, int &argc, char *argv[]) |
| Parses the command-line interface (CLI) arguments. More...
|
|
Configuration | host::load_configuration (CommandOptions &options) |
| Loads the input configuration file, *.json, information. More...
|
|
bool | host::create_output_folder (std::filesystem::path folder_path, unsigned int num_retries=3) |
| Creates the configuration output folder for result files. More...
|
|
std::vector< core::DiseaseInfo > | host::get_diseases_info (hgps::core::Datastore &data_api, Configuration &config) |
| Gets the collection of diseases that matches the selected input list. More...
|
|
ModelInput | host::create_model_input (core::DataTable &input_table, core::Country country, Configuration &config, std::vector< core::DiseaseInfo > diseases) |
|
std::string | host::create_output_file_name (const poco::OutputInfo &info, int job_id) |
| Creates the full output file name from user input configuration. More...
|
|
ResultFileWriter | host::create_results_file_logger (const Configuration &config, const hgps::ModelInput &input) |
| Creates the simulation results file logger instance. More...
|
|
std::unique_ptr< hgps::Scenario > | host::create_baseline_scenario (hgps::SyncChannel &channel) |
| Creates the baseline scenario instance. More...
|
|
hgps::HealthGPS | host::create_baseline_simulation (hgps::SyncChannel &channel, hgps::SimulationModuleFactory &factory, hgps::EventAggregator &event_bus, hgps::ModelInput &input) |
| Creates the baseline simulation engine instance. More...
|
|
hgps::HealthGPS | host::create_intervention_simulation (hgps::SyncChannel &channel, hgps::SimulationModuleFactory &factory, hgps::EventAggregator &event_bus, hgps::ModelInput &input, const poco::PolicyScenarioInfo &info) |
| Creates the intervention simulation engine instance. More...
|
|
std::unique_ptr< hgps::InterventionScenario > | host::create_intervention_scenario (hgps::SyncChannel &channel, const poco::PolicyScenarioInfo &info) |
| Creates the intervention scenario instance. More...
|
|
std::string | host::expand_environment_variables (const std::string &path) |
| Expand environment variables in path to respective values. More...
|
|
std::optional< unsigned int > | host::create_job_seed (int job_id, std::optional< unsigned int > user_seed) |
| Creates the experiment random number generator seed. More...
|
|