|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Demographic prospects module interface. More...
#include <interfaces.h>
Public Member Functions | |
| virtual std::size_t | get_total_population_size (int time_year) const noexcept=0 |
| Gets the total population at a specific point in time. More... | |
| virtual const std::map< int, PopulationRecord > & | get_population_distribution (int time_year) const =0 |
| Gets the population age distribution at a specific point in time. More... | |
| virtual void | update_population (RuntimeContext &context, const DiseaseHostModule &disease_host)=0 |
| Updates the virtual population status. More... | |
Public Member Functions inherited from hgps::SimulationModule | |
| virtual | ~SimulationModule ()=default |
| Destroys a SimulationModule instance. More... | |
| virtual SimulationModuleType | type () const noexcept=0 |
| Gets the module type identifier. More... | |
| virtual const std::string & | name () const noexcept=0 |
| Gets the module name. More... | |
| virtual void | initialise_population (RuntimeContext &context)=0 |
| Initialises the virtual population. More... | |
Demographic prospects module interface.
|
pure virtual |
Gets the population age distribution at a specific point in time.
| time_year | The reference point in time (in year) |
Implemented in hgps::PopulationModule.
|
pure virtualnoexcept |
Gets the total population at a specific point in time.
| time_year | The reference point in time (in year) |
Implemented in hgps::PopulationModule.
|
pure virtual |
Updates the virtual population status.
| context | The simulation run-time context |
| disease_host | The diseases host module instance |
Implemented in hgps::PopulationModule.