Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the simulation experiment settings data type. More...
#include <settings.h>
Public Member Functions | |
Settings (const core::Country &country, const float size_fraction, const core::IntegerInterval &age_range) | |
Initialises a new instance of the Settings class. More... | |
const core::Country & | country () const noexcept |
Gets the experiment target country information. More... | |
const float & | size_fraction () const noexcept |
The virtual population fraction from the real population size in range (0, 1]. More... | |
const core::IntegerInterval & | age_range () const noexcept |
The experiment population age range constraint. More... | |
Defines the simulation experiment settings data type.
hgps::Settings::Settings | ( | const core::Country & | country, |
const float | size_fraction, | ||
const core::IntegerInterval & | age_range | ||
) |
Initialises a new instance of the Settings class.
country | Target country population |
size_fraction | Virtual population fraction of the real population |
age_range | Allowed age range in the population |
std::out_of_range | for size fraction value outside of the range (0, 1]. |
|
noexcept |
The experiment population age range constraint.
|
noexcept |
Gets the experiment target country information.
|
noexcept |
The virtual population fraction from the real population size in range (0, 1].