|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
Risk factor adjustable model definition interface. More...
#include <risk_factor_adjustable_model.h>
Public Member Functions | |
| ~RiskFactorAdjustableModelDefinition () override=default | |
| Destroys a RiskFactorAdjustableModelDefinition instance. | |
| RiskFactorAdjustableModelDefinition (std::unique_ptr< RiskFactorSexAgeTable > expected, std::unique_ptr< std::unordered_map< core::Identifier, double > > expected_trend, std::unique_ptr< std::unordered_map< core::Identifier, int > > trend_steps, TrendType trend_type=TrendType::Null) | |
| Constructs a new RiskFactorAdjustableModelDefinition instance. | |
Public Member Functions inherited from hgps::RiskFactorModelDefinition | |
| virtual | ~RiskFactorModelDefinition ()=default |
| Destroys a RiskFactorModelDefinition instance. | |
| virtual std::unique_ptr< RiskFactorModel > | create_model () const =0 |
| Creates a new risk factor model from this definition. | |
Protected Attributes | |
| std::shared_ptr< RiskFactorSexAgeTable > | expected_ |
| std::shared_ptr< std::unordered_map< core::Identifier, double > > | expected_trend_ |
| std::shared_ptr< std::unordered_map< core::Identifier, int > > | trend_steps_ |
| TrendType | trend_type_ |
Risk factor adjustable model definition interface.
|
overridedefault |
Destroys a RiskFactorAdjustableModelDefinition instance.
| hgps::RiskFactorAdjustableModelDefinition::RiskFactorAdjustableModelDefinition | ( | std::unique_ptr< RiskFactorSexAgeTable > | expected, |
| std::unique_ptr< std::unordered_map< core::Identifier, double > > | expected_trend, | ||
| std::unique_ptr< std::unordered_map< core::Identifier, int > > | trend_steps, | ||
| TrendType | trend_type = TrendType::Null |
||
| ) |
Constructs a new RiskFactorAdjustableModelDefinition instance.
| expected | The expected risk factor values by sex and age |
| expected_trend | The expected trend of risk factor values |
| trend_steps | The number of time steps to apply the trend |
| trend_type | The type of trend to apply (optional, defaults to Null) |
| HgpsException | for invalid arguments |
|
protected |
|
protected |
|
protected |
|
protected |