|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the dummy risk factor model type. More...
#include <dummy_model.h>
Public Member Functions | |
| DummyModelDefinition (RiskFactorModelType type, std::vector< core::Identifier > names, std::vector< double > values, std::vector< double > policy, std::vector< int > policy_start) | |
| Initialises a new instance of the DummyModelFactory class. | |
| std::unique_ptr< RiskFactorModel > | create_model () const override |
| Construct a new DummyModel from this definition. | |
Public Member Functions inherited from hgps::RiskFactorModelDefinition | |
| virtual | ~RiskFactorModelDefinition ()=default |
| Destroys a RiskFactorModelDefinition instance. | |
Defines the dummy risk factor model type.
| hgps::DummyModelDefinition::DummyModelDefinition | ( | RiskFactorModelType | type, |
| std::vector< core::Identifier > | names, | ||
| std::vector< double > | values, | ||
| std::vector< double > | policy, | ||
| std::vector< int > | policy_start | ||
| ) |
Initialises a new instance of the DummyModelFactory class.
| type | Risk factor model type |
| names | Risk factor names |
| values | Constant values to set risk factors to |
| policy | Risk factor policy in intervention scenario |
| policy_start | Policy start (in years since the start of the simulation) |
|
overridevirtual |
Construct a new DummyModel from this definition.
Implements hgps::RiskFactorModelDefinition.