Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
relative_risk.h File Reference
#include "HealthGPS.Core/array2d.h"
#include "HealthGPS.Core/identifier.h"
#include "gender_table.h"
#include "monotonic_vector.h"
#include <map>
Include dependency graph for relative_risk.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hgps::RelativeRiskLookup
 Defines the relative risk factors lookup data type. More...
struct  hgps::RelativeRisk
 Defines the relative risk factors data type. More...

Namespaces

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

Typedefs

using hgps::RelativeRiskTableMap = std::map<core::Identifier, FloatAgeGenderTable>
 Defines the relative risk factor table type.
using hgps::RelativeRiskLookupMap
 Defines the relative risk factor lookup type.

Functions

float hgps::require_relative_risk (const RelativeRiskLookup &lookup, const core::Identifier &factor, int age, core::Gender gender, float value)
 Read one relative-risk cell, or throw a message that names the factor, age, and sex.