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 
4 #include "runtime_context.h"
5 
6 #include <functional>
7 
8 namespace hgps {
9 
12  public:
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
Defines the virtual population data type.
Definition: population.h:14
Defines the baseline risk factors adjustment model.
Definition: riskfactor_adjustment.h:11
void Apply(RuntimeContext &context)
Applies the baseline adjustments to the population risk factor values.
Definition: riskfactor_adjustment.cpp:13
Defines the Simulation runtime context data type.
Definition: runtime_context.h:21
Numeric interval representation data type.
Definition: interval.h:10
Top-level namespace for Health-GPS C++ API.
Definition: analysis_definition.h:8
Defines the risk factor baseline adjustment data type.
Definition: riskfactor_adjustment_types.h:14