|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
#include "HealthGPS/dummy_model.h"#include "HealthGPS/dynamic_hierarchical_linear_model.h"#include "HealthGPS/kevin_hall_model.h"#include "HealthGPS/risk_factor_adjustable_model.h"#include "HealthGPS/static_hierarchical_linear_model.h"#include "HealthGPS/static_linear_model.h"#include "configuration.h"#include "jsonparser.h"#include <filesystem>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | hgps |
| Top-level namespace for Health-GPS Console host application. | |
| namespace | hgps::input |
| Data structures containing model parameters and configuration options. | |
Functions | |
| std::unique_ptr< hgps::RiskFactorSexAgeTable > | hgps::input::load_risk_factor_expected (const Configuration &config) |
| Loads risk factor expected values from a file. | |
| std::unique_ptr< hgps::DummyModelDefinition > | hgps::input::load_dummy_risk_model_definition (hgps::RiskFactorModelType type, const nlohmann::json &opt) |
| Loads either a static or dynamic dummy risk factor model from a JSON file. | |
| std::unique_ptr< hgps::StaticHierarchicalLinearModelDefinition > | hgps::input::load_hlm_risk_model_definition (const nlohmann::json &opt) |
| Loads the full hierarchical linear regression model definition from a JSON file. | |
| std::unique_ptr< hgps::StaticLinearModelDefinition > | hgps::input::load_staticlinear_risk_model_definition (const nlohmann::json &opt, const Configuration &config) |
| Loads the static linear regression model definition from a JSON file. | |
| std::unique_ptr< hgps::DynamicHierarchicalLinearModelDefinition > | hgps::input::load_ebhlm_risk_model_definition (const nlohmann::json &opt, const Configuration &config) |
| Loads the old energy balance model definition from a JSON file. | |
| std::unique_ptr< hgps::KevinHallModelDefinition > | hgps::input::load_kevinhall_risk_model_definition (const nlohmann::json &opt, const Configuration &config) |
| Loads the Kevin Hall energy balance model definition from a JSON file. | |
| std::unique_ptr< hgps::RiskFactorModelDefinition > | hgps::input::load_risk_model_definition (hgps::RiskFactorModelType model_type, const std::filesystem::path &model_path, const Configuration &config) |
| Loads a risk model definition from a JSON file. | |
| nlohmann::json | hgps::input::load_json (const std::filesystem::path &filepath) |
| Load and parse a JSON model file. | |
| void | hgps::input::register_risk_factor_model_definitions (hgps::CachedRepository &repository, const Configuration &config) |
| Registers a risk factor model definition with the repository. | |