|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
Implements the static hierarchical linear model type. More...
#include <static_hierarchical_linear_model.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. | |
| RiskFactorModelType | type () const noexcept override |
| Gets the model type identifier. | |
| std::string | name () const noexcept override |
| Gets the model name. | |
| void | generate_risk_factors (RuntimeContext &context) override |
| Generates the initial risk factors for a population and newborns. | |
| void | update_risk_factors (RuntimeContext &context) override |
| Update risk factors for population. | |
Public Member Functions inherited from hgps::RiskFactorModel | |
| virtual | ~RiskFactorModel ()=default |
| Destroys a RiskFactorModel instance. | |
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::RiskFactorModel.
|
overridevirtualnoexcept |
|
overridevirtualnoexcept |
|
overridevirtual |
Update risk factors for population.
| context | The simulation run-time context |
Implements hgps::RiskFactorModel.