|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
Implements the burden of diseases (BoD) analysis module. More...
#include <analysis_module.h>
Public Member Functions | |
| AnalysisModule ()=delete | |
| AnalysisModule (AnalysisDefinition &&definition, WeightModel &&classifier, const core::IntegerInterval age_range, unsigned int comorbidities) | |
| Initialises a new instance of the AnalysisModule class. | |
| AnalysisModule (AnalysisDefinition &&definition, WeightModel &&classifier, core::IntegerInterval age_range, unsigned int comorbidities, std::vector< double > calculated_factors) | |
| Initialises a new instance of the AnalysisModule class. | |
| SimulationModuleType | type () const noexcept override |
| Gets the module type identifier. | |
| const std::string & | name () const noexcept override |
| Gets the module name. | |
| void | initialise_population (RuntimeContext &context) override |
| Initialises the virtual population. | |
| void | update_population (RuntimeContext &context) override |
| Updates the virtual population status. | |
| void | set_income_analysis_enabled (bool enabled) noexcept |
| Sets whether income-based analysis is enabled. | |
| void | set_individual_id_tracking_config (std::optional< hgps::input::IndividualIdTrackingConfig > config) noexcept |
| MAHIMA: Sets optional individual ID tracking config for per-person CSV output. | |
Public Member Functions inherited from hgps::SimulationModule | |
| virtual | ~SimulationModule ()=default |
| Destroys a SimulationModule instance. | |
Static Public Member Functions | |
| static std::vector< core::Income > | get_available_income_categories (RuntimeContext &context) |
| Gets available income categories from the runtime context (for tests and callers). | |
| static std::string | income_category_to_string (core::Income income) |
| Converts income category enum to string representation (for tests and callers). | |
Implements the burden of diseases (BoD) analysis module.
|
delete |
| hgps::AnalysisModule::AnalysisModule | ( | AnalysisDefinition && | definition, |
| WeightModel && | classifier, | ||
| const core::IntegerInterval | age_range, | ||
| unsigned int | comorbidities | ||
| ) |
Initialises a new instance of the AnalysisModule class.
| definition | The analysis module definition |
| classifier | Body weight classifier model instance |
| age_range | The experiment valid age range |
| comorbidities | Maximum number of comorbidities to include |
| hgps::AnalysisModule::AnalysisModule | ( | AnalysisDefinition && | definition, |
| WeightModel && | classifier, | ||
| core::IntegerInterval | age_range, | ||
| unsigned int | comorbidities, | ||
| std::vector< double > | calculated_factors | ||
| ) |
Initialises a new instance of the AnalysisModule class.
| definition | The analysis module definition |
| classifier | Body weight classifier model instance |
| age_range | The experiment valid age range |
| comorbidities | Maximum number of comorbidities to include |
| calculated_factors | The calculated factors to include |
|
static |
Gets available income categories from the runtime context (for tests and callers).
|
static |
Converts income category enum to string representation (for tests and callers).
|
overridevirtual |
Initialises the virtual population.
| context | The simulation shared runtime context instance |
Implements hgps::SimulationModule.
|
overridevirtualnoexcept |
|
noexcept |
Sets whether income-based analysis is enabled.
| enabled | true to enable income analysis, false to disable |
|
noexcept |
MAHIMA: Sets optional individual ID tracking config for per-person CSV output.
|
overridevirtualnoexcept |
Gets the module type identifier.
Implements hgps::SimulationModule.
|
overridevirtual |
Updates the virtual population status.
| context | The simulation run-time context |
Implements hgps::UpdatableModule.