![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSGlobals.h>
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 bool | gComputeLC |
whether the simulationLoop is in the lane changing phase More... | |
static double | gDefaultEmergencyDecel |
encoding of the string-option default.emergencydecel More... | |
static double | gEmergencyDecelWarningThreshold |
treshold for warning about strong deceleration More... | |
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 double | gMinorPenalty |
time penalty for passing a minor link when routing More... | |
static bool | gModelParkingManoeuver |
whether parking simulation includes manoeuver time and any associated lane blocking More... | |
static int | gNumSimThreads |
how many threads to use for simulation More... | |
static int | gNumThreads |
how many threads to use More... | |
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 double | gStopTolerance |
The tolerance to apply when matching waiting persons and vehicles. More... | |
static bool | gSublane |
whether sublane simulation is enabled (sublane model or continuous lanechanging) More... | |
static SUMOTime | gTimeToGridlock |
static SUMOTime | gTimeToGridlockHighways |
static SUMOTime | gTimeToImpatience |
static bool | gUnitTests |
whether unit tests are being run More... | |
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... | |
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 48 of file MSGlobals.h.
|
static |
default value for the interval between two action points for MSVehicle (defaults to DELTA_T)
Definition at line 111 of file MSGlobals.h.
Referenced by MSVehicleType::MSVehicleType(), and MSFrame::setMSGlobals().
|
static |
information whether the network shall check for collisions
Definition at line 75 of file MSGlobals.h.
Referenced by MSPModel_Striping::moveInDirectionOnLane(), MSFrame::setMSGlobals(), and MSNet::simulationStep().
|
static |
information whether the routes shall be checked for connectivity
Definition at line 78 of file MSGlobals.h.
Referenced by MSLane::checkFailure(), GUILane::closeTraffic(), MSRouteHandler::closeVehicle(), MSInsertionControl::determineCandidates(), METriggeredCalibrator::execute(), MSCalibrator::execute(), libsumo::Simulation::findIntermodalRoute(), MESegment::initialise(), MSBaseVehicle::MSBaseVehicle(), MSRouteHandler::myStartElement(), MSVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::reroute(), MSTransportable::Stage_Trip::setArrived(), MSFrame::setMSGlobals(), and libsumo::Vehicle::setRouteID().
|
static |
whether the simulationLoop is in the lane changing phase
Definition at line 120 of file MSGlobals.h.
Referenced by MSEdgeControl::changeLanes(), MSLink::getLeaderInfo(), and MSCFModel::maximumSafeFollowSpeed().
|
static |
encoding of the string-option default.emergencydecel
Definition at line 114 of file MSGlobals.h.
Referenced by MSVehicleType::build(), and MSFrame::setMSGlobals().
|
static |
treshold for warning about strong deceleration
Definition at line 129 of file MSGlobals.h.
Referenced by MSFrame::setMSGlobals(), and MSVehicle::updateState().
|
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 72 of file MSGlobals.h.
Referenced by MSLink::getLeaderInfo(), and MSFrame::setMSGlobals().
|
static |
information Duration of a lane change maneuver
Definition at line 81 of file MSGlobals.h.
Referenced by MSEdge::buildLaneChanger(), MSLaneChanger::checkChange(), MSAbstractLaneChangeModel::computeSpeedLat(), MSLane::detectCollisionBetween(), MSVehicle::enterLaneAtInsertion(), MSAbstractLaneChangeModel::estimateLCDuration(), MSVehicle::fixPosition(), MSAbstractLaneChangeModel::getAngleOffset(), GUIVehicle::getTypeParameterWindow(), MSAbstractLaneChangeModel::haveLateralDynamics(), MSAbstractLaneChangeModel::laneChangeOutput(), MSLCM_LC2013::prepareStep(), MSAbstractLaneChangeModel::remainingTime(), MSFrame::setMSGlobals(), and MSAbstractLaneChangeModel::startLaneChangeManeuver().
|
static |
Lateral resolution within a lane
Definition at line 84 of file MSGlobals.h.
Referenced by MSAbstractLaneChangeModel::build(), MSEdge::buildLaneChanger(), MSEdgeControl::changeLanes(), MSVehicle::checkLinkLeader(), MSAbstractLaneChangeModel::checkTraCICommands(), MSNet::closeBuilding(), MSLCM_SL2015::computeSpeedGain(), GUILane::drawGL(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtMove(), MSVehicle::executeMove(), MSLane::executeMovements(), MSDevice_Tripinfo::generateOutput(), MSLink::getLeaderInfo(), GUIVehicle::getParameterWindow(), MSLeaderInfo::getSublaneBorders(), MSLeaderInfo::getSubLanes(), MSLCM_SL2015::getSublaneWidth(), GUIVehicle::getTypeParameterWindow(), MSAbstractLaneChangeModel::haveLateralDynamics(), MSEdge::initialize(), MSLane::insertVehicle(), MSLane::integrateNewVehicles(), MSAbstractLaneChangeModel::laneChangeOutput(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), MSLink::MSLink(), MSLink::opened(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSLCM_SL2015::prepareStep(), MSFrame::setMSGlobals(), MSLink::setRequestInformation(), and MSLCM_SL2015::updateGaps().
|
static |
Information whether limited junction control shall be used
Definition at line 93 of file MSGlobals.h.
Referenced by MESegment::getLinkPenalty(), MESegment::limitedControlOverride(), and MSFrame::setMSGlobals().
|
static |
penalty time for passing a minor link
Definition at line 102 of file MSGlobals.h.
Referenced by MESegment::getLinkPenalty(), MESegment::getMaxPenaltySeconds(), MSEdge::recalcCache(), and MSFrame::setMSGlobals().
|
static |
mesoscopic simulation infrastructure
Definition at line 105 of file MSGlobals.h.
Referenced by MEVehicle::addStop(), NLTriggerBuilder::buildMECalibrator(), MSEdge::closeBuilding(), GUIDetectorBuilder::createInductLoop(), NLDetectorBuilder::createInductLoop(), GUIEdge::drawMesoVehicles(), METriggeredCalibrator::execute(), GUIEdge::getBruttoOccupancy(), GUIEdge::getFlow(), MSEdge::getMeanSpeed(), GUIEdge::getSegmentAtPosition(), GUIEdge::getVehicleIDs(), GUIEdge::getVehicleNo(), MSMeanData::init(), MSEdge::insertVehicle(), MESegment::limitedControlOverride(), MESegment::loadState(), MEVehicle::loadState(), MSNet::MSNet(), MSRouteProbe::MSRouteProbe(), MSTriggeredRerouter::MSTriggeredRerouter(), MSStateHandler::myStartElement(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdRemoveObject(), MSLaneSpeedTrigger::processCommand(), MESegment::receive(), MSMeanData::resetOnly(), MSStateHandler::saveState(), MESegment::send(), GUIEdge::setMultiColor(), MESegment::setSpeedForQueue(), MSNet::simulationStep(), MESegment::vaporizeAnyCar(), MSMeanData::writeEdge(), MSXMLRawOut::writeEdge(), and MSNet::~MSNet().
|
static |
Information whether overtaking is enabled in the mesoscopic simulation
Definition at line 96 of file MSGlobals.h.
Referenced by MESegment::overtake(), and MSFrame::setMSGlobals().
|
static |
scaling factor for macroscopic time penalty when passing tls controlled intersection
Definition at line 99 of file MSGlobals.h.
Referenced by MSTrafficLightLogic::init(), MSTrafficLightLogic::initMesoTLSPenalties(), MSEdge::recalcCache(), and MSFrame::setMSGlobals().
|
static |
time penalty for passing a minor link when routing
Definition at line 132 of file MSGlobals.h.
Referenced by MSEdge::recalcCache(), and MSFrame::setMSGlobals().
|
static |
whether parking simulation includes manoeuver time and any associated lane blocking
Definition at line 135 of file MSGlobals.h.
Referenced by MSParkingArea::addLotEntry(), MSVehicleTransfer::checkInsertions(), GUIVehicle::getTypeParameterWindow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSVehicle::processNextStop(), and MSFrame::setMSGlobals().
|
static |
how many threads to use for simulation
Definition at line 123 of file MSGlobals.h.
Referenced by MSEdge::addWaiting(), MSEdgeControl::changeLanes(), MSLane::checkBufferType(), MSEdgeControl::executeMovements(), GUILane::getColorValue(), MSLane::getFirstVehicleInformation(), MSLane::getLastVehicleInformation(), MSPModel::getModel(), MSEdge::getWaitingVehicle(), MSE2Collector::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSE2Collector::notifyMove(), MSInductLoop::notifyMove(), MSInstantInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSEdgeControl::planMovements(), MSEdge::removeWaiting(), MSLane::resetPartialOccupation(), MSFrame::setMSGlobals(), and MSLane::setPartialOccupation().
|
static |
how many threads to use
Definition at line 126 of file MSGlobals.h.
Referenced by MSRoutingEngine::cleanup(), MSRoutingEngine::getRouterTT(), MSEdge::getSuccessors(), MSEdge::getViaSuccessors(), MSNet::informVehicleStateListener(), MSEdgeControl::MSEdgeControl(), and MSFrame::setMSGlobals().
|
static |
Information whether empty edges shall be written on dump.
Definition at line 51 of file MSGlobals.h.
Referenced by MSFrame::setMSGlobals(), and MSXMLRawOut::writeEdge().
|
static |
Definition at line 55 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_Krauss::followSpeed(), MSCFModel_KraussOrig1::followSpeed(), MSCFModel_Rail::followSpeed(), MSCFModel_W99::followSpeed(), MSCFModel::followSpeedTransient(), MSCFModel::freeSpeed(), MSCFModel_Rail::freeSpeed(), MSCFModel::gapExtrapolation(), MSVehicle::getDeltaPos(), MSVehicle::getSafeFollowSpeed(), MSLCM_LC2013::inform(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSCFModel::insertionFollowSpeed(), MSCFModel::insertionStopSpeed(), MSCFModel::maximumSafeFollowSpeed(), MSCFModel::maximumSafeStopSpeed(), MSCFModel_Rail::minNextSpeed(), MSCFModel::minNextSpeed(), MSCFModel::minNextSpeedEmergency(), MSInstantInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSCFModel::passingTime(), MSVehicle::planMoveInternal(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), MSVehicle::processTraCISpeedControl(), MSFrame::setMSGlobals(), MSCFModel::speedAfterTime(), MSCFModel_KraussOrig1::stopSpeed(), and MSVehicle::updateState().
|
static |
Information whether a state has been loaded.
Definition at line 87 of file MSGlobals.h.
Referenced by MSRouteHandler::closeRoute(), MSRouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), MSRouteHandler::closeVehicleTypeDistribution(), MSRouteHandler::closeVType(), MSInsertionControl::determineCandidates(), and MSFrame::setMSGlobals().
|
static |
The tolerance to apply when matching waiting persons and vehicles.
Definition at line 141 of file MSGlobals.h.
Referenced by MSEdge::getWaitingVehicle(), and MSFrame::setMSGlobals().
|
static |
whether sublane simulation is enabled (sublane model or continuous lanechanging)
Definition at line 138 of file MSGlobals.h.
Referenced by MSFrame::setMSGlobals().
|
static |
Information how long the simulation shall wait until it recognizes a vehicle as a grid lock participant
Definition at line 59 of file MSGlobals.h.
Referenced by MELoop::checkCar(), MSLane::executeMovements(), and MSFrame::setMSGlobals().
|
static |
The time to detect grid locks on highways
Definition at line 62 of file MSGlobals.h.
Referenced by MSLane::executeMovements(), and MSFrame::setMSGlobals().
|
static |
Information how long a vehicle must wait for impatience to grow from 0 to 1
Definition at line 65 of file MSGlobals.h.
Referenced by MSBaseVehicle::getImpatience(), and MSFrame::setMSGlobals().
|
static |
whether unit tests are being run
Definition at line 117 of file MSGlobals.h.
Referenced by MSLane::initRestrictions().
|
static |
Information whether mesosim shall be used
Definition at line 90 of file MSGlobals.h.
Referenced by MSVehicle::Influencer::GapControlState::activate(), MSVehicleControl::addVehicle(), GUIViewTraffic::buildColorRainbow(), MSDevice_SSM::buildVehicleDevices(), GUIViewTraffic::buildViewToolBars(), MSNet::cleanupStatic(), MSEdge::closeBuilding(), GUIDetectorBuilder::createInductLoop(), NLDetectorBuilder::createInductLoop(), GUIEdge::drawGL(), GUILane::drawGL(), GUIBaseVehicle::drawOnPos(), MSE3Collector::enter(), GUIApplicationWindow::fillMenuBar(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutput(), MSEdge::getMeanSpeed(), GUIEdge::getPopUpMenu(), GUILane::GUILane(), MSMeanData::init(), NLBuilder::init(), MSNet::initStatic(), NLHandler::initTrafficLightLogic(), MSEdge::insertVehicle(), MSE3Collector::leave(), MSDevice_Tripinfo::loadState(), MSDevice_Vehroutes::loadState(), MSNet::MSNet(), MSRouteProbe::MSRouteProbe(), MSTriggeredRerouter::MSTriggeredRerouter(), MSStateHandler::myStartElement(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Vehroutes::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), MSMeanData::MeanDataValues::notifyLeave(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GUISUMOViewParent::onCmdLocate(), GUIViewTraffic::onGamingClick(), MSLink::opened(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLaneSpeedTrigger::processCommand(), MSMeanData::resetOnly(), GUILoadThread::run(), MSStateHandler::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), GUILane::setColor(), MSFrame::setMSGlobals(), GUITriggeredRerouter::shiftProbs(), MSNet::simulationStep(), GUILane::splitAtSegments(), MSStopOut::stopEnded(), MSDelayBasedTrafficLightLogic::trySwitch(), MSBatteryExport::write(), MSEmissionExport::write(), MSMeanData::writeEdge(), MSXMLRawOut::writeEdge(), MSDevice_Vehroutes::writeOutput(), MSXMLRawOut::writeVehicle(), MSE3Collector::writeXMLOutput(), and MSNet::~MSNet().
|
static |
Information whether the simulation regards internal lanes.
Definition at line 68 of file MSGlobals.h.
Referenced by NLHandler::addConnection(), NLHandler::beginEdgeParsing(), NLEdgeControlBuilder::build(), MSVehicle::checkLinkLeaderCurrentAndParallel(), MSVehicle::checkRewindLinkLanes(), NLJunctionControlBuilder::closeJunction(), MSVehicle::getPositionAlongBestLanes(), GUIVehicle::getPreviousLane(), MSE2Collector::initAuxiliaries(), MSLink::isEntryLink(), MSLink::isExitLink(), MSLink::isExitLinkAfterInternalJunction(), MSLink::opened(), NLHandler::openJunction(), NLHandler::parseLanes(), MSRightOfWayJunction::postloadInit(), MSVehicle::processLaneAdvances(), MSE2Collector::recalculateDetectorLength(), MSTriggeredRerouter::rerouteParkingArea(), MSE2Collector::selectLanes(), MSFrame::setMSGlobals(), TraCIServer::TraCIServer(), MSPModel_Remote::usingInternalLanes(), MSPModel_Striping::usingInternalLanesStatic(), and MSDevice_Vehroutes::writeOutput().
|
static |
length of memory for waiting times (in millisecs)
Definition at line 108 of file MSGlobals.h.
Referenced by MSVehicle::getAccumulatedWaitingTime(), GUIVehicle::getParameterWindow(), and MSFrame::setMSGlobals().