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-2019 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 /****************************************************************************/
16 // Some static variables for faster access
17 /****************************************************************************/
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include "MSGlobals.h"
26 
27 
28 // ===========================================================================
29 // static member variable definitions
30 // ===========================================================================
32 
35 
39 
41 
43 
45 
47 
55 
57 
59 
61 
62 double MSGlobals::gDefaultEmergencyDecel(-1); // default for unitTest
63 
64 bool MSGlobals::gUnitTests(false);
65 
67 
70 
72 
73 double MSGlobals::gMinorPenalty(0);
74 
76 
77 bool MSGlobals::gSublane(false);
78 
80 
81 /****************************************************************************/
82 
MSGlobals::gComputeLC
static bool gComputeLC
whether the simulationLoop is in the lane changing phase
Definition: MSGlobals.h:120
MSGlobals::gStateLoaded
static bool gStateLoaded
Information whether a state has been loaded.
Definition: MSGlobals.h:87
MSGlobals::gMinorPenalty
static double gMinorPenalty
time penalty for passing a minor link when routing
Definition: MSGlobals.h:132
MSGlobals::gNumSimThreads
static int gNumSimThreads
how many threads to use for simulation
Definition: MSGlobals.h:123
SUMOTime
long long int SUMOTime
Definition: SUMOTime.h:34
MSGlobals::gUseMesoSim
static bool gUseMesoSim
Definition: MSGlobals.h:90
MSGlobals::gEmergencyDecelWarningThreshold
static double gEmergencyDecelWarningThreshold
treshold for warning about strong deceleration
Definition: MSGlobals.h:129
MSGlobals::gLateralResolution
static double gLateralResolution
Definition: MSGlobals.h:84
MSGlobals::gNumThreads
static int gNumThreads
how many threads to use
Definition: MSGlobals.h:126
MSGlobals::gMesoOvertaking
static bool gMesoOvertaking
Definition: MSGlobals.h:96
MELoop
The main mesocopic simulation loop.
Definition: MELoop.h:48
MSGlobals::gMesoTLSPenalty
static double gMesoTLSPenalty
Definition: MSGlobals.h:99
MSGlobals::gCheck4Accidents
static bool gCheck4Accidents
Definition: MSGlobals.h:75
MSGlobals::gDefaultEmergencyDecel
static double gDefaultEmergencyDecel
encoding of the string-option default.emergencydecel
Definition: MSGlobals.h:114
MSGlobals::gMesoMinorPenalty
static SUMOTime gMesoMinorPenalty
Definition: MSGlobals.h:102
MSGlobals::gIgnoreJunctionBlocker
static SUMOTime gIgnoreJunctionBlocker
Definition: MSGlobals.h:72
MSGlobals::gModelParkingManoeuver
static bool gModelParkingManoeuver
whether parking simulation includes manoeuver time and any associated lane blocking
Definition: MSGlobals.h:135
MSGlobals.h
MSGlobals::gCheckRoutes
static bool gCheckRoutes
Definition: MSGlobals.h:78
MSGlobals::gActionStepLength
static SUMOTime gActionStepLength
default value for the interval between two action points for MSVehicle (defaults to DELTA_T)
Definition: MSGlobals.h:111
MSGlobals::gUsingInternalLanes
static bool gUsingInternalLanes
Information whether the simulation regards internal lanes.
Definition: MSGlobals.h:68
MSGlobals::gTimeToImpatience
static SUMOTime gTimeToImpatience
Definition: MSGlobals.h:65
MSGlobals::gUnitTests
static bool gUnitTests
whether unit tests are being run
Definition: MSGlobals.h:117
MSGlobals::gMesoNet
static MELoop * gMesoNet
mesoscopic simulation infrastructure
Definition: MSGlobals.h:105
MSGlobals::gTimeToGridlock
static SUMOTime gTimeToGridlock
Definition: MSGlobals.h:59
MSGlobals::gWaitingTimeMemory
static SUMOTime gWaitingTimeMemory
length of memory for waiting times (in millisecs)
Definition: MSGlobals.h:108
MSGlobals::gStopTolerance
static double gStopTolerance
The tolerance to apply when matching waiting persons and vehicles.
Definition: MSGlobals.h:141
config.h
MSGlobals::gMesoLimitedJunctionControl
static bool gMesoLimitedJunctionControl
Definition: MSGlobals.h:93
MSGlobals::gLaneChangeDuration
static SUMOTime gLaneChangeDuration
Definition: MSGlobals.h:81
MSGlobals::gSemiImplicitEulerUpdate
static bool gSemiImplicitEulerUpdate
Definition: MSGlobals.h:55
MSGlobals::gOmitEmptyEdgesOnDump
static bool gOmitEmptyEdgesOnDump
Information whether empty edges shall be written on dump.
Definition: MSGlobals.h:51
MSGlobals::gSublane
static bool gSublane
whether sublane simulation is enabled (sublane model or continuous lanechanging)
Definition: MSGlobals.h:138
MSGlobals::gTimeToGridlockHighways
static SUMOTime gTimeToGridlockHighways
Definition: MSGlobals.h:62