Eclipse SUMO - Simulation of Urban MObility
MSGlobals.cpp
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2003-2022 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials are made available under the
5 // terms of the Eclipse Public License 2.0 which is available at
6 // https://www.eclipse.org/legal/epl-2.0/
7 // This Source Code may also be made available under the following Secondary
8 // Licenses when the conditions for such availability set forth in the Eclipse
9 // Public License 2.0 are satisfied: GNU General Public License, version 2
10 // or later which is available at
11 // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12 // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13 /****************************************************************************/
20 // Some static variables for faster access
21 /****************************************************************************/
22 #include <config.h>
23 
24 #include "MSGlobals.h"
25 
26 
27 // ===========================================================================
28 // static member variable definitions
29 // ===========================================================================
31 
34 
39 
41 
43 
45 
47 
49 
54 
58 
60 
62 
64 
65 double MSGlobals::gDefaultEmergencyDecel(-1); // default for unitTest
66 
67 bool MSGlobals::gUseStopEnded(false);
68 
69 bool MSGlobals::gUnitTests(false);
70 
72 
73 bool MSGlobals::gClearState(false);
74 
77 
79 
80 double MSGlobals::gMinorPenalty(0);
81 
83 
84 bool MSGlobals::gSublane(false);
85 
88 
89 bool MSGlobals::gLefthand(false);
90 
92 
93 
94 /****************************************************************************/
long long int SUMOTime
Definition: SUMOTime.h:32
The main mesocopic simulation loop.
Definition: MELoop.h:47
static bool gOverheadWireCurrentLimits
Definition: MSGlobals.h:115
static double gStopTolerance
The tolerance to apply when matching waiting persons and vehicles.
Definition: MSGlobals.h:151
static SUMOTime gTimeToTeleportDisconnected
Definition: MSGlobals.h:63
static bool gModelParkingManoeuver
whether parking simulation includes manoeuver time and any associated lane blocking
Definition: MSGlobals.h:145
static bool gUseMesoSim
Definition: MSGlobals.h:94
static double gMinorPenalty
time penalty for passing a minor link when routing
Definition: MSGlobals.h:142
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:60
static bool gCheckRoutes
Definition: MSGlobals.h:82
static double gWeightsSeparateTurns
Whether turning specific weights are estimated (and how much)
Definition: MSGlobals.h:160
static bool gOverheadWireRecuperation
Definition: MSGlobals.h:112
static bool gRemoveGridlocked
Definition: MSGlobals.h:66
static double gDefaultEmergencyDecel
encoding of the string-option default.emergencydecel
Definition: MSGlobals.h:118
static double gTLSYellowMinDecel
The minimum deceleration at a yellow traffic light (only overruled by emergencyDecel)
Definition: MSGlobals.h:154
static bool gOverheadWireSolver
Definition: MSGlobals.h:109
static MELoop * gMesoNet
mesoscopic simulation infrastructure
Definition: MSGlobals.h:100
static double gLateralResolution
Definition: MSGlobals.h:88
static bool gSemiImplicitEulerUpdate
Definition: MSGlobals.h:53
static SUMOTime gTimeToImpatience
Definition: MSGlobals.h:69
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:91
static bool gCheck4Accidents
Definition: MSGlobals.h:79
static bool gClearState
whether the simulation is in the process of clearing state (MSNet::clearState)
Definition: MSGlobals.h:130
static bool gComputeLC
whether the simulationLoop is in the lane changing phase
Definition: MSGlobals.h:127
static int gNumSimThreads
how many threads to use for simulation
Definition: MSGlobals.h:133
static bool gLefthand
Whether lefthand-drive is being simulated.
Definition: MSGlobals.h:157
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:49
static SUMOTime gIgnoreJunctionBlocker
Definition: MSGlobals.h:76
static bool gSublane
whether sublane simulation is enabled (sublane model or continuous lanechanging)
Definition: MSGlobals.h:148
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:85
static bool gMesoLimitedJunctionControl
Definition: MSGlobals.h:97
static bool gUseStopEnded
whether the simulation should replay previous stop times
Definition: MSGlobals.h:121
static SUMOTime gActionStepLength
default value for the interval between two action points for MSVehicle (defaults to DELTA_T)
Definition: MSGlobals.h:106
static bool gUnitTests
whether unit tests are being run
Definition: MSGlobals.h:124
static SUMOTime gWaitingTimeMemory
length of memory for waiting times (in millisecs)
Definition: MSGlobals.h:103
static double gEmergencyDecelWarningThreshold
treshold for warning about strong deceleration
Definition: MSGlobals.h:139
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:72
static int gNumThreads
how many threads to use
Definition: MSGlobals.h:136
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:57