Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
hgps::JacardiModelUpdate Class Referencefinal

#include <jacardi_model_update.h>

Inheritance diagram for hgps::JacardiModelUpdate:
[legend]
Collaboration diagram for hgps::JacardiModelUpdate:
[legend]

Public Member Functions

 JacardiModelUpdate (std::shared_ptr< const EducationLifecycleTables > education, std::shared_ptr< const EmploymentStaticTables > employment)
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
 Init is owned by JacardiModel — nothing to do here.
void update_risk_factors (RuntimeContext &context) override
 Part B for every active person after ageing (education then employment).
Public Member Functions inherited from hgps::RiskFactorModel
virtual ~RiskFactorModel ()=default
 Destroys a RiskFactorModel instance.

Detailed Description

MAHIMA: JACARDI dynamic / yearly pathway (ModelName: JacardiModelUpdate). Opt-in: Education Part B and/or Employment Part B (first draw + temporary hold).

Constructor & Destructor Documentation

◆ JacardiModelUpdate()

hgps::JacardiModelUpdate::JacardiModelUpdate ( std::shared_ptr< const EducationLifecycleTables > education,
std::shared_ptr< const EmploymentStaticTables > employment )

Member Function Documentation

◆ generate_risk_factors()

void hgps::JacardiModelUpdate::generate_risk_factors ( RuntimeContext & context)
overridevirtual

Init is owned by JacardiModel — nothing to do here.

Implements hgps::RiskFactorModel.

◆ name()

std::string hgps::JacardiModelUpdate::name ( ) const
overridevirtualnoexcept

Gets the model name.

Returns
The human-readable model name

Implements hgps::RiskFactorModel.

◆ type()

RiskFactorModelType hgps::JacardiModelUpdate::type ( ) const
overridevirtualnoexcept

Gets the model type identifier.

Returns
The module type identifier

Implements hgps::RiskFactorModel.

◆ update_risk_factors()

void hgps::JacardiModelUpdate::update_risk_factors ( RuntimeContext & context)
overridevirtual

Part B for every active person after ageing (education then employment).

Implements hgps::RiskFactorModel.

Here is the call graph for this function:

The documentation for this class was generated from the following files: