Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the lite hierarchical linear model data type. More...
#include <energy_balance_hierarchical_model.h>
Public Member Functions | |
LiteHierarchicalModelDefinition (std::map< core::IntegerInterval, AgeGroupGenderEquation > equations, std::map< core::Identifier, core::Identifier > variables, const double boundary_percentage=0.05) | |
Initialises a new instance of the LiteHierarchicalModelDefinition class. More... | |
std::unique_ptr< HierarchicalLinearModel > | create_model () const override |
Construct a new EnergyBalanceHierarchicalModel from this definition. More... | |
![]() | |
virtual | ~RiskFactorModelDefinition ()=default |
Destroys a RiskFactorModelDefinition instance. More... | |
Defines the lite hierarchical linear model data type.
hgps::LiteHierarchicalModelDefinition::LiteHierarchicalModelDefinition | ( | std::map< core::IntegerInterval, AgeGroupGenderEquation > | equations, |
std::map< core::Identifier, core::Identifier > | variables, | ||
const double | boundary_percentage = 0.05 |
||
) |
Initialises a new instance of the LiteHierarchicalModelDefinition class.
equations | The linear regression equations |
variables | The factors delta variables mapping |
boundary_percentage | The boundary percentage to sample |
std::invalid_argument | for empty model equations definition |
|
overridevirtual |
Construct a new EnergyBalanceHierarchicalModel from this definition.
Implements hgps::RiskFactorModelDefinition.