|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Implements the LMS (lambda-mu-sigma) model for children growth. More...
#include <lms_model.h>
Public Member Functions | |
| LmsModel ()=delete | |
| LmsModel (LmsDefinition &definition) | |
| Initialises a new instance of the LmsModel class. More... | |
| unsigned int | child_cutoff_age () const noexcept |
| Gets the children cut-off age (before adult) More... | |
| WeightCategory | classify_weight (const Person &entity) const |
| Classify a person weight according with the predefined categories. More... | |
| double | adjust_risk_factor_value (const Person &entity, const core::Identifier &factor_key, double value) const |
| Adjust a Person risk factor value. More... | |
Implements the LMS (lambda-mu-sigma) model for children growth.
|
delete |
| hgps::LmsModel::LmsModel | ( | LmsDefinition & | definition | ) |
Initialises a new instance of the LmsModel class.
| definition | The model definition |
| std::invalid_argument | for definition that don't include the child cut-off age. |
| double hgps::LmsModel::adjust_risk_factor_value | ( | const Person & | entity, |
| const core::Identifier & | factor_key, | ||
| double | value | ||
| ) | const |
|
noexcept |
Gets the children cut-off age (before adult)
| WeightCategory hgps::LmsModel::classify_weight | ( | const Person & | entity | ) | const |
Classify a person weight according with the predefined categories.
| entity | The Person instance to classify |