Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Generic disease module interface to host multiple disease models. More...
#include <interfaces.h>
Public Member Functions | |
virtual std::size_t | size () const noexcept=0 |
Gets the number of diseases model hosted. More... | |
virtual bool | contains (const core::Identifier &disease_id) const noexcept=0 |
Indicates whether the host contains an disease identified by code. More... | |
virtual double | get_excess_mortality (const core::Identifier &disease_id, const Person &entity) const noexcept=0 |
Gets the mortality rate associated with a disease for an individual. More... | |
![]() | |
virtual void | update_population (RuntimeContext &context)=0 |
Updates the virtual population status. More... | |
![]() | |
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... | |
Generic disease module interface to host multiple disease models.
|
pure virtualnoexcept |
Indicates whether the host contains an disease identified by code.
disease_id | The disease unique identifier |
Implemented in hgps::DiseaseModule.
|
pure virtualnoexcept |
Gets the mortality rate associated with a disease for an individual.
disease_id | The disease unique identifier |
entity | The entity associated with the mortality value |
Implemented in hgps::DiseaseModule.
|
pure virtualnoexcept |
Gets the number of diseases model hosted.
Implemented in hgps::DiseaseModule.