|
Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
|
Defines risk factor mapping entry data type. More...
#include <mapping.h>
Public Member Functions | |
| MappingEntry ()=delete | |
| MappingEntry (std::string name, int level, OptionalInterval range={}) | |
| Initialises a new instance of the MappingEntry class. | |
| const std::string & | name () const noexcept |
| Gets the factor name. | |
| int | level () const noexcept |
| Gets the factor hierarchical level. | |
| const core::Identifier & | key () const noexcept |
| Gets the factor unique identification. | |
| const OptionalInterval & | range () const noexcept |
| Gets the factor allowed values range. | |
| double | get_bounded_value (double value) const noexcept |
| Adjusts a value to the factor range, if provided. | |
Defines risk factor mapping entry data type.
Single risk factor definition, the dynamic factor is included only in the dynamic risk factor model hierarchy, never in the static model.
|
delete |
| hgps::MappingEntry::MappingEntry | ( | std::string | name, |
| int | level, | ||
| OptionalInterval | range = {} |
||
| ) |
Initialises a new instance of the MappingEntry class.
| name | Risk factor name |
| level | The hierarchical level |
| range | The factor range |
|
noexcept |
Adjusts a value to the factor range, if provided.
| value | The value to adjust |
|
noexcept |
Gets the factor unique identification.
|
noexcept |
Gets the factor hierarchical level.
|
noexcept |
Gets the factor name.
|
noexcept |
Gets the factor allowed values range.