Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
model_info.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <fmt/format.h>
4 #include <string>
5 
6 namespace host {
8 struct ExperimentInfo {
10  std::string model;
11 
13  std::string version;
14 
16  std::string intervention;
17 
19  int job_id{};
20 
22  unsigned int seed{};
23 
26  std::string to_string() const noexcept {
27  return fmt::format("{} v{} - {} job_id: {} seed: {}", model, version, intervention, job_id,
28  seed);
29  }
30 };
31 } // namespace host
Top-level namespace for Health-GPS Console host application.
Definition: configuration.cpp:31
Simulation experiment run-time information for reproducibility.
Definition: model_info.h:8
std::string intervention
Intervention scenario identifier.
Definition: model_info.h:16
unsigned int seed
Simulation initialisation seed value.
Definition: model_info.h:22
std::string model
The model name.
Definition: model_info.h:10
int job_id
Simulation batch job identifier.
Definition: model_info.h:19
std::string to_string() const noexcept
Creates a string representation of this instance.
Definition: model_info.h:26
std::string version
The model version.
Definition: model_info.h:13