|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Health-GPS scripted intervention policy scenario interface. More...
#include <intervention_scenario.h>
Public Member Functions | |
| virtual const PolicyInterval & | active_period () const noexcept=0 |
| Gets the intervention active period. More... | |
| virtual const std::vector< PolicyImpact > & | impacts () const noexcept=0 |
| Gets the intervention impacts by risk factor and age range. More... | |
| ScenarioType | type () const noexcept override |
| Gets the scenario type identifier. More... | |
| const std::string & | name () const noexcept override |
| Gets the scenario type name. More... | |
Public Member Functions inherited from hgps::Scenario | |
| virtual | ~Scenario ()=default |
| Destroys a Scenario instance. More... | |
| virtual SyncChannel & | channel ()=0 |
| Gets the Scenario communication channel. More... | |
| virtual void | clear () noexcept=0 |
| Clear the scenario log book data. More... | |
| virtual double | apply (Random &generator, Person &entity, int time, const core::Identifier &risk_factor_key, double value)=0 |
| Applies this Scenario to the Person instance. More... | |
Health-GPS scripted intervention policy scenario interface.
The intervention scenario interface must be implemented by all intervention policies, the interface identify the type as ScenarioType::intervention and name, and extends the Scenario with common intervention properties: active period and impacts.
|
pure virtualnoexcept |
Gets the intervention active period.
Implemented in hgps::SimplePolicyScenario, hgps::PhysicalActivityScenario, hgps::MarketingPolicyScenario, hgps::MarketingDynamicScenario, hgps::FoodLabellingScenario, and hgps::FiscalPolicyScenario.
|
pure virtualnoexcept |
Gets the intervention impacts by risk factor and age range.
Implemented in hgps::SimplePolicyScenario, hgps::PhysicalActivityScenario, hgps::MarketingPolicyScenario, hgps::MarketingDynamicScenario, hgps::FoodLabellingScenario, and hgps::FiscalPolicyScenario.
|
inlineoverridevirtualnoexcept |
|
inlineoverridevirtualnoexcept |