SUMO - Simulation of Urban MObility
MSGlobals Class Reference

#include <MSGlobals.h>

Collaboration diagram for MSGlobals:
Collaboration graph

Static Public Attributes

static SUMOTime gActionStepLength
 default value for the interval between two action points for MSVehicle (defaults to DELTA_T) More...
 
static bool gCheck4Accidents
 
static bool gCheckRoutes
 
static SUMOTime gIgnoreJunctionBlocker
 
static SUMOTime gLaneChangeDuration
 
static double gLateralResolution
 
static bool gMesoLimitedJunctionControl
 
static SUMOTime gMesoMinorPenalty
 
static MELoop * gMesoNet
 mesoscopic simulation infrastructure More...
 
static bool gMesoOvertaking
 
static double gMesoTLSPenalty
 
static bool gOmitEmptyEdgesOnDump
 Information whether empty edges shall be written on dump. More...
 
static bool gSemiImplicitEulerUpdate
 
static bool gStateLoaded
 Information whether a state has been loaded. More...
 
static SUMOTime gTimeToGridlock
 
static SUMOTime gTimeToGridlockHighways
 
static SUMOTime gTimeToImpatience
 
static bool gUseMesoSim
 
static bool gUsingInternalLanes
 Information whether the simulation regards internal lanes. More...
 
static SUMOTime gWaitingTimeMemory
 length of memory for waiting times (in millisecs) More...
 

Detailed Description

This class holds some static variables, filled mostly with values coming from the command line or the simulation configuration file. They are stored herein to allow a faster access than from the options container.

Definition at line 55 of file MSGlobals.h.

Field Documentation

SUMOTime MSGlobals::gActionStepLength
static

default value for the interval between two action points for MSVehicle (defaults to DELTA_T)

Definition at line 118 of file MSGlobals.h.

Referenced by MSVehicleType::MSVehicleType(), and MSFrame::setMSGlobals().

bool MSGlobals::gCheck4Accidents
static

information whether the network shall check for collisions

Definition at line 82 of file MSGlobals.h.

Referenced by MSPModel_Striping::moveInDirectionOnLane(), MSFrame::setMSGlobals(), and MSNet::simulationStep().

SUMOTime MSGlobals::gIgnoreJunctionBlocker
static

Vehicles on internal lanes (even partially) with a waiting time that exceeds this threshold no longer block cross-traffic on the junction

Definition at line 79 of file MSGlobals.h.

Referenced by MSLink::getLeaderInfo(), and MSFrame::setMSGlobals().

bool MSGlobals::gMesoLimitedJunctionControl
static

Information whether limited junction control shall be used

Definition at line 100 of file MSGlobals.h.

Referenced by MESegment::getLinkPenalty(), MESegment::limitedControlOverride(), and MSFrame::setMSGlobals().

SUMOTime MSGlobals::gMesoMinorPenalty
static

penalty time for passing a minor link

Definition at line 109 of file MSGlobals.h.

Referenced by MESegment::getLinkPenalty(), MESegment::getMaxPenaltySeconds(), MSEdge::recalcCache(), and MSFrame::setMSGlobals().

bool MSGlobals::gMesoOvertaking
static

Information whether overtaking is enabled in the mesoscopic simulation

Definition at line 103 of file MSGlobals.h.

Referenced by MESegment::overtake(), and MSFrame::setMSGlobals().

double MSGlobals::gMesoTLSPenalty
static

scaling factor for macroscopic time penalty when passing tls controlled intersection

Definition at line 106 of file MSGlobals.h.

Referenced by MSTrafficLightLogic::init(), MSTrafficLightLogic::initMesoTLSPenalties(), MSEdge::recalcCache(), and MSFrame::setMSGlobals().

bool MSGlobals::gOmitEmptyEdgesOnDump
static

Information whether empty edges shall be written on dump.

Definition at line 58 of file MSGlobals.h.

Referenced by MSFrame::setMSGlobals(), and MSXMLRawOut::writeEdge().

bool MSGlobals::gSemiImplicitEulerUpdate
static

Definition at line 62 of file MSGlobals.h.

Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_LC2013::_wantsChange(), MSCFModel::brakeGap(), MSLCM_SL2015::commitManoeuvre(), MSCFModel_KraussOrig1::dawdle(), MSCFModel_Krauss::dawdle2(), MSCFModel_KraussX::dawdleX(), MSCFModel::distAfterTime(), MSVehicle::DriveProcessItem::DriveProcessItem(), MSVehicle::executeMove(), MSCFModel_KraussOrig1::followSpeed(), MSCFModel_Krauss::followSpeed(), MSCFModel::followSpeedTransient(), MSCFModel_Rail::freeSpeed(), MSCFModel::freeSpeed(), MSCFModel::gapExtrapolation(), MSVehicle::getDeltaPos(), MSVehicle::getSafeFollowSpeed(), MSLCM_LC2013::inform(), MSLCM_LC2013::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSCFModel_KraussOrig1::insertionFollowSpeed(), MSCFModel::insertionFollowSpeed(), MSCFModel::insertionStopSpeed(), MSCFModel::maximumSafeFollowSpeed(), MSCFModel::maximumSafeStopSpeed(), MSCFModel::minNextSpeed(), MSCFModel_KraussOrig1::moveHelper(), MSCFModel_KraussX::moveHelper(), MSCFModel::moveHelper(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSInstantInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSInductLoop::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSCFModel::passingTime(), MSVehicle::planMoveInternal(), MSVehicle::processLinkAproaches(), MSVehicle::processNextStop(), MSLCM_LC2013::roundaboutDistBonus(), MSFrame::setMSGlobals(), MSCFModel::speedAfterTime(), MSCFModel_KraussOrig1::stopSpeed(), and MSVehicle::updateState().

SUMOTime MSGlobals::gTimeToGridlock
static

Information how long the simulation shall wait until it recognizes a vehicle as a grid lock participant

Definition at line 66 of file MSGlobals.h.

Referenced by MELoop::checkCar(), MSLane::executeMovements(), and MSFrame::setMSGlobals().

SUMOTime MSGlobals::gTimeToGridlockHighways
static

The time to detect grid locks on highways

Definition at line 69 of file MSGlobals.h.

Referenced by MSLane::executeMovements(), and MSFrame::setMSGlobals().

SUMOTime MSGlobals::gTimeToImpatience
static

Information how long a vehicle must wait for impatience to grow from 0 to 1

Definition at line 72 of file MSGlobals.h.

Referenced by MSBaseVehicle::getImpatience(), and MSFrame::setMSGlobals().

bool MSGlobals::gUseMesoSim
static

Information whether mesosim shall be used

Definition at line 97 of file MSGlobals.h.

Referenced by MSVehicleControl::addVehicle(), GUIViewTraffic::buildColorRainbow(), MSDevice_SSM::buildVehicleDevices(), GUIViewTraffic::buildViewToolBars(), MSEdge::closeBuilding(), MSDevice_Tripinfo::computeLengthAndDuration(), GUIDetectorBuilder::createInductLoop(), NLDetectorBuilder::createInductLoop(), GUIEdge::drawGL(), GUILane::drawGL(), MSE3Collector::enter(), GUIApplicationWindow::fillMenuBar(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutput(), MSEdge::getMeanSpeed(), GUIEdge::getPopUpMenu(), GUILane::GUILane(), NLBuilder::init(), MSMeanData::init(), MSEdge::insertVehicle(), MSE3Collector::leave(), MSDevice_Vehroutes::loadState(), MSNet::MSNet(), MSRouteProbe::MSRouteProbe(), MSTriggeredRerouter::MSTriggeredRerouter(), MSStateHandler::myStartElement(), MSDevice_Vehroutes::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSMeanData::MeanDataValues::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GUISUMOViewParent::onCmdLocate(), MSLink::opened(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLaneSpeedTrigger::processCommand(), MSMeanData::resetOnly(), GUILoadThread::run(), MSStateHandler::saveState(), MSDevice_Vehroutes::saveState(), GUILane::setColor(), MSFrame::setMSGlobals(), MSNet::simulationStep(), GUILane::splitAtSegments(), MSDelayBasedTrafficLightLogic::trySwitch(), MSXMLRawOut::writeEdge(), MSMeanData::writeEdge(), MSDevice_Vehroutes::writeOutput(), MSXMLRawOut::writeVehicle(), MSE3Collector::writeXMLOutput(), and MSNet::~MSNet().

SUMOTime MSGlobals::gWaitingTimeMemory
static

length of memory for waiting times (in millisecs)

Definition at line 115 of file MSGlobals.h.

Referenced by MSVehicle::getAccumulatedWaitingTime(), GUIVehicle::getParameterWindow(), and MSFrame::setMSGlobals().


The documentation for this class was generated from the following files: