Health-GPS  1.2.2.0
Global Health Policy Simulation model (Health-GPS)
settings.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <HealthGPS.Core/poco.h>
5 
6 namespace hgps {
7 
9 class Settings {
10  public:
16  Settings(const core::Country &country, const float size_fraction,
18 
21  const core::Country &country() const noexcept;
22 
25  const float &size_fraction() const noexcept;
26 
29  const core::IntegerInterval &age_range() const noexcept;
30 
31  private:
32  core::Country country_;
33  float size_fraction_{};
34  core::IntegerInterval age_range_;
35 };
36 } // namespace hgps
Defines the simulation experiment settings data type.
Definition: settings.h:9
const core::IntegerInterval & age_range() const noexcept
The experiment population age range constraint.
Definition: settings.cpp:22
const float & size_fraction() const noexcept
The virtual population fraction from the real population size in range (0, 1].
Definition: settings.cpp:20
const core::Country & country() const noexcept
Gets the experiment target country information.
Definition: settings.cpp:18
Settings(const core::Country &country, const float size_fraction, const core::IntegerInterval &age_range)
Initialises a new instance of the Settings class.
Definition: settings.cpp:7
Numeric interval representation data type.
Definition: interval.h:10
Top-level namespace for Health-GPS C++ API.
Definition: analysis_definition.h:8
Country ISO-3166 definition data structure.
Definition: country.h:7