location_type.h Source File

CPP API: location_type.h Source File
location_type.h
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2020-2026 MEmilio
3 *
4 * Authors: Daniel Abele, Elisabeth Kluth, Khoa Nguyen, Sascha Korf, Carlotta Gerstein
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 #ifndef MIO_ABM_LOCATION_TYPE_H
21 #define MIO_ABM_LOCATION_TYPE_H
22 
23 #include <cstdint>
24 
25 namespace mio
26 {
27 namespace abm
28 {
29 
33 enum class LocationType : std::uint32_t
34 {
35  Home = 0,
36  School,
37  Work,
38  SocialEvent, // TODO: differentiate different kinds
39  BasicsShop, // groceries and other necessities
40  Hospital,
41  ICU,
42  Car,
44  TransportWithoutContact, // all ways of travel with no contact to other people, e.g. biking or walking
45  Cemetery, // Location for all the dead persons. It is created once for the Model.
46 
47  Count, //last!
48  Invalid
49 };
50 
51 } // namespace abm
52 } // namespace mio
53 
54 #endif
LocationType
Type of a Location.
Definition: location_type.h:34
A collection of classes to simplify handling of matrix shapes in meta programming.
Definition: models/abm/analyze_result.h:30