Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
riskfactor_adjustment.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
riskfactor_adjustment_types.h
"
4
#include "
runtime_context.h
"
5
6
#include <functional>
7
8
namespace
hgps
{
9
11
class
RiskfactorAdjustmentModel
{
12
public
:
13
RiskfactorAdjustmentModel
() =
delete
;
16
RiskfactorAdjustmentModel
(
BaselineAdjustment
&adjustments);
17
22
void
Apply
(
RuntimeContext
&context);
23
24
private
:
25
std::reference_wrapper<BaselineAdjustment> adjustments_;
26
27
FactorAdjustmentTable
calculate_simulated_mean(
Population
&population,
28
const
core::IntegerInterval
&age_range)
const
;
29
30
FactorAdjustmentTable
calculate_adjustment_coefficients(
RuntimeContext
&context)
const
;
31
32
FactorAdjustmentTable
get_adjustment_coefficients(
RuntimeContext
&context)
const
;
33
};
34
}
// namespace hgps
hgps::Map2d< core::Gender, core::Identifier, std::vector< double > >
hgps::Population
Defines the virtual population data type.
Definition:
population.h:14
hgps::RiskfactorAdjustmentModel
Defines the baseline risk factors adjustment model.
Definition:
riskfactor_adjustment.h:11
hgps::RiskfactorAdjustmentModel::Apply
void Apply(RuntimeContext &context)
Applies the baseline adjustments to the population risk factor values.
Definition:
riskfactor_adjustment.cpp:13
hgps::RiskfactorAdjustmentModel::RiskfactorAdjustmentModel
RiskfactorAdjustmentModel()=delete
hgps::RuntimeContext
Defines the Simulation runtime context data type.
Definition:
runtime_context.h:21
hgps::core::Interval
Numeric interval representation data type.
Definition:
interval.h:10
hgps
Top-level namespace for Health-GPS C++ API.
Definition:
analysis_definition.h:8
riskfactor_adjustment_types.h
runtime_context.h
hgps::BaselineAdjustment
Defines the risk factor baseline adjustment data type.
Definition:
riskfactor_adjustment_types.h:14
HealthGPS
riskfactor_adjustment.h
Generated by
1.9.1