SUMO - Simulation of Urban MObility
MSGlobals.h
Go to the documentation of this file.
1 /****************************************************************************/
10 // Some static variables for faster access
11 /****************************************************************************/
12 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
13 // Copyright (C) 2003-2016 DLR (http://www.dlr.de/) and contributors
14 /****************************************************************************/
15 //
16 // This file is part of SUMO.
17 // SUMO is free software: you can redistribute it and/or modify
18 // it under the terms of the GNU General Public License as published by
19 // the Free Software Foundation, either version 3 of the License, or
20 // (at your option) any later version.
21 //
22 /****************************************************************************/
23 #ifndef MSGlobals_h
24 #define MSGlobals_h
25 
26 
27 // ===========================================================================
28 // included modules
29 // ===========================================================================
30 #ifdef _MSC_VER
31 #include <windows_config.h>
32 #else
33 #include <config.h>
34 #endif
35 
36 #include <map>
37 #include <utils/common/SUMOTime.h>
38 
39 
40 // ===========================================================================
41 // class declarations
42 // ===========================================================================
43 class MELoop;
44 
45 
46 // ===========================================================================
47 // class definitions
48 // ===========================================================================
56 class MSGlobals {
57 public:
59  static bool gOmitEmptyEdgesOnDump;
60 
61  /* Allows switching between time step integration methods
62  * "Semi-Implicit Euler" (default) and the ballistic update rule. */
64 
68 
71 
73  static bool gUsingInternalLanes;
74 
78 
80  static bool gCheck4Accidents;
81 
83  static bool gCheckRoutes;
84 
87 
90 
92  static bool gStateLoaded;
93 
95  static bool gUseMesoSim;
96 
99 
101  static bool gMesoOvertaking;
102 
105 
107  static MELoop* gMesoNet;
108 
111 
112 };
113 
114 
115 #endif
116 
117 /****************************************************************************/
118 
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:59
long long int SUMOTime
Definition: SUMOTime.h:43
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:92
static bool gMesoOvertaking
Definition: MSGlobals.h:101
static bool gCheck4Accidents
Definition: MSGlobals.h:80
The main mesocopic simulation loop.
Definition: MELoop.h:56
static bool gCheckRoutes
Definition: MSGlobals.h:83
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:73
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:70
static SUMOReal gLateralResolution
Definition: MSGlobals.h:89
static MELoop * gMesoNet
mesoscopic simulation infrastructure
Definition: MSGlobals.h:107
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:67
static SUMOTime gWaitingTimeMemory
length of memory for waiting times (in millisecs)
Definition: MSGlobals.h:110
static SUMOTime gIgnoreJunctionBlocker
Definition: MSGlobals.h:77
#define SUMOReal
Definition: config.h:213
static bool gSemiImplicitEulerUpdate
Definition: MSGlobals.h:63
static SUMOReal gMesoTLSPenalty
Definition: MSGlobals.h:104
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:86
static bool gUseMesoSim
Definition: MSGlobals.h:95
static bool gMesoLimitedJunctionControl
Definition: MSGlobals.h:98