Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
hgps::SESNoiseModule Class Referencefinal

Implements the socio-economic status (SES) module. More...

#include <ses_noise_module.h>

Inheritance diagram for hgps::SESNoiseModule:
[legend]
Collaboration diagram for hgps::SESNoiseModule:
[legend]

Public Member Functions

 SESNoiseModule ()
 Initialise a new instance of the SESNoiseModule class. More...
 
 SESNoiseModule (const std::vector< double > &parameters)
 Initialise a new instance of the SESNoiseModule class. More...
 
 SESNoiseModule (std::string function, const std::vector< double > &parameters)
 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...
 
- Public Member Functions inherited from hgps::SimulationModule
virtual ~SimulationModule ()=default
 Destroys a SimulationModule instance. More...
 

Detailed Description

Implements the socio-economic status (SES) module.

Constructor & Destructor Documentation

◆ SESNoiseModule() [1/3]

hgps::SESNoiseModule::SESNoiseModule ( )

Initialise a new instance of the SESNoiseModule class.

◆ SESNoiseModule() [2/3]

hgps::SESNoiseModule::SESNoiseModule ( const std::vector< double > &  parameters)

Initialise a new instance of the SESNoiseModule class.

Parameters
parametersThe model function parameters
Exceptions
std::invalid_argumentfor number of parameters mismatch.

◆ SESNoiseModule() [3/3]

hgps::SESNoiseModule::SESNoiseModule ( std::string  function,
const std::vector< double > &  parameters 
)

Initialise a new instance of the SESNoiseModule class.

Parameters
functionThe model function identifier
parametersThe model function parameters
Exceptions
std::invalid_argumentfor unknown model function or number of parameters mismatch.
Here is the call graph for this function:

Member Function Documentation

◆ initialise_population()

void hgps::SESNoiseModule::initialise_population ( RuntimeContext context)
overridevirtual

Initialises the virtual population.

Parameters
contextThe simulation shared runtime context instance

Implements hgps::SimulationModule.

Here is the call graph for this function:

◆ name()

const std::string & hgps::SESNoiseModule::name ( ) const
overridevirtualnoexcept

Gets the module name.

Returns
The human-readable module name

Implements hgps::SimulationModule.

◆ type()

SimulationModuleType hgps::SESNoiseModule::type ( ) const
overridevirtualnoexcept

Gets the module type identifier.

Returns
The module type identifier

Implements hgps::SimulationModule.

◆ update_population()

void hgps::SESNoiseModule::update_population ( RuntimeContext context)
overridevirtual

Updates the virtual population status.

Parameters
contextThe simulation run-time context

Implements hgps::UpdatableModule.

Here is the call graph for this function:

The documentation for this class was generated from the following files: