Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
SUMOTime.h File Reference
#include <config.h>
#include <limits>
#include <string>
#include "UtilExceptions.h"
Include dependency graph for SUMOTime.h:

Go to the source code of this file.

Macros

#define ACCEL2DIST(x)
#define ACCEL2SPEED(x)
#define DIST2SPEED(x)
#define SIMSTEP   MSNet::getInstance()->getCurrentTimeStep()
#define SIMTIME   STEPS2TIME(MSNet::getInstance()->getCurrentTimeStep())
#define SPEED2ACCEL(x)
#define SPEED2DIST(x)
#define STEPFLOOR(x)
#define STEPS2MS(x)
#define STEPS2TIME(x)
#define SUMOTime_MAX   (std::numeric_limits<SUMOTime>::max() - 1000)
#define SUMOTime_MAX_PERIOD   (SUMOTime_MAX - SUMOTime_MAX % DELTA_T)
#define SUMOTime_MIN   std::numeric_limits<SUMOTime>::min()
#define TIME2STEPS(x)
#define TS   (static_cast<double>(DELTA_T)/1000.)

Functions

bool checkStepLengthMultiple (const SUMOTime t, const std::string &error="", SUMOTime deltaT=DELTA_T, SUMOTime begin=0)
 check if given SUMOTime is multiple of the step length
void checkTimeBounds (const double time)
 check the valid SUMOTime range of double input and throw an error if out of bounds
std::string elapsedMs2string (long long int t)
 convert ms to string for log output
bool isTime (const std::string &r)
 check if the given string is a valid time
SUMOTime string2time (const std::string &r)
 convert string to SUMOTime
std::string time2string (SUMOTime t)
 convert SUMOTime to string (using the global format setting)
std::string time2string (SUMOTime t, bool humanReadable)
 convert SUMOTime to string (independently of global format setting)

Variables

SUMOTime DELTA_T

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Mirko Barthauer
Date
Fri, 29.04.2005

Definition in file SUMOTime.h.

Macro Definition Documentation

◆ ACCEL2DIST

#define ACCEL2DIST ( x)
Value:
((x)*TS*TS)
#define TS
Definition SUMOTime.h:42

Definition at line 49 of file SUMOTime.h.

Referenced by MSCFModel::freeSpeed(), MSCFModel_EIDM::freeSpeed(), MSCFModel_Rail::freeSpeed(), and MSLCM_DK2008::informBlocker().

◆ ACCEL2SPEED

#define ACCEL2SPEED ( x)
Value:
((x)*TS)

Definition at line 51 of file SUMOTime.h.

Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_CC::_v(), MSCFModel_EIDM::_v(), MSCFModel_IDM::_v(), MSCFModel_Kerner::_v(), MSCFModel_Wiedemann::_v(), MSVehicle::adaptToJunctionLeader(), MSLCM_LC2013::anticipateFollowSpeed(), MSCFModel::brakeGapEuler(), MSLaneChanger::checkChange(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSLCM_SL2015::commitManoeuvre(), HelpersEnergy::compute(), MSLCM_SL2015::computeSpeedLat(), MSCFModel_Daniel1::dawdle(), MSCFModel_KraussOrig1::dawdle(), MSCFModel_SmartSK::dawdle(), MSCFModel_Krauss::dawdle2(), MSCFModel_KraussX::dawdleX(), MSCFModel::distAfterTime(), MSVehicle::executeMove(), MSCFModel::finalizeSpeed(), MSCFModel_CC::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSCFModel_PWag2009::followSpeed(), MSCFModel_W99::followSpeed(), MSCFModel::followSpeedTransient(), MSCFModel::freeSpeed(), MSCFModel_EIDM::freeSpeed(), MSCFModel_Rail::freeSpeed(), MSVehicle::getDeltaPos(), MSCFModel::getSpeedAfterMaxDecel(), MSLink::getZipperSpeed(), MSVehicle::handleCollisionStop(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSCFModel_IDM::insertionFollowSpeed(), MSCFModel_IDM::insertionStopSpeed(), MSVehicle::isLeader(), MSCFModel::maximumSafeFollowSpeed(), MSCFModel_EIDM::maximumSafeFollowSpeed(), MSCFModel::maximumSafeStopSpeed(), MSCFModel::maximumSafeStopSpeedBallistic(), MSCFModel::maximumSafeStopSpeedEuler(), MSCFModel::maxNextSpeed(), MSCFModel_CC::maxNextSpeed(), MSCFModel_KraussPS::maxNextSpeed(), MSCFModel_Rail::maxNextSpeed(), MSCFModel::minNextSpeed(), MSCFModel_CC::minNextSpeed(), MSCFModel_IDM::minNextSpeed(), MSCFModel_Rail::minNextSpeed(), MSCFModel::minNextSpeedEmergency(), MSDevice_ToC::MRMExecutionStep(), MSDevice_ElecHybrid::notifyMove(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSCFModel_EIDM::patchSpeedBeforeLCEIDM(), MSVehicle::processLinkApproaches(), MSVehicle::setBrakingSignals(), MSCFModel_CACC::speedSpeedControl(), MSCFModel_PWag2009::stopSpeed(), MSCFModel_KraussOrig1::vsafe(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().

◆ DIST2SPEED

◆ SIMSTEP

#define SIMSTEP   MSNet::getInstance()->getCurrentTimeStep()

Definition at line 61 of file SUMOTime.h.

Referenced by MSVehicle::Influencer::GapControlState::activate(), MSPModel_JuPedSim::add(), LIBSUMO_NAMESPACE::Polygon::addDynamics(), MSLink::blockedByFoe(), MSTransportableDevice_FCDReplay::buildDevices(), MSBaseVehicle::calculateArrivalParams(), MSDevice_Taxi::cancelCurrentCustomers(), MSDriveWay::canUseSiding(), MSDevice_Transportable::changeAttached(), MSPerson::checkAccess(), MSLane::checkFailure(), MSVehicle::checkRewindLinkLanes(), MSTriggeredRerouter::checkStopSwitch(), MSDispatch_Greedy::computeDispatch(), MSLink::computeFoeArrivalTimeBraking(), NEMALogic::constructTimingAndPhaseDefs(), MSDevice_Taxi::customerArrived(), MSVehicleControl::deleteKeptVehicle(), MSDevice_SSM::determineConflictPoint(), GUIBaseVehicle::drawChargingInfo(), GUIBaseVehicle::drawParkingInfo(), GUIVehicle::drawRouteHelper(), MSE3Collector::enter(), MSParkingArea::enter(), MSDriveWay::enterDriveWay(), MSDevice_SSM::estimateConflictTimes(), MSDevice_StationFinder::estimateConsumption(), MSActuatedTrafficLightLogic::evalAtomicExpression(), MSStoppingPlaceRerouter::evaluateDestination(), Command_RouteReplacement::execute(), MSVehicle::executeMove(), MSDevice_StationFinder::findChargingStation(), GUINet::flushOutputsAtEnd(), MSVehicle::Influencer::gapControlSpeed(), MSDevice_Tripinfo::generateOutput(), MSMeanData_Net::getAttributeValue(), GUIVehicle::getColorValue(), MSBaseVehicle::getDepartDelay(), libsumo::Helper::getDrivingDistance(), MSSimpleTrafficLightLogic::getEarliest(), MSInductLoop::getEnteredNumber(), LIBSUMO_NAMESPACE::InductionLoop::getIntervalOccupancy(), MEVehicle::getLastActionTime(), MSInductLoop::getLastDetectionTime(), MSStoppingPlace::getLastFreePos(), MSSimpleTrafficLightLogic::getLatest(), MSLink::getLeaderInfo(), MSInductLoop::getOccupancy(), MSDevice_Battery::getParameter(), MSInductLoop::getSpeed(), MSTrafficLightLogic::getSpentDuration(), LIBSUMO_NAMESPACE::Person::getStage(), GUIPerson::getStopDuration(), MSTrafficLightLogic::getTimeInCycle(), MSDevice_GLOSA::getTimeToSwitch(), LIBSUMO_NAMESPACE::InductionLoop::getVehicleData(), MSInductLoop::getVehicleIDs(), MSInductLoop::getVehicleLength(), MSStageDriving::getWaitingTime(), LIBSUMO_NAMESPACE::Person::getWalkingDistance(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSVehicle::Influencer::implicitDeltaPosRemote(), MSDevice_FCDReplay::init(), MSRailSignal::initDriveWays(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::joinTrainPartFront(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSTransportableControl::loadAnyWaiting(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), MSDevice_Routing::loadState(), MSPModel_Striping::loadState(), MSStageDriving::loadState(), MSVehicle::loadState(), MSPModel_Striping::moveInDirection(), LIBSUMO_NAMESPACE::Person::moveTo(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSTransportableDevice_Routing::MSTransportableDevice_Routing(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_Routing::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDriveWay::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_ToC::notifyMove(), MSE2Collector::notifyMove(), MSDriveWay::notifyReroute(), MSDevice_Routing::notifyStopEnded(), GUIApplicationWindow::onCmdBreakpoint(), GUIApplicationWindow::onCmdBreakpointEarly(), GUIApplicationWindow::onKeyPress(), GUIApplicationWindow::onKeyRelease(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSDevice_StationFinder::planOpportunisticCharging(), MSVehicle::Influencer::postProcessRemoteControl(), MSDevice_Taxi::prepareStop(), MSStageDriving::proceed(), MSVehicle::processNextStop(), MSPModel_Striping::registerCrossingApproach(), StoppingPlaceMemory::rememberBlockedStoppingPlace(), MSLink::removeApproachingPerson(), MSTransportable::removeStage(), MSBaseVehicle::replaceRoute(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSInductLoop::reset(), MSMeanData_Amitran::MSLaneMeanDataValues::reset(), MSMeanData_Emissions::MSLaneMeanDataValues::reset(), MSMeanData_Harmonoise::MSLaneMeanDataValues::reset(), MSMeanData_Net::MSLaneMeanDataValues::reset(), MEVehicle::resumeFromStopping(), MSTransportable::setAbortWaiting(), MSLane::setMaxSpeed(), MSDevice_Routing::setParameter(), MSTransportableDevice_Routing::setParameter(), MSSimpleTrafficLightLogic::setPhases(), signalHandler(), MSVehicle::slowDownForSchedule(), LIBSUMO_NAMESPACE::Simulation::step(), MSStopOut::stopEnded(), MSDevice_Transportable::transferAtSplitOrJoin(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSActuatedTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSDevice_StationFinder::updateChargeLimit(), MSRailSignal::updateCurrentPhase(), MSDevice_Taxi::updateMove(), MSVehicle::Influencer::updateRemoteControlRoute(), MSVehicle::updateState(), MSCFModel_Krauss::VehicleVariables::VehicleVariables(), MSPModel_Striping::PState::walk(), MSStageWalking::walkDistance(), MSChargingStation::writeAggregatedChargingStationOutput(), and MSNet::writeCollisions().

◆ SIMTIME

#define SIMTIME   STEPS2TIME(MSNet::getInstance()->getCurrentTimeStep())

Definition at line 62 of file SUMOTime.h.

Referenced by MSRoutingEngine::_initEdgeWeights(), MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_ACC::_v(), MSCFModel_CACC::_v(), MSCFModel_EIDM::_v(), MSCFModel_IDM::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSRoutingEngine::adaptEdgeEfforts(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSPModel_Striping::addCrossingVehs(), LIBSUMO_NAMESPACE::Polygon::addDynamics(), MSLaneChangerSublane::addOutsideLeaders(), MSDispatch::addReservation(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilters(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), MSDriveWay::buildDriveWay(), MSE2Collector::buildJam(), MSDriveWay::buildSubFoe(), MSCFModel::calculateEmergencyDeceleration(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCustomer(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), MSDevice_SSM::checkConflictEntryAndExit(), MSDevice_ToC::checkDynamicToC(), MSLane::checkForPedestrians(), MSE2Collector::checkJam(), MSVehicle::checkLinkLeader(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSTriggeredRerouter::checkStopSwitch(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSDevice_SSM::classifyEncounter(), MSAbstractLaneChangeModel::cleanupShadowLane(), MSAbstractLaneChangeModel::cleanupTargetLane(), MSDevice_SSM::closeEncounter(), MSLCM_SL2015::commitManoeuvre(), MSVehicle::computeAngle(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), MSDevice_SSM::computeDRAC(), MSLink::computeFoeArrivalTimeBraking(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), MSLaneChanger::computeSafeOppositeLength(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), MSDriveWay::conflictLaneOccupied(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), MSDevice_SSM::createEncounters(), MSDevice_ToC::deactivateDeliberateLCs(), MSLCM_SL2015::decideDirection(), MSActuatedTrafficLightLogic::decideNextPhase(), MSActuatedTrafficLightLogic::decideNextPhaseCustom(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE2Collector::detectorUpdate(), MSE3Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), MSDevice_SSM::determineConflictPoint(), MSDevice_SSM::determinePET(), MSDevice_SSM::determineTTCandDRACandPPETandMDRAC(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUIEdge::drawMesoVehicles(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), NEMAPhase::enter(), MSVehicle::enterLaneAtLaneChange(), MSDevice_BTreceiver::BTreceiverUpdate::enterRange(), MSDevice_SSM::estimateConflictTimes(), MSPModel_Striping::MovePedestrians::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), MSCFModel::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), MSLaneChangerSublane::findClosestLeader(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSDriveWay::foeDriveWayApproached(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), MSActuatedTrafficLightLogic::gapControl(), MSVehicle::getBackPositionOnLane(), MSLaneChanger::getBestLanesOpposite(), GUIMEVehicle::getCenteringBoundary(), MSLane::getCriticalLeader(), MSRailSignal::LinkInfo::getDriveWay(), MSSimpleTrafficLightLogic::getEarliest(), MSLane::getFollowersOnConsecutive(), MSInductLoop::getIntervalOccupancy(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLink::getLeaderInfo(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSPModel_Striping::getNeighboringObstacles(), MSPModel_Striping::getNextLane(), MSInductLoop::getOccupancy(), MSInductLoop::getOccupancyTime(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getOncomingVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), MSLCHelper::getRoundaboutDistBonus(), MSCFModel_CACC::getSecureGap(), MSAbstractLaneChangeModel::getShadowLane(), LIBSUMO_NAMESPACE::Simulation::getTime(), MSInductLoop::getTimeSinceLastDetection(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSLink::getZipperSpeed(), MSRailSignal::hasInsertionConstraint(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::insertVehicle(), MSE2Collector::integrateMoveNotification(), MSLane::integrateNewVehicles(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), MSLCM_SL2015::keepLatGap(), MSVehicle::lateralDistanceToLane(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MSCFModel::maximumSafeFollowSpeed(), MSCFModel_EIDM::maximumSafeFollowSpeed(), MSCFModel::maximumSafeStopSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_ToC::MRMExecutionStep(), MSDevice_Bluelight::MSDevice_Bluelight(), MSLCM_LC2013::MSLCM_LC2013(), MSSimpleDriverState::MSSimpleDriverState(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_Bluelight::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDriveWay::notifyEnter(), MSE2Collector::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSInductLoop::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDriveWay::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSInductLoop::notifyLeave(), MSInstantInductLoop::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_Bluelight::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSDevice_StationFinder::notifyMove(), MSE2Collector::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSInductLoop::notifyMove(), MSInstantInductLoop::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSDriveWay::notifyReroute(), MSVehicle::onRemovalFromNet(), MSLink::opened(), MSBaseVehicle::optimizeSkipped(), MSLaneChangerSublane::outputLCStarted(), MSInductLoop::overrideTimeSinceDetection(), MSTriggeredRerouter::overtakingTrain(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSLCM_SL2015::prepareStep(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), TraCIServer::processCommands(), MSDevice_SSM::processEncounters(), MSE2Collector::processJams(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), TraCIServer::processReorderingRequests(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), MSDelayBasedTrafficLightLogic::proposeProlongation(), MSPModel_Striping::PState::PState(), MSDevice_SSM::qualifiesAsConflict(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), MSVehicle::removePassedDriveItems(), MSDispatch::removeReservation(), MSBaseVehicle::replaceRoute(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), MSTransportable::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), MSLane::safeInsertionSpeed(), MSLCM_LC2013::saveBlockerLength(), GUIVehicle::selectBlockingFoes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSSimpleDriverState::setAwareness(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSLane::setPartialOccupation(), MSDevice_ToC::setState(), MSNet::simulate(), MSNet::simulationStep(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSCFModel_EIDM::slowToStartTerm(), MSLaneChangerSublane::startChangeSublane(), MSPModel_Striping::PState::stopForYellow(), MSCFModel_EIDM::stopSpeed(), MSDevice_ToC::switchHolderType(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_ToC::ToCPreparationStep(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSPModel_Interacting::unregisterCrossingApproach(), MSDevice_SSM::update(), MSSimpleDriverState::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSDevice_Taxi::updateMove(), MSDevice_SSM::updatePassedEncounter(), MSDispatch::updateReservationFromPos(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSSimpleDriverState::updateStepDuration(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSPModel_Striping::PState::walk(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSMeanData_Net::MSLaneMeanDataValues::write(), MSDevice_SSM::writeOutConflict(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), and MSDevice_SSM::Encounter::~Encounter().

◆ SPEED2ACCEL

◆ SPEED2DIST

#define SPEED2DIST ( x)
Value:
((x)*TS)

Definition at line 45 of file SUMOTime.h.

Referenced by MSCFModel_EIDM::_v(), MSCFModel_IDM::_v(), MSCFModel_Kerner::_v(), MSCFModel::brakeGapEuler(), MSAbstractLaneChangeModel::calcAngleOffset(), MSLCM_SL2015::checkBlocking(), GUIApplicationWindow::checkGamingEventsDRT(), HelpersEnergy::compute(), MSAbstractLaneChangeModel::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), MSLane::detectCollisions(), MSCFModel::distAfterTime(), MSLCM_SL2015::emergencySpeedLat(), MSCFModel_W99::followSpeed(), MSCFModel::followSpeedTransient(), MSCFModel::freeSpeed(), MSCFModel_EIDM::freeSpeed(), MSCFModel_Rail::freeSpeed(), MSVehicle::getDeltaPos(), MSRailSignal::LinkInfo::getDriveWay(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSLCHelper::getSpeedPreservingSecureGap(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSVehicle::Influencer::implicitDeltaPosRemote(), MSLCM_DK2008::informBlocker(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSCFModel::interactionGap(), MSCFModel_EIDM::interactionGap(), MSCFModel_IDM::interactionGap(), LIBSUMO_NAMESPACE::Vehicle::moveTo(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSE2Collector::notifyMovePerson(), MSE3Collector::notifyMovePerson(), MSInductLoop::notifyMovePerson(), MSVehicle::planMoveInternal(), MSLCM_LC2013::prepareStep(), MSLink::railSignalWasPassed(), MSVehicle::State::State(), MSSimpleDriverState::updateAssumedGaps(), MSAbstractLaneChangeModel::updateCompletion(), MSVehicle::updateState(), MSPModel_Striping::PState::walk(), and MSLCM_SL2015::wantsChangeSublane().

◆ STEPFLOOR

#define STEPFLOOR ( x)
Value:
(static_cast<SUMOTime>((x)/DELTA_T)*DELTA_T)
long long int SUMOTime
Definition GUI.h:36
SUMOTime DELTA_T
Definition SUMOTime.cpp:38

Definition at line 58 of file SUMOTime.h.

Referenced by MSVehicleControl::vehicleDeparted().

◆ STEPS2MS

#define STEPS2MS ( x)
Value:
(x)

Definition at line 59 of file SUMOTime.h.

Referenced by MSFrame::buildStreams(), and MSAmitranTrajectories::writeVehicle().

◆ STEPS2TIME

#define STEPS2TIME ( x)
Value:
(static_cast<double>(x)/1000.)

Definition at line 55 of file SUMOTime.h.

Referenced by MSCFModel_CC::_consensus(), MSCFModel_CC::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSRoutingEngine::adaptEdgeEfforts(), MSNet::adaptIntermodalRouter(), RONet::adaptIntermodalRouter(), RORouteDef::addAlternative(), TraCIServer::addObjectVariableSubscription(), GUIParameterTracker::addTrackedMultiplot(), MSLink::blockedByFoe(), NBOwnTLDef::buildAllRedState(), CHBuilder< E, V >::buildContractionHierarchy(), libsumo::Helper::buildStopData(), NEMALogic::calculateForceOffs170(), LogitCalculator< R, E, V >::calculateProbabilities(), MSLaneChanger::changeOpposite(), MSVehicle::Influencer::changeRequestRemainingSeconds(), MSVehicleType::check(), MSLaneChanger::checkOppositeStop(), MSVehicle::checkRewindLinkLanes(), checkTimeBounds(), MSInductLoop::clearState(), MSInductLoop::collectVehiclesOnDet(), AStarRouter< _IntermodalEdge, _IntermodalTrip, _MapMatcher >::compute(), DijkstraRouter< _IntermodalEdge, _IntermodalTrip >::compute(), IntermodalRouter< MSEdge, MSLane, MSJunction, SUMOVehicle >::compute(), ROJTRRouter::compute(), AFBuild< E, N, V, M >::computeArcFlagsAux(), MSStageWalking::computeAverageSpeed(), MSDispatch::computeDetourTime(), MSLink::computeFoeArrivalTimeBraking(), ROPerson::computeIntermodal(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V, M >::computeNode2Edges(), MSLaneChanger::computeOvertakingTime(), computeRoutes(), NBTrafficLightLogicCont::computeSingleLogic(), MSAbstractLaneChangeModel::computeSpeedLat(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSCalibrator::currentFlow(), GUIBaseVehicle::drawLinkItem(), GNEStop::drawStopLabel(), GUIBaseVehicle::drawStopLabels(), GUITLLogicPhasesTrackerWindow::drawValues(), elapsedMs2string(), MSE3Collector::enter(), MSDevice_StationFinder::estimateConsumption(), MSAbstractLaneChangeModel::estimateLCDuration(), MSActuatedTrafficLightLogic::evalAtomicExpression(), MSDevice_StationFinder::evaluateCustomComponents(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSPModel_JuPedSim::execute(), LIBSUMO_NAMESPACE::Person::filterReservation(), MSActuatedTrafficLightLogic::gapControl(), MSDevice_Tripinfo::generateOutput(), MSNet::generateStatistics(), MSVehicle::getAccumulatedWaitingSeconds(), LIBSUMO_NAMESPACE::TrafficLight::getAllProgramLogics(), GNECalibratorFlow::getAttribute(), GNECalibratorFlow::getAttributeDouble(), GNERerouterInterval::getAttributeDouble(), GNERouteProbe::getAttributeDouble(), GNEVaporizer::getAttributeDouble(), MSMeanData_Net::MSLaneMeanDataValues::getAttributeValue(), MEVehicle::getAverageSpeed(), MSDevice_Tripinfo::getAvgBikeDepartDelay(), MSDevice_Tripinfo::getAvgBikeDuration(), MSDevice_Tripinfo::getAvgBikeTimeLoss(), MSDevice_Tripinfo::getAvgBikeWaitingTime(), MSDevice_Tripinfo::getAvgDepartDelay(), MSDevice_Tripinfo::getAvgDepartDelayWaiting(), MSDevice_Tripinfo::getAvgDuration(), MSDevice_Tripinfo::getAvgRideDuration(), MSDevice_Tripinfo::getAvgRideWaitingTime(), MSDevice_Tripinfo::getAvgTimeLoss(), MSDevice_Tripinfo::getAvgWaitingTime(), MSDevice_Tripinfo::getAvgWalkDuration(), MSDevice_Tripinfo::getAvgWalkTimeLoss(), LIBSUMO_NAMESPACE::Calibrator::getBegin(), MEVehicle::getBlockTimeSeconds(), LIBSUMO_NAMESPACE::ChargingStation::getChargeDelay(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), MEVehicle::getConservativeSpeed(), GUITrafficLightLogicWrapper::getCurrentDurationSeconds(), GUITrafficLightLogicWrapper::getCurrentEarliestEndSeconds(), GUITrafficLightLogicWrapper::getCurrentLatestEndSeconds(), MEVehicle::getCurrentLinkPenaltySeconds(), GUITrafficLightLogicWrapper::getCurrentMaxDurSeconds(), GUITrafficLightLogicWrapper::getCurrentMinDurSeconds(), MEVehicle::getCurrentStoppingTimeSeconds(), GUITrafficLightLogicWrapper::getCurrentTimeInCycleSeconds(), GUITrafficLightLogicWrapper::getDefaultCycleTimeSeconds(), LIBSUMO_NAMESPACE::Vehicle::getDepartDelay(), LIBSUMO_NAMESPACE::Vehicle::getDeparture(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSStageTranship::getDistance(), MSSimpleTrafficLightLogic::getEarliest(), GUINet::getEdgeData(), LIBSUMO_NAMESPACE::Calibrator::getEnd(), LIBSUMO_NAMESPACE::Simulation::getEndTime(), MESegment::getEntryBlockTimeSeconds(), MESegment::getEventTimeSeconds(), MEVehicle::getEventTimeSeconds(), GNEDemandElementFlow::getFlowAttribute(), GNEDemandElementFlow::getFlowAttributeDouble(), MSDevice_Tripinfo::getGlobalParameter(), MSPerson::getImpatience(), MSPModel_Striping::PState::getImpatience(), PublicTransportEdge< E, L, N, V >::getIntended(), MSNet::getIntermodalRouter(), MSInductLoop::getIntervalOccupancy(), LIBSUMO_NAMESPACE::Vehicle::getLastActionTime(), MEVehicle::getLastEntryTimeSeconds(), MESegment::getLastHeadwaySeconds(), GUIVehicle::getLastLaneChangeOffset(), MSSimpleTrafficLightLogic::getLatest(), MSLink::getLeaderInfo(), GUILane::getLoadedEdgeWeight(), SUMOVTypeParameter::getManoeuverAngleTimesS(), MSCalibrator::getNewVehicleID(), LIBSUMO_NAMESPACE::TrafficLight::getNextSwitch(), MSInductLoop::getOccupancy(), MSMeanData_Net::MSLaneMeanDataValues::getOccupancy(), MSCFModel_CC::getParameter(), MSDevice_Battery::getParameter(), MSDevice_Taxi::getParameter(), MSDevice_ToC::getParameter(), MSDevice_Tripinfo::getParameter(), MSSimpleTrafficLightLogic::getParameter(), GUICalibrator::getParameterWindow(), GUIChargingStation::getParameterWindow(), LIBSUMO_NAMESPACE::TrafficLight::getPhaseDuration(), MSPModel_NonInteracting::CState::getPosition(), MSBaseVehicle::getPrefixedParameter(), GUITrafficLightLogicWrapper::getRunningDurationSeconds(), GUIBaseVehicle::getScaleValue(), MSPerson::MSPersonStage_Access::getSpeed(), LIBSUMO_NAMESPACE::TrafficLight::getSpentDuration(), LIBSUMO_NAMESPACE::Person::getStage(), GNETLSEditorFrame::getSteps2Time(), MSVehicle::getStopArrivalDelay(), MSVehicle::getStopDelay(), GUIPerson::getStopDuration(), LIBSUMO_NAMESPACE::Vehicle::getStops(), GUILane::getStoredEdgeTravelTime(), MESegment::getTauJJ(), MSVehicle::getTimeSinceStartupSeconds(), MSDevice_GLOSA::getTimeToNextSwitch(), MSDevice_GLOSA::getTimeToSwitch(), MSDevice_Tripinfo::getTotalBikeDepartDelay(), MSDevice_Tripinfo::getTotalDepartDelay(), PedestrianEdge< E, L, N, V >::getTravelTime(), PublicTransportEdge< E, L, N, V >::getTravelTime(), GUIEdge::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), MSCFModel_CC::getVehicleInformation(), MSBaseVehicle::getWaitingSeconds(), MSTransportable::getWaitingSeconds(), LIBSUMO_NAMESPACE::Vehicle::getWaitingTime(), MSLink::getZipperSpeed(), GUIDialog_AppSettings::GUIDialog_AppSettings(), LIBSUMO_NAMESPACE::ChargingStation::handleVariable(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), MSDevice_StationFinder::implementChargingStrategy(), ROMAAssignments::incremental(), MSVehicle::Influencer::influenceSpeed(), AFCentralizedSPTree< E, N, V >::init(), AFRouter< E, N, V, M >::init(), MSActuatedTrafficLightLogic::init(), NEMALogic::init(), Node2EdgeRouter< E, N, V, M >::init(), SUMOAbstractRouter< MSEdge, SUMOVehicle >::init(), MSPModel_JuPedSim::initialize(), MSTrafficLightLogic::initMesoTLSPenalties(), MSRoutingEngine::initRouter(), MSLane::insertVehicle(), isTime(), MESegment::jamThresholdForSpeed(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), LIBSUMO_NAMESPACE::Simulation::loadState(), MSE2Collector::makeMoveNotification(), MSCFModel_Krauss::MSCFModel_Krauss(), MSDevice_Routing::MSDevice_Routing(), MSDevice_Taxi::MSDevice_Taxi(), MSVehicleType::MSVehicleType(), ROMARouteHandler::myEndElement(), MSTriggeredRerouter::myStartElement(), ROJTRTurnDefLoader::myStartElement(), SAXWeightsHandler::myStartElement(), TrajectoriesHandler::myStartElement(), MESegment::newArrival(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSMeanData_Amitran::openInterval(), DataHandler::parseInterval(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSRoutingEngine::patchSpeedForTurns(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSDevice_Tripinfo::printRideStatistics(), SUMOVehicleParserHelper::processActionStepLength(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MSEdge::recalcCache(), RailwayRouter< E, V >::recomputeCosts(), SUMOAbstractRouter< MSEdge, SUMOVehicle >::recomputeCosts(), Node2EdgeRouter< E, N, V, M >::recomputeCostsNoLastEdge(), SUMOAbstractRouter< MSEdge, SUMOVehicle >::recomputeCostsPos(), MSVehicleControl::removePending(), MSDevice_ToC::requestToC(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), ROMAAssignments::resetFlows(), ROJTRTurnDefLoader::ROJTRTurnDefLoader(), MSStageTranship::routeOutput(), GUILoadThread::run(), MSInsertionControl::saveState(), MSVehicleType::setActionStepLength(), EnergyParams::setDynamicValues(), GNEDemandElementFlow::setFlowAttribute(), SUMOAbstractRouter< MSEdge, SUMOVehicle >::setHint(), MSPModel_JuPedSim::PState::setPosition(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), SigmoidLogic::sigmoidLogic(), MSVehicle::slowDownForSchedule(), MSCFModel_EIDM::slowToStartTerm(), MSStopOut::stopEnded(), MSPModel_Striping::PState::stopForYellow(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), string2time(), libsumo::Helper::subscribe(), ROMAAssignments::sue(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_GLOSA::timeGreen(), MSCalibrator::totalWished(), MSActuatedTrafficLightLogic::trySwitch(), PolygonDynamics::update(), MSDevice_StationFinder::updateChargeLimit(), MSMoveReminder::updateDetector(), MSSwarmTrafficLightLogic::updateSensitivities(), NEMALogic::validate_timing(), MSDevice_StationFinder::validComponentValues(), MSVehicleControl::vehicleDeparted(), MSPModel_Striping::PState::walk(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), MSMeanData_Harmonoise::MSLaneMeanDataValues::write(), MSMeanData_Net::MSLaneMeanDataValues::write(), SUMOVehicleParameter::write(), SUMOVTypeParameter::write(), Command_SaveTLSProgram::writeCurrent(), ODMatrix::writeFlows(), ROMAAssignments::writeInterval(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Tripinfo::writeRideStatistics(), GNETLSEditorFrame::TLSFile::writeSUMOTime(), NWWriter_SUMO::writeSUMOTime(), ParquetFormatter::writeTime(), RORoute::writeXMLDefinition(), MSCalibrator::writeXMLOutput(), MSE2Collector::writeXMLOutput(), MSE3Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), and MSLaneChanger::yieldToOppositeWaiting().

◆ SUMOTime_MAX

#define SUMOTime_MAX   (std::numeric_limits<SUMOTime>::max() - 1000)

Definition at line 34 of file SUMOTime.h.

Referenced by TraCIServer::addObjectVariableSubscription(), GUIEdge::addRerouter(), AFRouter< E, N, V, M >::AFRouter(), GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), libsumo::Helper::buildStopParameters(), GNEVehicleFrame::buildVehicleOverRoute(), MELoop::changeSegment(), MELoop::checkCar(), MEVehicle::checkStop(), checkTimeBounds(), CHRouter< E, V >::CHRouter(), AFRouter< E, N, V, M >::clone(), CHRouter< E, V >::clone(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), NBOwnTLDef::computeLogicAndConts(), MSDispatch::computePickupTime(), computeRoutes(), computeRoutes(), NLDetectorBuilder::createEdgeLaneMeanData(), GNEVehicleFrame::createPath(), GUINet::DiscoverAttributes::DiscoverAttributes(), MSCalibrator::execute(), MSStage::getDuration(), MSStageDriving::getDuration(), MESegment::getEntryBlockTimeSeconds(), MESegment::getEventTime(), PublicTransportEdge< E, L, N, V >::getIntended(), MSSimpleTrafficLightLogic::getLatest(), MSLink::getLeaveTime(), SUMOSAXAttributes::getOptOffsetReporting(), MSStageDriving::getTimeLoss(), MSStageDriving::getTravelTime(), PublicTransportEdge< E, L, N, V >::getTravelTime(), MSStageDriving::getWaitingTime(), MSVehicle::getWaitingTimeFor(), MESegment::hasSpaceFor(), MSCalibrator::init(), MSRoutingEngine::initRouter(), MSActuatedTrafficLightLogic::initTargets(), NLHandler::initTrafficLightLogic(), isTime(), SUMORouteLoaderControl::loadNext(), MEVehicle::loadState(), SUMORouteLoader::loadUntil(), main(), MEVehicle::MEVehicle(), MSMeanData::MSMeanData(), MSPModel_Striping::MSPModel_Striping(), MSVehicle::MSVehicle(), MSTriggeredRerouter::myStartElement(), MSDevice_StationFinder::notifyMove(), SUMOVehicleParserHelper::parseFlowAttributes(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MESegment::receive(), MSVehicle::registerInsertionApproach(), GUIVehicle::rerouteDRTStop(), ROJTRTurnDefLoader::ROJTRTurnDefLoader(), RONet::saveAndRemoveRoutesUntil(), LIBSUMO_NAMESPACE::Vehicle::setSpeed(), string2time(), libsumo::Helper::subscribe(), SUMORouteLoaderControl::SUMORouteLoaderControl(), time2string(), MSStageDriving::tripInfoOutput(), MSStageWaiting::tripInfoOutput(), MSTransportable::tripInfoOutput(), MSRailSignal::trySwitch(), MSFCDExport::write(), RONet::writeIntermodal(), NWWriter_SUMO::writeTrafficLight(), and MSE2Collector::~MSE2Collector().

◆ SUMOTime_MAX_PERIOD

◆ SUMOTime_MIN

◆ TIME2STEPS

#define TIME2STEPS ( x)
Value:
(static_cast<SUMOTime>((x) * 1000. + ((x) >= 0 ? 0.5 : -0.5)))

Definition at line 57 of file SUMOTime.h.

Referenced by MSDevice_GLOSA::adaptSpeed(), LIBSUMO_NAMESPACE::Person::add(), NLHandler::addE2Detector(), TraCIServer::addObjectVariableSubscription(), NBOwnTLDef::addPedestrianPhases(), NBOwnTLDef::addPedestrianScramble(), NIImporter_SUMO::addPhase(), ODMatrix::addTazRelWeight(), AGActivityTripWriter::addTrip(), LIBSUMO_NAMESPACE::Person::appendWaitingStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), ODMatrix::applyCurve(), NLHandler::beginE3Detector(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedByFoe(), NBOwnTLDef::buildAllRedState(), GNETLSEditorFrame::TLSPhases::buildDefaultPhase(), GNEMeanDataHandler::buildEdgeMeanData(), GNEMeanDataHandler::buildLaneMeanData(), NBOwnTLDef::buildNemaPhases(), libsumo::Helper::buildStopParameters(), MSDevice_ToC::buildVehicleDevices(), NEMALogic::calculateForceOffs170(), LIBSUMO_NAMESPACE::Vehicle::changeLane(), LIBSUMO_NAMESPACE::Vehicle::changeLaneRelative(), MSLaneChanger::changeOpposite(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSFrame::checkOptions(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), MSTriggeredRerouter::checkStopSwitch(), RORouteHandler::closePersonFlow(), MSRouteHandler::closeTransportableFlow(), IntermodalRouter< MSEdge, MSLane, MSJunction, SUMOVehicle >::compute(), PedestrianRouter< MSEdge, MSLane, MSJunction, SUMOVehicle >::compute(), MSDispatch::computeDetourTime(), MSPModel_NonInteracting::CState::computeDuration(), MSPModel_NonInteracting::PState::computeDuration(), NBOwnTLDef::computeEscapeTime(), MSLink::computeFoeArrivalTimeBraking(), ROPerson::computeIntermodal(), NBOwnTLDef::computeLogicAndConts(), MSDispatch::computePickupTime(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), TraCIServer::dispatchCommand(), MSDevice_Taxi::dispatchShared(), GUITLLogicPhasesTrackerWindow::drawValues(), MSActuatedTrafficLightLogic::duration(), MSE3Collector::enter(), MSDevice_Battery::estimateChargingDuration(), METriggeredCalibrator::execute(), MSDevice_StationFinder::findChargingStation(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), LIBSUMO_NAMESPACE::Simulation::findRoute(), MSLane::getCriticalLeader(), ROPerson::TripItem::getDuration(), MSActuatedTrafficLightLogic::getEarliestEnd(), PublicTransportEdge< E, L, N, V >::getIntended(), MSInductLoop::getLastDetectionTime(), MSStoppingPlace::getLastFreePos(), MSActuatedTrafficLightLogic::getLatestEnd(), MSLink::getLeaveTime(), MSActuatedTrafficLightLogic::getMaxDur(), MSActuatedTrafficLightLogic::getMinDur(), MSCFModel::getMinimalArrivalTime(), MESegment::getNextInsertionTime(), MSVehicle::getStopDelay(), GNETLSEditorFrame::getSUMOTime(), MESegment::getTauJJ(), MSStageWalking::getTimeLoss(), MSVehicle::getTimeLoss(), NEMAPhase::getTransitionTime(), PublicTransportEdge< E, L, N, V >::getTravelTime(), NBLoadedSUMOTLDef::guessMinMaxDuration(), SUMOVehicleParameter::incrementFlow(), MSVehicle::Influencer::Influencer(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSTrafficLightLogic::initMesoTLSPenalties(), MESegment::initSegment(), MSLane::isInsertionSuccess(), MSPerson::Influencer::isRemoteAffected(), MSVehicle::Influencer::isRemoteAffected(), MELoop::MELoop(), MESegment::MESegment(), MSAbstractLaneChangeModel::MSAbstractLaneChangeModel(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSCFModel::MSCFModel(), MSCFModel_Krauss::MSCFModel_Krauss(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSDispatch_Greedy::MSDispatch_Greedy(), MSOffTrafficLightLogic::MSOffTrafficLightLogic(), MSSimpleTrafficLightLogic::MSSimpleTrafficLightLogic(), MSVehicle::MSVehicle(), NBLoadedTLDef::myCompute(), ROMARouteHandler::myEndElement(), ROJTRTurnDefLoader::myStartElement(), ROMARouteHandler::myStartElement(), NEMALogic::NEMALogic(), NEMAPhase::NEMAPhase(), MESegment::newArrival(), MSDevice_Bluelight::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_Transportable::notifyMove(), MSDevice_Taxi::notifyMoveInternal(), MSDevice_Tripinfo::notifyMoveInternal(), NEMAPhase::okay2ForceSwitch(), GUIParameterTracker::onCmdChangeAggregation(), GUIDialog_AppSettings::onCmdOk(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdToggleStop(), MSLink::opened(), MSBaseVehicle::optimizeSkipped(), NIImporter_VISUM::parse_Phases(), NIImporter_VISUM::parse_SignalGroups(), NIImporter_VISUM::parse_TrafficLights(), NLTriggerBuilder::parseAndBuildRerouter(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseE2Attributes(), AdditionalHandler::parseE3Attributes(), MeanDataHandler::parseEdgeMeanData(), NIVissimSingleTypeParser_Lichtsignalanlagendefinition::parseFixedTime(), NIVissimSingleTypeParser_Signalgruppendefinition::parseFixedTime(), SUMOVehicleParserHelper::parseFlowAttributes(), MeanDataHandler::parseLaneMeanData(), NIVissimSingleTypeParser_Lichtsignalanlagendefinition::parseRestActuated(), ODMatrix::parseSingleTime(), NIVissimSingleTypeParser_Lichtsignalanlagendefinition::parseVAS(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSVehicle::planMoveInternal(), MSPerson::MSPersonStage_Access::proceed(), SUMOVehicleParserHelper::processActionStepLength(), MSVehicle::processNextStop(), TraCIServerAPI_Simulation::processSet(), MSDelayBasedTrafficLightLogic::proposeProlongation(), MSOffTrafficLightLogic::rebuildPhase(), MESegment::receive(), MSPModel_Striping::registerCrossingApproach(), MSAbstractLaneChangeModel::remainingTime(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSStageTrip::reroute(), GUIVehicle::rerouteDRTStop(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSVehicle::resumeFromStopping(), MSBaseVehicle::routeAlongStops(), LIBSUMO_NAMESPACE::Vehicle::setAcceleration(), GNECalibratorFlow::setAttribute(), GNELaneAreaDetector::setAttribute(), LIBSUMO_NAMESPACE::ChargingStation::setChargeDelay(), LIBSUMO_NAMESPACE::Calibrator::setFlow(), GNEDemandElementFlow::setFlowAttribute(), NEMALogic::setNewCycleLength(), NEMALogic::setNewMaxGreens(), NEMALogic::setNewOffset(), NEMALogic::setNewSplits(), MSDevice_Routing::setParameter(), MSDevice_StationFinder::setParameter(), MSDevice_ToC::setParameter(), MSTransportableDevice_Routing::setParameter(), LIBSUMO_NAMESPACE::TrafficLight::setPhaseDuration(), LIBSUMO_NAMESPACE::TrafficLight::setProgramLogic(), LIBSUMO_NAMESPACE::Vehicle::slowDown(), LIBSUMO_NAMESPACE::Simulation::step(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), string2time(), libsumo::Helper::subscribe(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), time2string(), TrackerValueDesc::TrackerValueDesc(), SAXWeightsHandler::tryParse(), MSActuatedTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), NEMAPhase::update(), Command_SaveTLSProgram::writeCurrent(), MSDevice_Tripinfo::writeStatistics(), and NWWriter_SUMO::writeTrafficLight().

◆ TS

#define TS   (static_cast<double>(DELTA_T)/1000.)

Definition at line 42 of file SUMOTime.h.

Referenced by MSCFModel_CC::_ploeg(), MSCFModel_EIDM::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), HelpersEnergy::acceleration(), MSVehicle::Influencer::GapControlState::activate(), MSDevice_GLOSA::adaptSpeed(), MSDevice_ToC::awarenessRecoveryStep(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSLaneChanger::changeOpposite(), MSVehicleType::check(), MSLCM_SL2015::checkBlockingVehicles(), MSLaneChanger::checkChange(), MSDevice_SSM::checkConflictEntryAndExit(), RONet::checkFlows(), GUIApplicationWindow::checkGamingEvents(), MSLink::checkWalkingAreaFoe(), MSLCM_SL2015::commitManoeuvre(), HelpersEnergy::compute(), HelpersMMPEVEM::compute(), MSLaneChanger::computeOvertakingTime(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSDevice_ElecHybrid::consumption(), MSCFModel_CC::createVehicleVariables(), MSE3Collector::detectorUpdate(), MSInsertionControl::determineCandidates(), MSCFModel::distAfterTime(), MSPModel_JuPedSim::execute(), MSVehicle::executeMove(), MSCFModel_EIDM::finalizeSpeed(), MSCFModel_IDM::finalizeSpeed(), MSCFModel_PWag2009::followSpeed(), MSCFModel_Rail::followSpeed(), MSCFModel_SmartSK::followSpeed(), MSCFModel::followSpeedTransient(), MSCFModel::freeSpeed(), MSCFModel_EIDM::freeSpeed(), MSCFModel_EIDM::freeSpeed(), MSVehicle::Influencer::gapControlSpeed(), MSCFModel::gapExtrapolation(), LIBSUMO_NAMESPACE::Simulation::getDeltaT(), MSInductLoop::getEnteredNumber(), MSInductLoop::getOccupancy(), MSLink::getZipperSpeed(), MSVehicle::Influencer::influenceSpeed(), MSLCM_LC2013::informFollower(), MSCFModel_EIDM::internalspeedlimit(), MSE3Collector::leave(), MSCFModel::maximumSafeStopSpeedBallistic(), MSCFModel::maximumSafeStopSpeedEuler(), libsumo::Helper::moveToXYMap(), MSCFModel_EIDM::MSCFModel_EIDM(), MSCFModel_IDM::MSCFModel_IDM(), MSCFModel_Krauss::MSCFModel_Krauss(), MSCFModel_SmartSK::MSCFModel_SmartSK(), MSSimpleDriverState::MSSimpleDriverState(), MSDevice_Emissions::notifyIdle(), MSMeanData_Emissions::MSLaneMeanDataValues::notifyIdle(), MSInductLoop::notifyLeave(), MSDevice_Battery::notifyMove(), MSDevice_Emissions::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSInstantInductLoop::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSLink::opened(), MSCFModel::passingTime(), MSVehicle::planMoveInternal(), MSNet::postSimStepOutput(), MSCFModel_CC::setParameter(), MSCFModel_EIDM::slowToStartTerm(), MSCFModel::speedAfterTime(), MSCFModel_Rail::stopSpeed(), MSCFModel_SmartSK::stopSpeed(), time2string(), TrajectoriesHandler::TrajectoriesHandler(), GUIRunThread::tryStep(), MSCFModel_SmartSK::updateMyHeadway(), MSDevice_SSM::updatePassedEncounter(), MSSimpleDriverState::updateReactionTime(), MSVehicle::updateTimeLoss(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), MSMeanData_Harmonoise::MSLaneMeanDataValues::write(), MSEmissionExport::writeEmissions(), and TrajectoriesHandler::writeEmissions().

Function Documentation

◆ checkStepLengthMultiple()

bool checkStepLengthMultiple ( const SUMOTime t,
const std::string & error = "",
SUMOTime deltaT = DELTA_T,
SUMOTime begin = 0 )

check if given SUMOTime is multiple of the step length

Definition at line 158 of file SUMOTime.cpp.

References time2string(), and WRITE_WARNING.

Referenced by MSFrame::checkOptions(), NLDetectorBuilder::checkSampleInterval(), and NLDetectorBuilder::createEdgeLaneMeanData().

Here is the caller graph for this function:

◆ checkTimeBounds()

void checkTimeBounds ( const double time)

check the valid SUMOTime range of double input and throw an error if out of bounds

Definition at line 173 of file SUMOTime.cpp.

References STEPS2TIME, SUMOTime_MAX, and toString().

Referenced by libsumo::Helper::buildStopParameters(), LIBSUMO_NAMESPACE::Vehicle::changeLane(), LIBSUMO_NAMESPACE::Vehicle::changeLaneRelative(), LIBSUMO_NAMESPACE::Vehicle::openGap(), LIBSUMO_NAMESPACE::Vehicle::setAcceleration(), and LIBSUMO_NAMESPACE::Vehicle::slowDown().

Here is the caller graph for this function:

◆ elapsedMs2string()

std::string elapsedMs2string ( long long int t)

convert ms to string for log output

Definition at line 145 of file SUMOTime.cpp.

References gHumanReadableTime, STEPS2TIME, time2string(), and toString().

Referenced by AFBuild< E, N, V, M >::computeArcFlags(), AFBuild< E, N, V, M >::computeArcFlagsAux(), AFBuild< E, N, V, M >::computeArcFlagsNaive(), MSNet::generateStatistics(), AFRouter< E, N, V, M >::reportStatistics(), AFRouter< E, N, V, M >::reset(), and SUMOAbstractRouter< MSEdge, SUMOVehicle >::~SUMOAbstractRouter().

Here is the caller graph for this function:

◆ isTime()

bool isTime ( const std::string & r)

check if the given string is a valid time

Definition at line 69 of file SUMOTime.cpp.

References StringTokenizer::getVector(), StringUtils::isDouble(), StringUtils::isInt(), STEPS2TIME, SUMOTime_MAX, and StringUtils::toDouble().

Referenced by GNEAttributeCarrier::canParse().

Here is the caller graph for this function:

◆ string2time()

SUMOTime string2time ( const std::string & r)

convert string to SUMOTime

Definition at line 46 of file SUMOTime.cpp.

References StringTokenizer::getVector(), STEPS2TIME, string2time(), SUMOTime_MAX, TIME2STEPS, and StringUtils::toDouble().

Referenced by MSNet::adaptIntermodalRouter(), RONet::adaptIntermodalRouter(), MSDetectorControl::add(), ODMatrix::add(), GUIApplicationWindow::addBreakpoint(), MSDetectorControl::addDetectorAndInterval(), NLHandler::addEdgeLaneMeanData(), GNERerouterDialog::RerouterIntervalsList::addNewElement(), GNEVariableSpeedSignDialog::VariableSpeedSignStepsList::addNewElement(), NLHandler::addPhase(), NLBuilder::build(), NLBuilder::buildDefaultMeanData(), GNETLSEditorFrame::TLSPhases::buildDefaultPhase(), NLBuilder::buildNet(), NLBuilder::buildRouteLoaderControl(), NLTriggerBuilder::buildVaporizer(), MSDevice_Routing::checkOptions(), MSFrame::checkOptions(), TraCIServer::cleanup(), MSNet::closeBuilding(), MSRouteHandler::closeFlow(), MSRouteHandler::closeTransportable(), MSRouteHandler::closeTransportableFlow(), MSRouteHandler::closeVehicle(), ROPerson::computeIntermodal(), computeRoutes(), computeRoutes(), MSPModel_JuPedSim::execute(), LIBSUMO_NAMESPACE::Simulation::getEndTime(), MSTLLogicControl::WAUTSwitchProcedure::getGSPTime(), MSNet::getIntermodalRouter(), MSNet::getMesoType(), SUMOSAXAttributes::getOptOffsetReporting(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::getPeriod(), SUMOSAXAttributes::getSUMOTimeReporting(), SUMOTrafficObject::getTimeParam(), GUIMessageWindow::getTimeString(), GNERoute::GNERoute(), GNERoute::GNERoute(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSActuatedTrafficLightLogic::init(), MSRailCrossing::init(), MSStageDriving::init(), MSLane::initCollisionOptions(), MSDevice_Taxi::initDispatch(), MSDevice_FCD::initOnce(), MSRoutingEngine::initRouter(), NLHandler::initTrafficLightLogic(), MSRoutingEngine::initWeightUpdate(), LIBSUMO_NAMESPACE::Simulation::load(), GUISettingsHandler::loadBreakpoints(), GUINet::loadEdgeData(), main(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDevice_Taxi::MSDevice_Taxi(), MSDispatch::MSDispatch(), MSNet::MSNet(), MSPModel_JuPedSim::MSPModel_JuPedSim(), MSPModel_Striping::MSPModel_Striping(), MSTransportableControl::MSTransportableControl(), MSVehicleControl::MSVehicleControl(), MSTriggeredRerouter::myEndElement(), SUMORouteHandler::myEndElement(), MSStateHandler::MSStateTimeHandler::myStartElement(), MSStateHandler::myStartElement(), GUIDialog_Breakpoints::onCmdEditTable(), ROLoader::openRoutes(), TraCIServer::openSocket(), GNEAttributeCarrier::parse(), SUMOVehicleParserHelper::parseAngleTimesMap(), SUMOVehicleParameter::parseDepart(), MSDevice_FCDReplay::parseNext(), GNEOptionsEditorRow::OptionTime::parseTime(), MSNet::quickReload(), readDetectorFlows(), RORouteHandler::RORouteHandler(), RouteHandler::RouteHandler(), GUILoadThread::run(), GNECalibratorFlow::setAttribute(), GNEMeanData::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNERoute::setAttribute(), GNERouteProbe::setAttribute(), GNEStop::setAttribute(), GNEStopPlan::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEVType::setAttribute(), GNEDetector::setDetectorAttribute(), GNEDemandElementFlow::setFlowAttribute(), MSFrame::setMSGlobals(), MSActuatedTrafficLightLogic::setParameter(), MSRailCrossing::setParameter(), MSSimpleTrafficLightLogic::setParameter(), LIBSUMO_NAMESPACE::Vehicle::setStopParameter(), signalHandler(), MSVehicle::slowDownForSchedule(), startComputation(), string2time(), SUMORouteHandler::SUMORouteHandler(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToRouteFlow(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::WAUTSwitchProcedure_Stretch(), MSEmissionExport::write(), MSQueueExport::write(), and MSNet::writeSummaryOutput().

◆ time2string() [1/2]

std::string time2string ( SUMOTime t)

convert SUMOTime to string (using the global format setting)

Definition at line 139 of file SUMOTime.cpp.

References gHumanReadableTime, and time2string().

◆ time2string() [2/2]

std::string time2string ( SUMOTime t,
bool humanReadable )

convert SUMOTime to string (independently of global format setting)

Definition at line 91 of file SUMOTime.cpp.

References gPrecision, MAX2(), MIN2(), SUMOTime_MAX, SUMOTime_MIN, TIME2STEPS, and TS.

Referenced by RailwayRouter< E, V >::_compute(), MSTransportable::abortStage(), LIBSUMO_NAMESPACE::Person::add(), MSPModel_JuPedSim::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), GUIApplicationWindow::addBreakpoint(), MSDispatch::addReservation(), IntermodalNetwork< E, L, N, V >::addSchedule(), MSBaseVehicle::addStop(), AGActivityTripWriter::addTrip(), GUIRunThread::begin(), NLBuilder::build(), CHBuilder< E, V >::buildContractionHierarchy(), NLBuilder::buildNet(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSDevice_Taxi::cancelCurrentCustomers(), MSDeterministicHiLevelTrafficLightLogic::canRelease(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSSwarmTrafficLightLogic::canRelease(), MSDriveWay::canUseSiding(), MELoop::changeSegment(), MSLane::checkFailure(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSVehicleTransfer::checkInsertions(), CommonHandler::checkNegative(), MSFrame::checkOptions(), checkStepLengthMultiple(), MEVehicle::checkStop(), MSTriggeredRerouter::checkStopSwitch(), MSNet::closeSimulation(), DijkstraRouter< _IntermodalEdge, _IntermodalTrip >::compute(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), NBOwnTLDef::computeLogicAndConts(), computeRoutes(), MSDevice_Taxi::customerArrived(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicy::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSDevice_SSM::determineConflictPoint(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUIBaseVehicle::drawChargingInfo(), GUIBaseVehicle::drawParkingInfo(), GNEStop::drawStopLabel(), GUIBaseVehicle::drawStopLabels(), GUIParameterTracker::GUIParameterTrackerPanel::drawValue(), elapsedMs2string(), GUIDialog_Breakpoints::encode2TXT(), MSE3Collector::enter(), MSParkingArea::enter(), MSVehicle::enterLaneAtInsertion(), MSDevice_SSM::estimateConflictTimes(), MSStoppingPlaceRerouter::evaluateDestination(), Command_RouteReplacement::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSVTypeProbe::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSDevice_Taxi::generateOutput(), MSDevice_Tripinfo::generateOutput(), CommonXMLStructure::SumoBaseObject::getAllAttributes(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMeanData::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERoute::getAttribute(), GNERouteProbe::getAttribute(), GNEStop::getAttribute(), GNEStopPlan::getAttribute(), GNETranship::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVType::getAttribute(), GNEWalk::getAttribute(), MSVehicle::getBackPositionOnLane(), SUMOVehicleParameter::getDepart(), GNEDetector::getDetectorAttribute(), MSRailSignal::LinkInfo::getDriveWay(), GNEDemandElementFlow::getFlowAttribute(), IntermodalTrip< E, N, V >::getID(), MSParkingArea::getLastFreePosWithReservation(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSPModel_Striping::getNextLane(), MSDevice_Routing::getParameter(), MSTransportableDevice_Routing::getParameter(), GUICalibrator::getParameterWindow(), GUIContainer::getParameterWindow(), GUIMEVehicle::getParameterWindow(), GUIPerson::getParameterWindow(), GUIVehicle::getParameterWindow(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), MSStageDriving::getStageSummary(), MSStageWaiting::getStageSummary(), GUIVehicle::getStopInfo(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), SUMOTrafficObject::getTimeParam(), MSLane::handleCollisionBetween(), GUIApplicationWindow::handleEvent_SimulationEnded(), MSLane::handleIntermodalCollisionBetween(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), MSIdling_Stop::idle(), MSIdling_TaxiStand::idle(), MSVehicle::Influencer::implicitDeltaPosRemote(), ROMAAssignments::incremental(), MSVehicle::Influencer::influenceChangeDecision(), MSActuatedTrafficLightLogic::init(), MSEdge::insertVehicle(), MSLane::isInsertionSuccess(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), LIBSUMO_NAMESPACE::Simulation::load(), MSStopOut::loadedContainers(), GUINet::loadEdgeData(), MSStopOut::loadedPersons(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToXY(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSCalibrator::VehicleRemover::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDevice_Battery::notifyMove(), MSE2Collector::notifyMove(), MSDevice_Vehroutes::notifyStopEnded(), GUIDialog_ViewSettings::onCmdExportSetting(), GUIParameterTracker::onCmdSave(), MSMeanData::openInterval(), ROLoader::openRoutes(), GNEVType::overwriteVType(), GNEAttributeProperties::parseDefaultValues(), GNEOptionsEditorRow::OptionTime::parseTime(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSStageDriving::proceed(), MSVehicle::processLaneAdvances(), MSVehicle::processNextStop(), ROLoader::processRoutes(), ODMatrix::readTime(), GUIDialog_Breakpoints::rebuildList(), MSLink::removeApproachingPerson(), MSCalibrator::removePending(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSVehicle::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), GNENetHelper::AttributeCarriers::retrieveRerouterInterval(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSTransportable::routeOutput(), ROPerson::Ride::saveAsXML(), ROPerson::Walk::saveAsXML(), MEVehicle::saveState(), MSStateHandler::saveState(), MSVehicle::saveState(), GNEDemandElementFlow::setDefaultFlowAttributes(), MSCalibrator::setFlow(), MSNet::simulate(), MSNet::simulationStep(), MSStopOut::stopEnded(), MSLane::succLinkSec(), MELoop::teleportVehicle(), time2string(), MSTriggeredRerouter::triggerRouting(), MSPerson::MSPersonStage_Access::tripInfoOutput(), MSStageDriving::tripInfoOutput(), MSStageTranship::tripInfoOutput(), MSStageWaiting::tripInfoOutput(), MSStageWalking::tripInfoOutput(), MSTransportable::tripInfoOutput(), SAXWeightsHandler::tryParse(), MSSOTLTrafficLightLogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSSOTLTrafficLightLogic::updateDecayThreshold(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSDevice_FCDReplay::FCDHandler::updateTrafficObjects(), MSPModel_Striping::PState::walk(), MSBatteryExport::write(), MSElecHybridExport::write(), MSEmissionExport::write(), MSFullExport::write(), MSQueueExport::write(), MSStop::write(), MSXMLRawOut::write(), ODMatrix::write(), SUMOVehicleParameter::Stop::write(), SUMOVehicleParameter::write(), SUMOVTypeParameter::write(), GNECalibrator::writeAdditional(), GNEChargingStation::writeAdditional(), GNELaneAreaDetector::writeAdditional(), GNEMultiEntryExitDetector::writeAdditional(), GNERerouter::writeAdditional(), GNERouteProbe::writeAdditional(), GNEVaporizer::writeAdditional(), GNEVariableSpeedSignStep::writeAdditional(), MSElecHybridExport::writeAggregated(), MSChargingStation::writeAggregatedChargingStationOutput(), MSLink::writeApproaching(), MSDriveWay::writeBlockVehicles(), MSNet::writeCollisions(), GNERoute::writeDemandElement(), GNETranship::writeDemandElement(), GNEWalk::writeDemandElement(), GNEDetector::writeDetectorValues(), RODFDetector::writeEmitterDefinition(), ODMatrix::writeFlows(), ROMAAssignments::writeInterval(), GNEMeanData::writeMeanData(), MSDevice_Vehroutes::writeOutput(), MSNet::writeOutput(), RODFDetector::writeSingleSpeedTrigger(), MSDevice_Tripinfo::writeStatistics(), MSNet::writeStatistics(), ROLoader::writeStats(), MSNet::writeSummaryOutput(), CSVFormatter::writeTime(), ParquetFormatter::writeTime(), PlainXMLFormatter::writeTime(), MSTractionSubstation::writeTractionSubstationOutput(), MSChargingStation::writeVehicle(), MSOverheadWire::writeVehicle(), TrajectoriesHandler::writeXMLEmissions(), MEInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSE2Collector::writeXMLOutput(), MSE3Collector::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), and MSDevice_Vehroutes::writeXMLRoute().

Variable Documentation

◆ DELTA_T

SUMOTime DELTA_T
extern

Definition at line 38 of file SUMOTime.cpp.

Referenced by MSCFModel_CC::_consensus(), MSCFModel_CACC::_v(), MSCFModel_CC::_v(), MSVehicle::Influencer::GapControlState::activate(), MSRoutingEngine::adaptEdgeEfforts(), MSPModel_Striping::add(), MSTransportableControl::add(), MSVehicleContainer::add(), GUIApplicationWindow::addBreakpoint(), MSRouteHandler::addRideOrTransport(), GUITLLogicPhasesTrackerWindow::addValue(), MSCFModel::applyStartupDelay(), MSDevice_ToC::awarenessRecoveryStep(), MSTransportableDevice_FCDReplay::buildDevices(), MSFrame::buildStreams(), MSVehicleType::check(), MELoop::checkCar(), MSLaneChanger::checkChange(), RONet::checkFlows(), GUIApplicationWindow::checkGamingEvents(), GUIApplicationWindow::checkGamingEventsDRT(), MSE2Collector::checkJam(), GUISUMOAbstractView::checkSnapshots(), GUIViewTraffic::checkSnapshots(), MEVehicle::checkStop(), MSTransportableControl::checkWaiting(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSInductLoop::collectVehiclesOnDet(), MSPModel_NonInteracting::PState::computeDuration(), MSLink::computeFoeArrivalTimeBraking(), MSInsertionControl::computeRandomDepartOffset(), MSSOTLTrafficLightLogic::computeReturnTime(), MSSwarmTrafficLightLogic::computeReturnTime(), MSCFModel_Krauss::createVehicleVariables(), MSLane::detectCollisionBetween(), MSE3Collector::detectorUpdate(), MSMeanData::detectorUpdate(), TraCIServer::dispatchCommand(), MSPModel_Striping::PState::distToLaneEnd(), MSVehicle::enterLaneAtInsertion(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSDevice_FCDReplay::MoveVehicles::execute(), MSEventControl::execute(), MSPModel_JuPedSim::execute(), MSPModel_Striping::MovePedestrians::execute(), MSTransportableDevice_FCDReplay::MovePedestrians::execute(), MSVehicle::executeMove(), MSCFModel_EIDM::finalizeSpeed(), MSTransportableControl::fixLoadCount(), TrackerValueDesc::getAggregationSpan(), MSVehicle::getArrivalTime(), MEVehicle::getConservativeSpeed(), MSParkingArea::getLastFreePosWithReservation(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepMeanLength(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepMeanSpeed(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepVehicleIDs(), LIBSUMO_NAMESPACE::InductionLoop::getLastStepVehicleNumber(), MSInductLoop::getOccupancy(), GUINet::getRTFactor(), MSVehicle::getStopDelay(), MSLeaderInfo::getSubLanes(), LIBSUMO_NAMESPACE::InductionLoop::getVehicleData(), MSPModel_Striping::getVehicleObstacles(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSDevice_Battery::increaseChargingStartTime(), MSVehicle::Influencer::influenceSpeed(), MSDevice_FCDReplay::init(), MSLane::insertVehicle(), MSVehicle::joinTrainPart(), MSVehicle::joinTrainPartFront(), MSVehicle::keepStopping(), MSAbstractLaneChangeModel::laneChangeOutput(), MSTransportableControl::loadAnyWaiting(), MSVehicle::loadState(), GUIRunThread::makeStep(), MSPModel_Striping::moveInDirectionOnLane(), MSDevice_ToC::MRMExecutionStep(), MSCFModel_EIDM::MSCFModel_EIDM(), MSCFModel_Krauss::MSCFModel_Krauss(), MSPModel_JuPedSim::MSPModel_JuPedSim(), MSRailSignal::MSRailSignal(), MSDevice_Tripinfo::notifyIdle(), MSDevice_ElecHybrid::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_Taxi::notifyMove(), MSDevice_Transportable::notifyMove(), MSDevice_Tripinfo::notifyMove(), GUIApplicationWindow::onCmdBreakpoint(), GUIApplicationWindow::onCmdBreakpointEarly(), GUIDialog_Breakpoints::onCmdEditTable(), GUIParameterTracker::onCmdSave(), MSVehicleContainer::DepartFinder::operator()(), NLTriggerBuilder::parseAndBuildCalibrator(), AdditionalHandler::parseCalibratorAttributes(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSNet::postMoveStep(), MSNet::postSimStepOutput(), MSDevice_Routing::preInsertionReroute(), SUMOVehicleParserHelper::processActionStepLength(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MSDevice_ToC::requestToC(), ROLoader::ROLoader(), TrackerValueDesc::setAggregationSpan(), MSFrame::setMSGlobals(), MSPModel_JuPedSim::PState::setPosition(), LIBSUMO_NAMESPACE::Vehicle::setSpeed(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSTransportableControl::setWaitEnd(), MSTrafficLightLogic::SwitchCommand::shiftTime(), MELoop::simulate(), MSCFModel_EIDM::slowToStartTerm(), MSLaneChangerSublane::startChangeSublane(), MSAbstractLaneChangeModel::startLaneChangeManeuver(), MSDevice_StationFinder::teleportToChargingStation(), MSDevice_ToC::ToCPreparationStep(), TrackerValueDesc::TrackerValueDesc(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), GUIRunThread::tryStep(), MSOffTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSAbstractLaneChangeModel::unchanged(), NEMAPhase::update(), PolygonDynamics::update(), MSDevice_StationFinder::updateChargeLimit(), MSRailCrossing::updateCurrentPhase(), GUIApplicationWindow::updateTimeLCD(), MSVehicle::updateWaitingTime(), MSCFModel_Krauss::VehicleVariables::VehicleVariables(), MSPModel_Striping::PState::walk(), MSBaseVehicle::wasRemoteControlled(), SUMOVehicle::wasRemoteControlled(), ODMatrix::write(), MSChargingStation::writeAggregatedChargingStationOutput(), MSChargingStation::writeChargingStationOutput(), MSNet::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), and MSMeanData::writeXMLOutput().