Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
settings.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace hgps {
7
9class Settings {
10 public:
17
20 const core::Country &country() const noexcept;
21
24 float size_fraction() const noexcept;
25
28 const core::IntegerInterval &age_range() const noexcept;
29
30 private:
31 core::Country country_;
32 float size_fraction_{};
33 core::IntegerInterval age_range_;
34};
35} // namespace hgps
const core::IntegerInterval & age_range() const noexcept
The experiment population age range constraint.
Definition settings.cpp:23
const core::Country & country() const noexcept
Gets the experiment target country information.
Definition settings.cpp:19
Settings(core::Country country, float size_fraction, const core::IntegerInterval &age_range)
Initialises a new instance of the Settings class.
Definition settings.cpp:8
float size_fraction() const noexcept
The virtual population fraction from the real population size in range (0, 1].
Definition settings.cpp:21
Interval< int > IntegerInterval
Interval representation integer data type.
Definition interval.h:73
Top-level namespace for Health-GPS Console host application.
Definition command_options.cpp:9
Country ISO-3166 definition data structure.
Definition country.h:7