Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Implements the socio-economic status (SES) module. More...
#include <ses_noise_module.h>
Public Member Functions | |
SESNoiseModule () | |
Initialise a new instance of the SESNoiseModule class. More... | |
SESNoiseModule (const std::vector< double > ¶meters) | |
Initialise a new instance of the SESNoiseModule class. More... | |
SESNoiseModule (std::string function, const std::vector< double > ¶meters) | |
Initialise a new instance of the SESNoiseModule class. More... | |
SimulationModuleType | type () const noexcept override |
Gets the module type identifier. More... | |
const std::string & | name () const noexcept override |
Gets the module name. More... | |
void | initialise_population (RuntimeContext &context) override |
Initialises the virtual population. More... | |
void | update_population (RuntimeContext &context) override |
Updates the virtual population status. More... | |
![]() | |
virtual | ~SimulationModule ()=default |
Destroys a SimulationModule instance. More... | |
Implements the socio-economic status (SES) module.
hgps::SESNoiseModule::SESNoiseModule | ( | ) |
Initialise a new instance of the SESNoiseModule class.
hgps::SESNoiseModule::SESNoiseModule | ( | const std::vector< double > & | parameters | ) |
Initialise a new instance of the SESNoiseModule class.
parameters | The model function parameters |
std::invalid_argument | for number of parameters mismatch. |
hgps::SESNoiseModule::SESNoiseModule | ( | std::string | function, |
const std::vector< double > & | parameters | ||
) |
Initialise a new instance of the SESNoiseModule class.
function | The model function identifier |
parameters | The model function parameters |
std::invalid_argument | for unknown model function or number of parameters mismatch. |
|
overridevirtual |
Initialises the virtual population.
context | The simulation shared runtime context instance |
Implements hgps::SimulationModule.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Gets the module type identifier.
Implements hgps::SimulationModule.
|
overridevirtual |
Updates the virtual population status.
context | The simulation run-time context |
Implements hgps::UpdatableModule.