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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
20 // Some static variables for faster access
21 /****************************************************************************/
22 #ifndef MSGlobals_h
23 #define MSGlobals_h
24 
25 
26 // ===========================================================================
27 // included modules
28 // ===========================================================================
29 #ifdef _MSC_VER
30 #include <windows_config.h>
31 #else
32 #include <config.h>
33 #endif
34 
35 #include <map>
36 #include <utils/common/SUMOTime.h>
37 
38 
39 // ===========================================================================
40 // class declarations
41 // ===========================================================================
42 class MELoop;
43 
44 
45 // ===========================================================================
46 // class definitions
47 // ===========================================================================
55 class MSGlobals {
56 public:
58  static bool gOmitEmptyEdgesOnDump;
59 
60  /* Allows switching between time step integration methods
61  * "Semi-Implicit Euler" (default) and the ballistic update rule. */
63 
67 
70 
73 
75  static bool gUsingInternalLanes;
76 
80 
82  static bool gCheck4Accidents;
83 
85  static bool gCheckRoutes;
86 
89 
91  static double gLateralResolution;
92 
94  static bool gStateLoaded;
95 
97  static bool gUseMesoSim;
98 
101 
103  static bool gMesoOvertaking;
104 
106  static double gMesoTLSPenalty;
107 
110 
112  static MELoop* gMesoNet;
113 
116 
119 
120 };
121 
122 
123 #endif
124 
125 /****************************************************************************/
126 
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:58
static double gLateralResolution
Definition: MSGlobals.h:91
static double gMesoTLSPenalty
Definition: MSGlobals.h:106
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:94
static bool gMesoOvertaking
Definition: MSGlobals.h:103
static bool gCheck4Accidents
Definition: MSGlobals.h:82
static SUMOTime gTimeToImpatience
Definition: MSGlobals.h:72
The main mesocopic simulation loop.
Definition: MELoop.h:55
static bool gCheckRoutes
Definition: MSGlobals.h:85
static SUMOTime gMesoMinorPenalty
Definition: MSGlobals.h:109
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:75
static SUMOTime gActionStepLength
default value for the interval between two action points for MSVehicle (defaults to DELTA_T) ...
Definition: MSGlobals.h:118
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:69
static MELoop * gMesoNet
mesoscopic simulation infrastructure
Definition: MSGlobals.h:112
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:66
static SUMOTime gWaitingTimeMemory
length of memory for waiting times (in millisecs)
Definition: MSGlobals.h:115
static SUMOTime gIgnoreJunctionBlocker
Definition: MSGlobals.h:79
static bool gSemiImplicitEulerUpdate
Definition: MSGlobals.h:62
long long int SUMOTime
Definition: TraCIDefs.h:51
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:88
static bool gUseMesoSim
Definition: MSGlobals.h:97
static bool gMesoLimitedJunctionControl
Definition: MSGlobals.h:100