|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
Risk factor model interface. More...
#include <risk_factor_model.h>
Public Member Functions | |
| virtual | ~RiskFactorModel ()=default |
| Destroys a RiskFactorModel instance. | |
| virtual RiskFactorModelType | type () const noexcept=0 |
| Gets the model type identifier. | |
| virtual std::string | name () const noexcept=0 |
| Gets the model name. | |
| virtual void | generate_risk_factors (RuntimeContext &context)=0 |
| Generates the initial risk factors for a population and newborns. | |
| virtual void | update_risk_factors (RuntimeContext &context)=0 |
| Update risk factors for population. | |
Risk factor model interface.
|
virtualdefault |
Destroys a RiskFactorModel instance.
|
pure virtual |
Generates the initial risk factors for a population and newborns.
| context | The simulation run-time context |
Implemented in hgps::DummyModel, hgps::DynamicHierarchicalLinearModel, hgps::KevinHallModel, hgps::StaticHierarchicalLinearModel, and hgps::StaticLinearModel.
|
pure virtualnoexcept |
Gets the model name.
Implemented in hgps::DummyModel, hgps::DynamicHierarchicalLinearModel, hgps::KevinHallModel, hgps::StaticHierarchicalLinearModel, and hgps::StaticLinearModel.
|
pure virtualnoexcept |
Gets the model type identifier.
Implemented in hgps::DummyModel, hgps::DynamicHierarchicalLinearModel, hgps::KevinHallModel, hgps::StaticHierarchicalLinearModel, and hgps::StaticLinearModel.
|
pure virtual |
Update risk factors for population.
| context | The simulation run-time context |
Implemented in hgps::DummyModel, hgps::DynamicHierarchicalLinearModel, hgps::KevinHallModel, hgps::StaticHierarchicalLinearModel, and hgps::StaticLinearModel.