|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Defines the risk factor allowed range data type. More...
#include <mapping.h>
Public Member Functions | |
| FactorRange ()=default | |
| Initialises a new instance of the FactorRange structure. More... | |
| FactorRange (double min_value, double max_value) | |
| Initialises a new instance of the FactorRange structure. More... | |
Public Attributes | |
| bool | empty {true} |
| Gets a value indicating whether the range is empty, no limits. More... | |
| double | minimum {} |
| The range minimum value. More... | |
| double | maximum {} |
| The range maximum value. More... | |
Defines the risk factor allowed range data type.
The factors range is defined from the fitted dataset and enforced by the simulation algorithm. The default constructor, creates an empty range.
|
default |
Initialises a new instance of the FactorRange structure.
|
inline |
Initialises a new instance of the FactorRange structure.
| min_value | Minimum factor value |
| max_value | Maximum factor value |
| std::invalid_argument | for minimum greater than the maximum value |
| bool hgps::FactorRange::empty {true} |
Gets a value indicating whether the range is empty, no limits.
| double hgps::FactorRange::maximum {} |
The range maximum value.
| double hgps::FactorRange::minimum {} |
The range minimum value.