![]() |
SUMO - Simulation of Urban MObility
|
#include <MSGlobals.h>
Static Public Attributes | |
static bool | gCheck4Accidents |
static bool | gCheckRoutes |
static SUMOTime | gIgnoreJunctionBlocker |
Information whether the simulation regards internal lanes. More... | |
static SUMOTime | gLaneChangeDuration |
static SUMOReal | gLateralResolution |
static bool | gMesoLimitedJunctionControl |
static MELoop * | gMesoNet |
mesoscopic simulation infrastructure More... | |
static bool | gMesoOvertaking |
static SUMOReal | gMesoTLSPenalty |
static bool | gOmitEmptyEdgesOnDump |
Information whether empty edges shall be written on dump. More... | |
static bool | gStateLoaded |
Information whether a state has been loaded. More... | |
static SUMOTime | gTimeToGridlock |
static SUMOTime | gTimeToGridlockHighways |
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 56 of file MSGlobals.h.
|
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 GUILane::closeTraffic(), MSRouteHandler::closeVehicle(), MESegment::initialise(), MSEdge::insertVehicle(), MSRouteHandler::myStartElement(), TraCIServerAPI_Vehicle::processSet(), MSBaseVehicle::replaceRouteEdges(), and MSFrame::setMSGlobals().
|
static |
Information whether the simulation regards internal lanes.
Definition at line 72 of file MSGlobals.h.
Referenced by MSFrame::setMSGlobals(), and MSLink::writeApproaching().
|
static |
information Duration of a lane change maneuver
Definition at line 81 of file MSGlobals.h.
Referenced by MSEdge::buildLaneChanger(), MSLaneChanger::checkChange(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSVehicle::enterLaneAtInsertion(), MSVehicle::fixPosition(), MSAbstractLaneChangeModel::getAngleOffset(), GUIVehicle::getParameterWindow(), MSEdge::initialize(), MSAbstractLaneChangeModel::remainingTime(), MSFrame::setMSGlobals(), MSAbstractLaneChangeModel::startLaneChangeManeuver(), MSLaneChanger::updateChanger(), and MSAbstractLaneChangeModel::updateCompletion().
|
static |
Lateral resolution within a lane
Definition at line 84 of file MSGlobals.h.
Referenced by MSAbstractLaneChangeModel::build(), MSEdge::buildLaneChanger(), MSLCM_SL2015::checkBlockingVehicles(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), GUILane::drawGL(), MSVehicle::enterLaneAtInsertion(), MSEdgeControl::executeMovements(), MSLane::executeMovements(), GUIVehicle::getParameterWindow(), MSLeaderInfo::getSubLanes(), MSEdge::initialize(), MSLane::integrateNewVehicle(), MSLCM_SL2015::MSLCM_SL2015(), MSLink::opened(), MSLCM_SL2015::prepareStep(), TraCIServerAPI_Vehicle::processSet(), MSFrame::setMSGlobals(), MSLink::setRequestInformation(), MSLCM_SL2015::updateGaps(), and MSXMLRawOut::writeVehicle().
|
static |
Information whether limited junction control shall be used
Definition at line 93 of file MSGlobals.h.
Referenced by MESegment::limitedControlOverride(), and MSFrame::setMSGlobals().
|
static |
mesoscopic simulation infrastructure
Definition at line 102 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(), MEVehicle::loadState(), MESegment::loadState(), MSNet::MSNet(), MSRouteProbe::MSRouteProbe(), MSTriggeredRerouter::MSTriggeredRerouter(), MSStateHandler::myStartElement(), MSLaneSpeedTrigger::processCommand(), MESegment::receive(), MSMeanData::resetOnly(), MSStateHandler::saveState(), MESegment::send(), GUIEdge::setMultiColor(), MESegment::setSpeedForQueue(), MSNet::simulationStep(), MESegment::vaporizeAnyCar(), MSXMLRawOut::writeEdge(), MSMeanData::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 |
Information whether empty edges shall be written on dump.
Definition at line 59 of file MSGlobals.h.
Referenced by MSFrame::setMSGlobals(), and MSXMLRawOut::writeEdge().
|
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(), MSInsertionControl::determineCandidates(), MSRouteHandler::myEndElement(), and MSFrame::setMSGlobals().
|
static |
Information how long the simulation shall wait until it recognizes a vehicle as a grid lock participant
Definition at line 63 of file MSGlobals.h.
Referenced by MELoop::checkCar(), MSLane::executeMovements(), MSBaseVehicle::getImpatience(), and MSFrame::setMSGlobals().
|
static |
The time to detect grid locks on highways
Definition at line 66 of file MSGlobals.h.
Referenced by MSLane::executeMovements(), and MSFrame::setMSGlobals().
|
static |
Information whether mesosim shall be used
Definition at line 90 of file MSGlobals.h.
Referenced by GUIViewTraffic::buildViewToolBars(), MSEdge::closeBuilding(), MSRouteHandler::closeVehicle(), MSDevice_Tripinfo::computeLengthAndDuration(), GUIDetectorBuilder::createInductLoop(), NLDetectorBuilder::createInductLoop(), GUIEdge::drawGL(), GUILane::drawGL(), GUILane::drawMarkings(), GUIApplicationWindow::fillMenuBar(), MSActuatedTrafficLightLogic::gapControl(), MSEdge::getMeanSpeed(), GUIEdge::getPopUpMenu(), GUILane::GUILane(), MSMeanData::init(), MSEdge::insertVehicle(), load(), MSNet::MSNet(), MSRouteProbe::MSRouteProbe(), MSTriggeredRerouter::MSTriggeredRerouter(), MSStateHandler::myStartElement(), MSDevice_Tripinfo::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSMeanData::MeanDataValues::notifyLeave(), GUISUMOViewParent::onCmdLocate(), MSLink::opened(), NLTriggerBuilder::parseAndBuildCalibrator(), MSLaneSpeedTrigger::processCommand(), MSMeanData::resetOnly(), GUILoadThread::run(), MSStateHandler::saveState(), MSFrame::setMSGlobals(), MSNet::simulationStep(), GUILane::splitAtSegments(), MSXMLRawOut::writeEdge(), MSMeanData::writeEdge(), MSXMLRawOut::writeVehicle(), and MSNet::~MSNet().
|
static |
Information whether the simulation regards internal lanes.
Definition at line 69 of file MSGlobals.h.
Referenced by NLHandler::addConnection(), NLHandler::beginEdgeParsing(), NLEdgeControlBuilder::build(), MSVehicle::checkRewindLinkLanes(), NLJunctionControlBuilder::closeJunction(), MSDevice_Tripinfo::computeLengthAndDuration(), MSVehicle::executeMove(), MSDevice_Vehroutes::generateOutput(), MSLink::opened(), NLHandler::openJunction(), NLHandler::parseLanes(), MSVehicle::planMoveInternal(), MSRightOfWayJunction::postloadInit(), MSFrame::setMSGlobals(), and TraCIServer::TraCIServer().
|
static |
length of memory for waiting times (in millisecs)
Definition at line 105 of file MSGlobals.h.
Referenced by GUIVehicle::getParameterWindow(), and MSFrame::setMSGlobals().