Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
model_parser.h File Reference
#include "HealthGPS/repository.h"
#include "HealthGPS/riskfactor_adjustment_types.h"
#include "jsonparser.h"
#include "options.h"
#include <utility>
Include dependency graph for model_parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 host
 Top-level namespace for Health-GPS Console host application.
 

Functions

hgps::BaselineAdjustment host::load_baseline_adjustments (const poco::BaselineInfo &info)
 Loads baseline adjustments information from a file. More...
 
std::unique_ptr< hgps::RiskFactorModelDefinitionhost::load_static_risk_model_definition (const std::string &model_name, const poco::json &opt)
 Loads the full hierarchical linear regression model definition from a JSON file. More...
 
std::unique_ptr< hgps::RiskFactorModelDefinitionhost::load_dynamic_risk_model_definition (const std::string &model_name, const poco::json &opt, const poco::SettingsInfo &settings)
 Loads a dynamic model from a JSON file. More...
 
std::unique_ptr< hgps::LiteHierarchicalModelDefinitionhost::load_ebhlm_risk_model_definition (const poco::json &opt)
 Loads the old energy balance model definition from a JSON file. More...
 
std::unique_ptr< hgps::EnergyBalanceModelDefinitionhost::load_newebm_risk_model_definition (const poco::json &opt, const poco::SettingsInfo &settings)
 Loads the new energy balance model definition from a JSON file. More...
 
std::pair< hgps::HierarchicalModelType, std::unique_ptr< hgps::RiskFactorModelDefinition > > host::load_risk_model_definition (const std::string &model_type, const poco::json &opt, const poco::SettingsInfo &settings)
 Loads a risk model definition from a JSON file. More...
 
poco::json host::load_json (const std::string &model_filename)
 Load and parse the model file. More...
 
void host::register_risk_factor_model_definitions (hgps::CachedRepository &repository, const poco::ModellingInfo &info, const poco::SettingsInfo &settings)
 Registers a risk factor model definition with the repository. More...