Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
analysis_definition.h
Go to the documentation of this file.
1#pragma once
3#include "gender_table.h"
4
5#include <map>
6#include <string>
7
8namespace hgps {
9
12 public:
19 std::map<core::Identifier, float> &&disability_weights)
20 : life_expectancy_{std::move(life_expectancy)}, observed_YLD_{std::move(observed_YLD)},
21 disability_weights_{std::move(disability_weights)} {}
22
25 const GenderTable<int, float> &life_expectancy() const noexcept { return life_expectancy_; }
26
29 const DoubleAgeGenderTable &observed_YLD() const noexcept { return observed_YLD_; }
30
33 const std::map<core::Identifier, float> &disability_weights() const noexcept {
34 return disability_weights_;
35 }
36
37 private:
38 GenderTable<int, float> life_expectancy_;
39 DoubleAgeGenderTable observed_YLD_;
40 std::map<core::Identifier, float> disability_weights_;
41};
42} // namespace hgps
Burden of diseases (BoD) analysis module definition data type.
Definition analysis_definition.h:11
const std::map< core::Identifier, float > & disability_weights() const noexcept
Gets the diseases disability weights.
Definition analysis_definition.h:33
AnalysisDefinition(GenderTable< int, float > &&life_expectancy, DoubleAgeGenderTable &&observed_YLD, std::map< core::Identifier, float > &&disability_weights)
Initialises a new instance of the AnalysisDefinition class.
Definition analysis_definition.h:17
const GenderTable< int, float > & life_expectancy() const noexcept
Gets the population life expectancy table.
Definition analysis_definition.h:25
const DoubleAgeGenderTable & observed_YLD() const noexcept
Gets the observed years lived with disability (YLD) table.
Definition analysis_definition.h:29
Defines the gender column lookup table data type.
Definition gender_table.h:15
Top-level namespace for Health-GPS Console host application.
Definition command_options.cpp:8
Global namespace.
Definition column_iterator.h:123