infection_state.h Source File

CPP API: infection_state.h Source File
lct_secir_2_diseases/infection_state.h
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2020-2026 MEmilio
3 *
4 * Authors: Annika Jungklaus, Lena Ploetzke
5 *
6 * Contact: Martin J. Kuehn <Martin.Kuehn@DLR.de>
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 */
20 
21 #ifndef LCT_SECIR_2_DISEASES_INFECTIONSTATE_H
22 #define LCT_SECIR_2_DISEASES_INFECTIONSTATE_H
23 
24 namespace mio
25 {
26 namespace lsecir2d
27 {
28 
33 enum class InfectionState
34 {
35  Susceptible = 0,
36  // Notation: State_[Infection number][disease]
37  // first infection with disease a
38  Exposed_1a = 1,
43  Recovered_1a = 6,
44  Dead_a = 7,
45  // second infection with disease a
46  Exposed_2a = 8,
49  InfectedSevere_2a = 11,
51  // first infection with disease b
52  Exposed_1b = 13,
55  InfectedSevere_1b = 16,
57  Recovered_1b = 18,
58  Dead_b = 19,
59  // second infection with disease b
60  Exposed_2b = 20,
63  InfectedSevere_2b = 23,
65  // Recovered from both diseases
66  Recovered_2ab = 25,
67  Count = 26
68 };
69 
70 } // namespace lsecir2d
71 } // namespace mio
72 
73 #endif // LCT_SECIR_2_DISEASES_INFECTIONSTATE_H
InfectionState
The InfectionState enum describes the basic categories for the infection state of persons.
Definition: lct_secir_2_diseases/infection_state.h:34
A collection of classes to simplify handling of matrix shapes in meta programming.
Definition: models/abm/analyze_result.h:30