Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the standard diseases (non-cancer) model data type. More...
#include <default_disease_model.h>
Public Member Functions | |
DefaultDiseaseModel ()=delete | |
DefaultDiseaseModel (DiseaseDefinition &definition, WeightModel &&classifier, const core::IntegerInterval &age_range) | |
Initialise a new instance of the DefaultDiseaseModel class. More... | |
core::DiseaseGroup | group () const noexcept override |
Gets the disease group. More... | |
const core::Identifier & | disease_type () const noexcept override |
Gets the model disease type unique identifier. More... | |
void | initialise_disease_status (RuntimeContext &context) override |
Initialises the population disease status. More... | |
void | initialise_average_relative_risk (RuntimeContext &context) override |
Initialises the average relative risks once all diseases status were initialised. More... | |
void | update_disease_status (RuntimeContext &context) override |
Updates the disease cases remission and incidence in the population. More... | |
double | get_excess_mortality (const Person &entity) const noexcept override |
Gets the excess mortality associated with a disease for an individual. More... | |
![]() | |
virtual | ~DiseaseModel ()=default |
Destroys a DiseaseModel instance. More... | |
Defines the standard diseases (non-cancer) model data type.
|
delete |
hgps::DefaultDiseaseModel::DefaultDiseaseModel | ( | DiseaseDefinition & | definition, |
WeightModel && | classifier, | ||
const core::IntegerInterval & | age_range | ||
) |
Initialise a new instance of the DefaultDiseaseModel class.
definition | The disease definition instance |
classifier | The body weight classification model instance |
age_range | The valid age range for model dataset |
|
overridevirtualnoexcept |
Gets the model disease type unique identifier.
Implements hgps::DiseaseModel.
|
overridevirtualnoexcept |
Gets the excess mortality associated with a disease for an individual.
entity | The entity associated with the mortality rate |
Implements hgps::DiseaseModel.
|
overridevirtualnoexcept |
|
overridevirtual |
Initialises the average relative risks once all diseases status were initialised.
context | The simulation run-time context |
Implements hgps::DiseaseModel.
|
overridevirtual |
Initialises the population disease status.
context | The simulation run-time context |
Implements hgps::DiseaseModel.
|
overridevirtual |
Updates the disease cases remission and incidence in the population.
context | The simulation run-time context |
Implements hgps::DiseaseModel.