SUMO - Simulation of Urban MObility
MSGlobals.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2003-2018 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
18 // Some static variables for faster access
19 /****************************************************************************/
20 #ifndef MSGlobals_h
21 #define MSGlobals_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #include <config.h>
28 
29 #include <map>
30 #include <utils/common/SUMOTime.h>
31 
32 
33 // ===========================================================================
34 // class declarations
35 // ===========================================================================
36 class MELoop;
37 
38 
39 // ===========================================================================
40 // class definitions
41 // ===========================================================================
49 class MSGlobals {
50 public:
52  static bool gOmitEmptyEdgesOnDump;
53 
54  /* Allows switching between time step integration methods
55  * "Semi-Implicit Euler" (default) and the ballistic update rule. */
57 
61 
64 
67 
69  static bool gUsingInternalLanes;
70 
74 
76  static bool gCheck4Accidents;
77 
79  static bool gCheckRoutes;
80 
83 
85  static double gLateralResolution;
86 
88  static bool gStateLoaded;
89 
91  static bool gUseMesoSim;
92 
95 
97  static bool gMesoOvertaking;
98 
100  static double gMesoTLSPenalty;
101 
104 
106  static MELoop* gMesoNet;
107 
110 
113 
115  static double gDefaultEmergencyDecel;
116 
118  static bool gUnitTests;
119 
121  static bool gComputeLC;
122 
125 
126 };
127 
128 
129 #endif
130 
131 /****************************************************************************/
132 
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:52
static double gLateralResolution
Definition: MSGlobals.h:85
long long int SUMOTime
Definition: SUMOTime.h:36
static double gMesoTLSPenalty
Definition: MSGlobals.h:100
static bool gComputeLC
whether the simulationLoop is in the lane changing phase
Definition: MSGlobals.h:121
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:88
static double gEmergencyDecelWarningThreshold
treshold for warning about strong deceleration
Definition: MSGlobals.h:124
static bool gMesoOvertaking
Definition: MSGlobals.h:97
static bool gCheck4Accidents
Definition: MSGlobals.h:76
static SUMOTime gTimeToImpatience
Definition: MSGlobals.h:66
The main mesocopic simulation loop.
Definition: MELoop.h:49
static bool gCheckRoutes
Definition: MSGlobals.h:79
static double gDefaultEmergencyDecel
encoding of the string-option default.emergencydecel
Definition: MSGlobals.h:115
static SUMOTime gMesoMinorPenalty
Definition: MSGlobals.h:103
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:69
static SUMOTime gActionStepLength
default value for the interval between two action points for MSVehicle (defaults to DELTA_T) ...
Definition: MSGlobals.h:112
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:63
static bool gUnitTests
whether unit tests are being run
Definition: MSGlobals.h:118
static MELoop * gMesoNet
mesoscopic simulation infrastructure
Definition: MSGlobals.h:106
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:60
static SUMOTime gWaitingTimeMemory
length of memory for waiting times (in millisecs)
Definition: MSGlobals.h:109
static SUMOTime gIgnoreJunctionBlocker
Definition: MSGlobals.h:73
static bool gSemiImplicitEulerUpdate
Definition: MSGlobals.h:56
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:82
static bool gUseMesoSim
Definition: MSGlobals.h:91
static bool gMesoLimitedJunctionControl
Definition: MSGlobals.h:94