Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the model results data type. More...
#include <model_result.h>
Public Member Functions | |
ModelResult ()=delete | |
ModelResult (const unsigned int sample_size) | |
Initialises a new instance of the ModelResult structure. More... | |
std::string | to_string () const noexcept |
Gets a string representation of this instance. More... | |
int | number_of_recyclable () const noexcept |
Gets the number of recycled population slots due to deaths and emigration. More... | |
Public Attributes | |
int | population_size {} |
Total population size. More... | |
IntegerGenderValue | number_alive {} |
The number of people alive in the population. More... | |
int | number_dead {} |
The number of dead in the population. More... | |
int | number_emigrated {} |
The number of emigrants in the population. More... | |
ResultByGender | average_age {} |
Average age of the population. More... | |
DALYsIndicator | indicators {} |
The DALYs indicator. More... | |
std::map< std::string, ResultByGender > | risk_ractor_average {} |
Average risk factors value in population. More... | |
std::map< std::string, ResultByGender > | disease_prevalence {} |
Average diseases prevalence value in population. More... | |
std::map< unsigned int, ResultByGender > | comorbidity {} |
Average comorbidity in population. More... | |
std::map< std::string, double > | metrics {} |
Simulation runtime metrics. More... | |
DataSeries | series |
The detailed time series data results. More... | |
Defines the model results data type.
|
delete |
hgps::ModelResult::ModelResult | ( | const unsigned int | sample_size | ) |
Initialises a new instance of the ModelResult structure.
sample_size | The results sample size value |
|
noexcept |
Gets the number of recycled population slots due to deaths and emigration.
|
noexcept |
Gets a string representation of this instance.
ResultByGender hgps::ModelResult::average_age {} |
Average age of the population.
std::map<unsigned int, ResultByGender> hgps::ModelResult::comorbidity {} |
Average comorbidity in population.
std::map<std::string, ResultByGender> hgps::ModelResult::disease_prevalence {} |
Average diseases prevalence value in population.
DALYsIndicator hgps::ModelResult::indicators {} |
The DALYs indicator.
std::map<std::string, double> hgps::ModelResult::metrics {} |
Simulation runtime metrics.
IntegerGenderValue hgps::ModelResult::number_alive {} |
The number of people alive in the population.
int hgps::ModelResult::number_dead {} |
The number of dead in the population.
int hgps::ModelResult::number_emigrated {} |
The number of emigrants in the population.
int hgps::ModelResult::population_size {} |
Total population size.
std::map<std::string, ResultByGender> hgps::ModelResult::risk_ractor_average {} |
Average risk factors value in population.
DataSeries hgps::ModelResult::series |
The detailed time series data results.