|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Implements the static hierarchical linear model type. More...
#include <hierarchical_model_static.h>
Public Member Functions | |
| StaticHierarchicalLinearModel (const std::unordered_map< core::Identifier, LinearModel > &models, const std::map< int, HierarchicalLevel > &levels) | |
| Initialises a new instance of the StaticHierarchicalLinearModel class. More... | |
| HierarchicalModelType | type () const noexcept override |
| Gets the model type identifier. More... | |
| std::string | name () const noexcept override |
| Gets the model name. More... | |
| void | generate_risk_factors (RuntimeContext &context) override |
| Generates the initial risk factors for a population and newborns. More... | |
| void | update_risk_factors (RuntimeContext &context) override |
| Update risk factors for population. More... | |
Public Member Functions inherited from hgps::HierarchicalLinearModel | |
| virtual | ~HierarchicalLinearModel ()=default |
| Destroys a HierarchicalLinearModel instance. More... | |
Implements the static hierarchical linear model type.
The static model is used to initialise the virtual population, the model uses principal component analysis for residual normalisation.
| hgps::StaticHierarchicalLinearModel::StaticHierarchicalLinearModel | ( | const std::unordered_map< core::Identifier, LinearModel > & | models, |
| const std::map< int, HierarchicalLevel > & | levels | ||
| ) |
Initialises a new instance of the StaticHierarchicalLinearModel class.
| models | The model equations |
| levels | The hierarchical model level definition |
|
overridevirtual |
Generates the initial risk factors for a population and newborns.
| context | The simulation run-time context |
Implements hgps::HierarchicalLinearModel.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
Gets the model type identifier.
Implements hgps::HierarchicalLinearModel.
|
overridevirtual |
Update risk factors for population.
| context | The simulation run-time context |
Implements hgps::HierarchicalLinearModel.