![]() |
SUMO - Simulation of Urban MObility
|
Go to the source code of this file.
Macros | |
#define | ACCEL2DIST(x) ((x)*TS*TS) |
#define | ACCEL2SPEED(x) ((x)*TS) |
#define | DIST2SPEED(x) ((x)/TS) |
#define | SIMSTEP MSNet::getInstance()->getCurrentTimeStep() |
#define | SIMTIME STEPS2TIME(MSNet::getInstance()->getCurrentTimeStep()) |
#define | SPEED2ACCEL(x) ((x)/TS) |
#define | SPEED2DIST(x) ((x)*TS) |
#define | STEPFLOOR(x) (int(x/DELTA_T)*DELTA_T) |
#define | STEPS2MS(x) (x) |
#define | STEPS2TIME(x) (static_cast<double>((x)/1000.)) |
#define | SUMOTime_MAX std::numeric_limits<SUMOTime>::max() |
#define | SUMOTIME_MAXSTRING "9223372036854774" |
#define | SUMOTime_MIN std::numeric_limits<SUMOTime>::min() |
#define | TIME2STEPS(x) (static_cast<SUMOTime>((x)*1000 + (x >= 0 ? 0.5 : -0.5))) |
#define | TS (static_cast<double>(DELTA_T/1000.)) |
Typedefs | |
typedef long long int | SUMOTime |
Functions | |
SUMOTime | string2time (const std::string &r) |
std::string | time2string (SUMOTime t) |
Variables | |
SUMOTime | DELTA_T |
Definition at line 58 of file SUMOTime.h.
Referenced by MSCFModel_Rail::freeSpeed(), MSCFModel::freeSpeed(), and MSLCM_DK2008::informBlocker().
#define ACCEL2SPEED | ( | x | ) | ((x)*TS) |
Definition at line 60 of file SUMOTime.h.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_Kerner::_v(), MSCFModel_Wiedemann::_v(), MSCFModel_IDM::_v(), MSLCM_LC2013::_wantsChange(), MSCFModel::brakeGapEuler(), MSLaneChanger::checkChange(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), HelpersEnergy::compute(), MSLCM_SL2015::computeSpeedLat(), MSCFModel_Daniel1::dawdle(), MSCFModel_SmartSK::dawdle(), MSCFModel_KraussOrig1::dawdle(), MSCFModel_Krauss::dawdle2(), MSCFModel_KraussX::dawdleX(), MSCFModel::distAfterTime(), MSVehicle::executeMove(), MSCFModel_PWag2009::followSpeed(), MSCFModel::followSpeedTransient(), MSCFModel_Rail::freeSpeed(), MSCFModel::freeSpeed(), MSVehicle::getDeltaPos(), MSCFModel::getSpeedAfterMaxDecel(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSCFModel_Wiedemann::krauss_vsafe(), MSCFModel::maximumSafeStopSpeedEuler(), MSCFModel_KraussPS::maxNextSpeed(), MSCFModel::maxNextSpeed(), MSCFModel::minNextSpeed(), MSCFModel_Krauss::moveHelper(), MSCFModel::moveHelper(), MSVehicle::processLinkAproaches(), MSVehicle::setBrakingSignals(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSCFModel_PWag2009::stopSpeed(), MSCFModel_KraussOrig1::vsafe(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().
#define DIST2SPEED | ( | x | ) | ((x)/TS) |
Definition at line 56 of file SUMOTime.h.
Referenced by MSLCM_SL2015::computeSpeedLat(), MSCFModel::followSpeedTransient(), MSCFModel_Rail::freeSpeed(), MSCFModel::freeSpeed(), MSVehicle::Influencer::implicitDeltaPosRemote(), MSVehicle::Influencer::implicitSpeedRemote(), MSCFModel::maximumSafeStopSpeedEuler(), MSVehicle::processLinkAproaches(), MSCFModel::speedAfterTime(), MSLaneChangerSublane::startChangeSublane(), MSCFModel_KraussOrig1::vsafe(), MSPModel_Striping::PState::walk(), and MSLCM_SL2015::wantsChangeSublane().
#define SIMSTEP MSNet::getInstance()->getCurrentTimeStep() |
Definition at line 70 of file SUMOTime.h.
Referenced by GUIVehicle::getColorValue().
#define SIMTIME STEPS2TIME(MSNet::getInstance()->getCurrentTimeStep()) |
Definition at line 71 of file SUMOTime.h.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Striping::addCrossingVehs(), MSLCM_SL2015::addLCSpeedAdvice(), MSPModel_Striping::blockedAtDist(), MSE2Collector::buildJam(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSLaneChangerSublane::change(), MSLaneChanger::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChange(), MSLaneChangerSublane::checkChangeSublane(), MSDevice_SSM::checkConflictEntryAndExit(), MSLane::checkForPedestrians(), MSE2Collector::checkJam(), MSVehicle::checkLinkLeader(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSLaneChanger::checkTraCICommands(), MSAbstractLaneChangeModel::checkTraCICommands(), MSAbstractLaneChangeModel::cleanupShadowLane(), MSAbstractLaneChangeModel::cleanupTargetLane(), MSDevice_SSM::closeEncounter(), MSLCM_SL2015::commitManoeuvre(), MSVehicle::computeAngle(), MSDevice_SSM::computeDRAC(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), MSDevice_SSM::createEncounters(), MSLCM_SL2015::decideDirection(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE2Collector::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), MSDevice_SSM::determineConflictPoint(), MSDevice_SSM::determinePET(), MSDevice_SSM::determineTTCandDRAC(), MSDevice_SSM::Encounter::Encounter(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSDevice_BTreceiver::BTreceiverUpdate::enterRange(), MSDevice_SSM::estimateConflictTimes(), MSPModel_Striping::MovePedestrians::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSLaneChanger::findCandidate(), MSDevice_SSM::findFoeConflictLane(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSVehicle::getBackPositionOnLane(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLatOffset(), MSLink::getLeaderInfo(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSPModel_Striping::getNeighboringObstacles(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getPartialBehind(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), MSAbstractLaneChangeModel::getShadowLane(), MSInductLoop::getTimeSinceLastDetection(), MSDevice_SSM::getUpstreamVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSDevice_Routing::initEdgeWeights(), MSE2Collector::integrateMoveNotification(), MSLane::integrateNewVehicle(), MSLane::isInsertionSuccess(), MSLCM_SL2015::keepLatGap(), MSVehicle::lateralDistanceToLane(), MSVehicle::leaveLane(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), MSLCM_LC2013::MSLCM_LC2013(), MSMeanData::MeanDataValues::notifyEnter(), MSInductLoop::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSInstantInductLoop::notifyLeave(), MSE2Collector::notifyLeave(), MSInstantInductLoop::notifyMove(), MSInductLoop::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE2Collector::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSVehicle::onRemovalFromNet(), MSLink::opened(), MSLaneChangerSublane::outputLCStarted(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSLCM_SL2015::prepareStep(), TraCIServer::processCommandsUntilSimStep(), MSDevice_SSM::processEncounters(), MSE2Collector::processJams(), MSVehicle::processLinkAproaches(), MSVehicle::processNextStop(), TraCIServer::processReorderingRequests(), TraCIServerAPI_Vehicle::processSet(), MSDelayBasedTrafficLightLogic::proposeProlongation(), MSDevice_SSM::qualifiesAsConflict(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), MSTriggeredRerouter::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), GUIVehicle::selectBlockingFoes(), MSVehicle::setAngle(), MSLink::setApproaching(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSLCM_SL2015::setOwnState(), MSLane::setPartialOccupation(), MSNet::simulate(), MSNet::simulationStep(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSDevice_SSM::update(), MSVehicle::updateBestLanes(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSDevice_SSM::updatePassedEncounter(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), 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(), and MSDevice_SSM::Encounter::~Encounter().
#define SPEED2ACCEL | ( | x | ) | ((x)/TS) |
Definition at line 62 of file SUMOTime.h.
Referenced by MSLCM_SL2015::addLCSpeedAdvice(), MSLCM_LC2013::addLCSpeedAdvice(), MSVehicle::executeMove(), MSCFModel_PWag2009::followSpeed(), MSLCM_LC2013::informFollower(), MSCFModel_PWag2009::moveHelper(), MSCFModel::passingTime(), MSCFModel_PWag2009::stopSpeed(), and MSVehicle::updateState().
#define SPEED2DIST | ( | x | ) | ((x)*TS) |
Definition at line 54 of file SUMOTime.h.
Referenced by MSCFModel_Kerner::_v(), MSCFModel_IDM::_v(), MSCFModel::brakeGapEuler(), MSLCM_SL2015::checkBlocking(), HelpersEnergy::compute(), MSLCM_SL2015::computeSpeedLat(), MSLaneChangerSublane::continueChangeSublane(), MSCFModel::distAfterTime(), MSCFModel::followSpeedTransient(), MSCFModel_Rail::freeSpeed(), MSCFModel::freeSpeed(), MSVehicle::getDeltaPos(), MSLCM_DK2008::informBlocker(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeader(), MSCFModel_IDM::interactionGap(), MSCFModel::interactionGap(), MSCFModel_Wiedemann::krauss_vsafe(), libsumo::Helper::moveToXYMap(), MSVehicle::planMoveInternal(), MSLaneChangerSublane::startChangeSublane(), MSVehicle::updateState(), MSPModel_Striping::PState::walk(), and MSLCM_SL2015::wantsChangeSublane().
Definition at line 67 of file SUMOTime.h.
Referenced by MSVehicleControl::vehicleDeparted().
#define STEPS2MS | ( | x | ) | (x) |
Definition at line 68 of file SUMOTime.h.
Referenced by MSFrame::buildStreams(), and MSAmitranTrajectories::writeVehicle().
#define STEPS2TIME | ( | x | ) | (static_cast<double>((x)/1000.)) |
Definition at line 64 of file SUMOTime.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSDevice_Routing::adaptEdgeEfforts(), PublicTransportEdge< E, L, N, V >::addSchedule(), IntermodalRouter< E, L, N, V >::addSchedule(), MSLink::blockedByFoe(), CHBuilder< E, V >::buildContractionHierarchy(), LogitCalculator< R, E, V >::calculateProbabilities(), MSVehicle::Influencer::changeRequestRemainingSeconds(), MSVehicleType::check(), MSLaneChanger::checkChange(), MSNet::closeSimulation(), MSInductLoop::collectVehiclesOnDet(), ROJTRRouter::compute(), DijkstraRouter< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V >, prohibited_withPermissions< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V > > >::compute(), AStarRouter< MSEdge, SUMOVehicle, prohibited_withPermissions< MSEdge, SUMOVehicle > >::compute(), IntermodalRouter< E, L, N, V >::compute(), MSPerson::MSPersonStage_Walking::computeAverageSpeed(), NBOwnTLDef::computeLogicAndConts(), MSCalibrator::currentFlow(), MSE3Collector::detectorUpdate(), GUIBaseVehicle::drawLinkItem(), GUITLLogicPhasesTrackerWindow::drawValues(), MSE3Collector::enter(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSVehicle::getAccumulatedWaitingSeconds(), MSAbstractLaneChangeModel::getAngleOffset(), MEVehicle::getAverageSpeed(), MSDevice_Tripinfo::getAvgDepartDelay(), MSDevice_Tripinfo::getAvgDuration(), MSDevice_Tripinfo::getAvgRideDuration(), MSDevice_Tripinfo::getAvgRideWaitingTime(), MSDevice_Tripinfo::getAvgTimeLoss(), MSDevice_Tripinfo::getAvgWaitingTime(), MSDevice_Tripinfo::getAvgWalkDuration(), MSDevice_Tripinfo::getAvgWalkTimeLoss(), MEVehicle::getBlockTimeSeconds(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), MEVehicle::getConservativeSpeed(), MEVehicle::getCurrentLinkPenaltySeconds(), MSInductLoop::getCurrentOccupancy(), MESegment::getEventTimeSeconds(), MEVehicle::getEventTimeSeconds(), MSPModel_Striping::PState::getImpatience(), libsumo::Vehicle::getLastActionTime(), MEVehicle::getLastEntryTimeSeconds(), MESegment::getLastHeadwaySeconds(), GUIVehicle::getLastLaneChangeOffset(), GUILane::getLoadedEdgeWeight(), MESegment::getMaxPenaltySeconds(), GUICalibrator::getParameterWindow(), CState::getPosition(), MSBaseVehicle::getSingularType(), GUILane::getStoredEdgeTravelTime(), PublicTransportEdge< E, L, N, V >::getTravelTime(), PedestrianEdge< E, L, N, V >::getTravelTime(), GUIVehicle::getTypeParameterWindow(), MEVehicle::getWaitingSeconds(), MSTransportable::getWaitingSeconds(), MSVehicle::getWaitingSeconds(), MSLink::getZipperSpeed(), MSPModel_Striping::PState::ignoreRed(), MSVehicle::ignoreRed(), ROMAAssignments::incremental(), MSVehicle::Influencer::influenceSpeed(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::initMesoTLSPenalties(), GNETLSEditorFrame::initPhaseTable(), MESegment::jamThresholdForSpeed(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSVehicleType::MSVehicleType(), TrajectoriesHandler::myStartElement(), MESegment::newArrival(), MSE3Collector::MSE3EntryReminder::notifyMove(), GNETLSEditorFrame::onCmdPhaseEdit(), MSMeanData_Amitran::openInterval(), MSMeanData::openInterval(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), SUMOVehicleParserHelper::processActionStepLength(), MSVehicle::processNextStop(), TraCIServerAPI_Person::processSet(), MSEdge::recalcCache(), ROJTRRouter::recomputeCosts(), CHRouterWrapper< E, V, PF >::recomputeCosts(), DijkstraRouter< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V >, prohibited_withPermissions< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V > > >::recomputeCosts(), AStarRouter< MSEdge, SUMOVehicle, prohibited_withPermissions< MSEdge, SUMOVehicle > >::recomputeCosts(), CHRouter< E, V, PF >::recomputeCosts(), MESegment::recomputeJamThreshold(), ROMAAssignments::resetFlows(), MEVehicle::saveState(), MSVehicleControl::scheduleVehicleRemoval(), MSVehicleType::setActionStepLength(), GNETLSEditorFrame::TLSAttributes::setOffset(), MSStopOut::stopEnded(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), string2time(), ROMAAssignments::sue(), time2string(), MSCalibrator::totalWished(), MSContainer::MSContainerStage_Tranship::tripInfoOutput(), GNETLSEditorFrame::updateCycleDuration(), MSMoveReminder::updateDetector(), MSSwarmTrafficLightLogic::updateSensitivities(), GNETLSEditorFrame::varDurString(), MSVehicleControl::vehicleDeparted(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), MSMeanData_Harmonoise::MSLaneMeanDataValues::write(), SUMOVTypeParameter::write(), MSMeanData_Net::MSLaneMeanDataValues::write(), SUMOVehicleParameter::Stop::write(), MSVehicle::Stop::write(), ODMatrix::writeFlows(), writeInterval(), MSNet::writeOutput(), NWWriter_SUMO::writeSUMOTime(), RORoute::writeXMLDefinition(), MSCalibrator::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE3Collector::writeXMLOutput(), and MSE2Collector::writeXMLOutput().
#define SUMOTime_MAX std::numeric_limits<SUMOTime>::max() |
Definition at line 43 of file SUMOTime.h.
#define SUMOTIME_MAXSTRING "9223372036854774" |
Definition at line 45 of file SUMOTime.h.
Referenced by ROMAFrame::addImportOptions(), ROFrame::fillOptions(), and fillOptions().
#define SUMOTime_MIN std::numeric_limits<SUMOTime>::min() |
Definition at line 44 of file SUMOTime.h.
Referenced by MEVehicle::hasArrived(), and MEVehicle::loadState().
#define TIME2STEPS | ( | x | ) | (static_cast<SUMOTime>((x)*1000 + (x >= 0 ? 0.5 : -0.5))) |
Definition at line 66 of file SUMOTime.h.
Referenced by MSTLLogicControl::WAUTSwitchProcedure_GSP::adaptLogic(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::adaptLogic(), libsumo::Person::add(), MSVehicleTransfer::add(), NLHandler::addE2Detector(), NBOwnTLDef::addPedestrianPhases(), NBOwnTLDef::addPedestrianScramble(), NIImporter_SUMO::addPhase(), libsumo::Person::appendWaitingStage(), libsumo::Person::appendWalkingStage(), ODMatrix::applyCurve(), NLHandler::beginE3Detector(), MSPModel_Striping::blockedAtDist(), MSLink::blockedByFoe(), NLBuilder::buildNet(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), PedestrianRouter< E, L, N, V, DijkstraRouter< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V >, prohibited_withPermissions< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V > > > >::compute(), IntermodalRouter< E, L, N, V >::compute(), NBOwnTLDef::computeLogicAndConts(), CState::computeTranshipTime(), MSPModel_NonInteracting::PState::computeWalkingTime(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::cutLogic(), GUITLLogicPhasesTrackerWindow::drawValues(), MSActuatedTrafficLightLogic::duration(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSLane::getCriticalLeader(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLeaveTime(), MSCFModel::getMinimalArrivalTime(), MESegment::getNextInsertionTime(), GNETLSEditorFrame::getSUMOTime(), SUMOSAXAttributes::getSUMOTimeReporting(), MESegment::getTimeHeadway(), MSVehicle::getTimeLoss(), MSTrafficLightLogic::initMesoTLSPenalties(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), MSLane::isInsertionSuccess(), MSTLLogicControl::WAUTSwitchProcedure::isPosAtGSP(), MSPerson::Influencer::isRemoteAffected(), MSVehicle::Influencer::isRemoteAffected(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSOffTrafficLightLogic::MSOffTrafficLightLogic(), NBLoadedTLDef::myCompute(), MESegment::newArrival(), MSDevice_Tripinfo::notifyMoveInternal(), GUIParameterTracker::onCmdChangeAggregation(), NIImporter_VISUM::parse_TrafficLights(), NLTriggerBuilder::parseAndBuildRerouter(), SUMOVehicleParserHelper::parseFlowAttributes(), ODMatrix::parseSingleTime(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSVehicle::planMoveInternal(), SUMOVehicleParserHelper::processActionStepLength(), TraCIServerAPI_Simulation::processGet(), MSDelayBasedTrafficLightLogic::proposeProlongation(), MSOffTrafficLightLogic::rebuildPhase(), MESegment::receive(), MSVehicle::resumeFromStopping(), MSDevice_Routing::setParameter(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), string2time(), MELoop::teleportVehicle(), TraCITestClient::testAPI(), MSPerson::MSPersonStage_Walking::tripInfoOutput(), MSDelayBasedTrafficLightLogic::trySwitch(), MSTLLogicControl::WAUTSwitchProcedure_GSP::trySwitch(), and MSTLLogicControl::WAUTSwitchProcedure_Stretch::trySwitch().
#define TS (static_cast<double>(DELTA_T/1000.)) |
Definition at line 51 of file SUMOTime.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSLCM_SL2015::checkBlockingVehicles(), MSLaneChanger::checkChange(), MSDevice_SSM::checkConflictEntryAndExit(), RONet::checkFlows(), GUIApplicationWindow::checkGamingEvents(), MSLCM_SL2015::commitManoeuvre(), MSLaneChanger::computeOvertakingTime(), MSE3Collector::detectorUpdate(), MSInsertionControl::determineCandidates(), MSCFModel::distAfterTime(), MSCFModel_IDM::duplicate(), MSVehicle::executeMove(), MSCFModel_PWag2009::followSpeed(), MSCFModel_SmartSK::followSpeed(), MSCFModel::followSpeedTransient(), MSCFModel::freeSpeed(), MSCFModel::gapExtrapolation(), MSInductLoop::getCurrentOccupancy(), MSLink::getZipperSpeed(), MSDevice_Battery::increaseChargingStartTime(), MSLCM_LC2013::informFollower(), MSE3Collector::leave(), MSCFModel::maximumSafeStopSpeedBallistic(), MSCFModel::maximumSafeStopSpeedEuler(), MSCFModel_IDM::moveHelper(), MSCFModel_SmartSK::MSCFModel_SmartSK(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSInstantInductLoop::notifyMove(), MSDevice_Emissions::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSCFModel::passingTime(), MSNet::postSimStepOutput(), MSCFModel::speedAfterTime(), MSCFModel_Rail::stopSpeed(), MSCFModel_SmartSK::stopSpeed(), MSCFModel_SmartSK::updateMyHeadway(), MSDevice_SSM::updatePassedEncounter(), MSVehicle::updateTimeLoss(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), MSMeanData_Harmonoise::MSLaneMeanDataValues::write(), and TrajectoriesHandler::writeEmissions().
typedef long long int SUMOTime |
Definition at line 42 of file SUMOTime.h.
SUMOTime string2time | ( | const std::string & | r | ) |
Definition at line 46 of file SUMOTime.cpp.
References STEPS2TIME, SUMOTime_MAX, and TIME2STEPS.
Referenced by ODMatrix::add(), MSDetectorControl::add(), MSDetectorControl::addDetectorAndInterval(), NLHandler::addEdgeLaneMeanData(), NLBuilder::build(), NLBuilder::buildRouteLoaderControl(), MELoop::buildSegmentsFor(), NLTriggerBuilder::buildVaporizer(), MSDevice_Routing::buildVehicleDevices(), MSFrame::checkOptions(), MSDevice_Routing::checkOptions(), TraCIServer::cleanup(), MSNet::closeBuilding(), MSRouteHandler::closeFlow(), MSRouteHandler::closePerson(), MSRouteHandler::closeVehicle(), computeRoutes(), MSPhaseDefinition::init(), MSLane::initCollisionOptions(), GUISettingsHandler::loadBreakpoints(), main(), MSNet::MSNet(), MSPModel_Striping::MSPModel_Striping(), MSVehicleControl::MSVehicleControl(), SUMORouteHandler::myEndElement(), MSStateHandler::myStartElement(), GUIDialog_Breakpoints::onCmdEditTable(), ROLoader::openRoutes(), TraCIServer::openSocket(), SUMOVehicleParameter::parseDepart(), SUMOVehicleParserHelper::parseVTypeEmbedded(), readDetectorFlows(), MSDevice_Routing::reroute(), GUILoadThread::run(), TraCITestClient::run(), MSFrame::setMSGlobals(), and startComputation().
std::string time2string | ( | SUMOTime | t | ) |
Definition at line 59 of file SUMOTime.cpp.
References gPrecision, and STEPS2TIME.
Referenced by MSPModel_Striping::add(), libsumo::Person::add(), MSVehicleTransfer::add(), IntermodalRouter< E, L, N, V >::addSchedule(), GUIRunThread::begin(), MSPerson::MSPersonStage_Walking::beginEventOutput(), MSContainer::MSContainerStage_Tranship::beginEventOutput(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), NLBuilder::build(), CHBuilder< E, V >::buildContractionHierarchy(), NLBuilder::buildNet(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSDeterministicHiLevelTrafficLightLogic::canRelease(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSSwarmTrafficLightLogic::canRelease(), MELoop::changeSegment(), GUIApplicationWindow::checkGamingEvents(), MSVehicleTransfer::checkInsertions(), CHRouter< E, V, PF >::clone(), AStarRouter< MSEdge, SUMOVehicle, prohibited_withPermissions< MSEdge, SUMOVehicle > >::compute(), NBOwnTLDef::computeLogicAndConts(), computeRoutes(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSOTLPolicy::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), GUIVehicle::drawRouteHelper(), GUIParameterTracker::GUIParameterTrackerPanel::drawValue(), GUITLLogicPhasesTrackerWindow::drawValues(), GUIDialog_Breakpoints::encode2TXT(), MSPerson::MSPersonStage_Walking::endEventOutput(), MSContainer::MSContainerStage_Tranship::endEventOutput(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), METriggeredCalibrator::execute(), MSCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), MSDevice_Tripinfo::generateOutput(), MSVehicle::getBackPositionOnLane(), IntermodalTrip< E, N, V >::getID(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSPModel_Striping::getNextLane(), MSDevice_Routing::getParameter(), GUIContainer::getParameterWindow(), GUIPerson::getParameterWindow(), GUICalibrator::getParameterWindow(), GUIMEVehicle::getParameterWindow(), GUIVehicle::getParameterWindow(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUIVehicle::getStopInfo(), MSLane::handleCollisionBetween(), GUIApplicationWindow::handleEvent_SimulationEnded(), ROMAAssignments::incremental(), MSVehicle::Influencer::influenceChangeDecision(), MSActuatedTrafficLightLogic::init(), MSEdge::insertVehicle(), MSSOTLTrafficLightLogic::isThresholdPassed(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::leaveLane(), GUIRunThread::makeStep(), MSPModel_Striping::moveInDirectionOnLane(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), ROLoader::openRoutes(), MSNet::postSimStepOutput(), MSNet::preSimStepOutput(), MSVehicle::processLaneAdvances(), ROLoader::processRoutes(), GUIDialog_Breakpoints::rebuildList(), MSPerson::MSPersonStage_Walking::routeOutput(), MSContainer::routeOutput(), MSTransportable::Stage_Waiting::routeOutput(), MSPerson::routeOutput(), MSStateHandler::saveState(), MSNet::simulate(), MSNet::simulationStep(), MSStopOut::stopEnded(), MSLane::succLinkSec(), MELoop::teleportVehicle(), MSContainer::MSContainerStage_Driving::tripInfoOutput(), MSPerson::MSPersonStage_Walking::tripInfoOutput(), MSContainer::MSContainerStage_Tranship::tripInfoOutput(), MSContainer::tripInfoOutput(), MSPerson::MSPersonStage_Driving::tripInfoOutput(), MSTransportable::Stage_Waiting::tripInfoOutput(), MSPerson::tripInfoOutput(), MSSOTLTrafficLightLogic::trySwitch(), MSSOTLTrafficLightLogic::updateDecayThreshold(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), MSBatteryExport::write(), MSQueueExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSFullExport::write(), MSXMLRawOut::write(), ODMatrix::write(), SUMOVehicleParameter::write(), MSLink::writeApproaching(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), ODMatrix::writeFlows(), writeInterval(), MSDevice_Vehroutes::writeOutput(), MSNet::writeOutput(), RODFDetector::writeSingleSpeedTrigger(), ROLoader::writeStats(), TrajectoriesHandler::writeXMLEmissions(), MEInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSE3Collector::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and MSDevice_Vehroutes::writeXMLRoute().
SUMOTime DELTA_T |
Definition at line 39 of file SUMOTime.cpp.
Referenced by MSDevice_Routing::adaptEdgeEfforts(), MSTransportableControl::add(), GUITLLogicPhasesTrackerWindow::addValue(), MSTransportableControl::boardAnyWaiting(), MSFrame::buildStreams(), MSInsertionControl::checkCandidates(), MSLaneChanger::checkChange(), RONet::checkFlows(), GUIApplicationWindow::checkGamingEvents(), MSE2Collector::checkJam(), GUISUMOAbstractView::checkSnapshots(), NLJunctionControlBuilder::closeTrafficLightLogic(), MSVehicleControl::computeRandomDepartOffset(), MSSOTLTrafficLightLogic::computeReturnTime(), MSSwarmTrafficLightLogic::computeReturnTime(), MSPModel_NonInteracting::PState::computeWalkingTime(), MSLane::detectCollisionBetween(), MSMeanData::detectorUpdate(), MSInsertionControl::determineCandidates(), TraCIServer::dispatchCommand(), MSVehicle::enterLaneAtInsertion(), METriggeredCalibrator::execute(), MSCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSEventControl::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSPModel_Striping::MovePedestrians::execute(), MSVehicle::executeMove(), MSDevice_Tripinfo::generateOutput(), TrackerValueDesc::getAggregationSpan(), MEVehicle::getConservativeSpeed(), MSInductLoop::getCurrentLength(), MSInductLoop::getCurrentOccupancy(), MSInductLoop::getCurrentPassedNumber(), MSInductLoop::getCurrentSpeed(), MSInductLoop::getCurrentVehicleIDs(), libsumo::Simulation::getDeltaT(), GUINet::getRTFactor(), MSLeaderInfo::getSubLanes(), libsumo::InductionLoop::getVehicleData(), MSVehicle::hasStops(), MSVehicle::Influencer::influenceSpeed(), MSVehicle::keepStopping(), GUIRunThread::makeStep(), MSCFModel_Rail::maxNextSpeed(), MSCFModel_Rail::minNextSpeed(), MSPModel_Striping::MSPModel_Striping(), MSRailSignal::MSRailSignal(), MSDevice_Tripinfo::notifyMove(), MSVehicleContainer::DepartFinder::operator()(), NLTriggerBuilder::parseAndBuildCalibrator(), SUMOVehicleParserHelper::parseVTypeEmbedded(), MSVehicle::planMoveInternal(), MSNet::postSimStepOutput(), MSDevice_Routing::preInsertionReroute(), SUMOVehicleParserHelper::processActionStepLength(), TraCIServerAPI_Vehicle::processSet(), GUIRunThread::run(), TrackerValueDesc::setAggregationSpan(), MSFrame::setMSGlobals(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), MSTransportableControl::setWaitEnd(), MELoop::simulate(), MSNet::simulationStep(), MSAbstractLaneChangeModel::startLaneChangeManeuver(), MSInsertionControl::tryInsert(), MSOffTrafficLightLogic::trySwitch(), MSRailSignal::trySwitch(), MSAbstractLaneChangeModel::unchanged(), MSLaneChanger::updateChanger(), MSAbstractLaneChangeModel::updateCompletion(), MSRailCrossing::updateCurrentPhase(), MSRailSignal::updateCurrentPhase(), GUIApplicationWindow::updateTimeLCD(), MSVehicle::updateWaitingTime(), MSPModel_Striping::PState::walk(), ODMatrix::write(), MSNet::writeOutput(), and MSMeanData::writeXMLOutput().