Eclipse SUMO - Simulation of Urban MObility
|
#include <config.h>
#include <string>
#include <cmath>
#include <limits>
Go to the source code of this file.
Macros | |
#define | DEBUGOUT(cond, msg) if (cond) {std::ostringstream oss; oss << msg; std::cout << oss.str();} |
#define | FALLTHROUGH /* do nothing */ |
#define | SUMO_MAX_CONNECTIONS 256 |
the maximum number of connections across an intersection | |
#define | UNUSED_PARAMETER(x) ((void)(x)) |
Typedefs | |
typedef std::pair< int, double > | MMVersion |
(M)ajor/(M)inor version for written networks and default version for loading | |
Functions | |
int | getScalingQuota (double frac, int loaded) |
Returns the number of instances of the current object that shall be emitted given the number of loaded objects considering that "frac" of all objects shall be emitted overall. | |
template<typename T > | |
T | MAX2 (T a, T b) |
template<typename T > | |
T | MAX3 (T a, T b, T c) |
template<typename T > | |
T | MAX4 (T a, T b, T c, T d) |
template<typename T > | |
T | MIN2 (T a, T b) |
template<typename T > | |
T | MIN3 (T a, T b, T c) |
template<typename T > | |
T | MIN4 (T a, T b, T c, T d) |
const MMVersion | NETWORK_VERSION (1, 20) |
double | roundBits (double x, int fractionBits) |
round to the given number of mantissa bits beyond the given number | |
double | roundDecimal (double x, int precision) |
round to the given number of decimal digits | |
double | truncate (double x, int fractionBits) |
discrds mantissa bits beyond the given number | |
Variables | |
bool | gDebugFlag1 |
global utility flags for debugging | |
bool | gDebugFlag2 |
bool | gDebugFlag3 |
bool | gDebugFlag4 |
bool | gDebugFlag5 |
bool | gDebugFlag6 |
bool | gHumanReadableTime |
bool | gIgnoreUnknownVClass |
std::string | gLanguage |
the language for GUI elements and messages | |
int | gPrecision |
the precision for floating point outputs | |
int | gPrecisionGeo |
int | gPrecisionRandom |
bool | gSimulation |
int | GUIDesignHeight |
the default size for GUI elements | |
double | gWeightsRandomFactor |
double | gWeightsWalkOppositeFactor |
const double | INVALID_DOUBLE = std::numeric_limits<double>::max() |
invalid double | |
const int | INVALID_INT = std::numeric_limits<int>::max() |
invalid int | |
const double | SUMO_const_halfLaneWidth = SUMO_const_laneWidth / 2 |
const double | SUMO_const_haltingSpeed = (double) 0.1 |
the speed threshold at which vehicles are considered as halting | |
const double | SUMO_const_laneMarkWidth = 0.1 |
const double | SUMO_const_laneWidth = 3.2 |
const double | SUMO_const_quarterLaneWidth = SUMO_const_laneWidth / 4 |
const double | SUMO_const_waitingContainerDepth = 6.2 |
const double | SUMO_const_waitingContainerWidth = 2.5 |
const double | SUMO_const_waitingPersonDepth = 0.67 |
const double | SUMO_const_waitingPersonWidth = 0.8 |
Definition in file StdDefs.h.
#define DEBUGOUT | ( | cond, | |
msg | |||
) | if (cond) {std::ostringstream oss; oss << msg; std::cout << oss.str();} |
#define SUMO_MAX_CONNECTIONS 256 |
typedef std::pair<int, double> MMVersion |
int getScalingQuota | ( | double | frac, |
int | loaded | ||
) |
Returns the number of instances of the current object that shall be emitted given the number of loaded objects considering that "frac" of all objects shall be emitted overall.
Definition at line 61 of file StdDefs.cpp.
Referenced by MSVehicleControl::getQuota(), and ROMARouteHandler::myEndElement().
|
inline |
Definition at line 82 of file StdDefs.h.
Referenced by MSRoutingEngine::_initEdgeWeights(), MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_CC::_v(), MSCFModel_Kerner::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), HelpersEnergy::acceleration(), MSCFModel_ACC::accelGapControl(), MSDevice_GLOSA::adaptSpeed(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSPModel_Striping::addCrossingVehs(), NBNode::addedLanesRight(), MSLane::addLeaders(), GUIParkingArea::addLotEntry(), MSLaneChangerSublane::addOutsideLeaders(), PublicTransportEdge< E, L, N, V >::addSchedule(), GUILane::addSecondaryShape(), MSRouteHandler::addStop(), AFCentralizedSPTree< E, N, V >::AFCentralizedSPTree(), AFRouter< E, N, V >::AFRouter(), AFRouter< E, N, V >::AFRouter(), AFRouter< E, N, V >::AFRouter(), MSE2Collector::aggregateOutputValues(), MSLCM_LC2013::anticipateFollowSpeed(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilters(), MSCFModel_Wiedemann::approaching(), NBEdge::assignInternalLaneLength(), AStarRouter< E, V >::AStarRouter(), AStarRouter< E, V >::AStarRouter(), IDSupplier::avoid(), MSLaneChanger::avoidDeadlock(), MSBaseVehicle::basePos(), SUMOVehicleParserHelper::beginVTypeParsing(), NBNode::bezierControlPoints(), MSCFModel_EIDM::brakeGap(), NIVisumTL::build(), GNEViewNet::buildColorRainbow(), GUIViewTraffic::buildColorRainbow(), RODFNet::buildEdgeFlowMap(), NBNode::buildInnerEdges(), NBEdge::buildInnerEdges(), GNETLSEditorFrame::buildInternalLanes(), GUISUMOAbstractView::buildMinMaxRainbow(), buildNetwork(), libsumo::Helper::buildStopParameters(), MSDevice_Routing::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), GawronCalculator< R, E, V >::calculateProbabilities(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), NEMAPhase::calcVehicleExtension(), RGBColor::changedAlpha(), RGBColor::changedBrightness(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSPerson::checkAccess(), MSLCM_SL2015::checkBlocking(), MSLCM_SL2015::checkBlockingVehicles(), MELoop::checkCar(), MSLaneChanger::checkChange(), NBOwnTLDef::checkCustomCrossingIndices(), GUIPolygon::checkDraw(), GUIVisualizationSettings::checkDrawEdge(), GUIVisualizationSettings::checkDrawJunction(), GUIVisualizationSettings::checkDrawPOI(), GUIVisualizationSettings::checkDrawPoly(), MSDevice_ToC::checkDynamicToC(), NBEdgeCont::checkGrade(), MSVehicle::checkLinkLeader(), MSLaneChanger::checkOppositeStop(), MSFrame::checkOptions(), MSE2Collector::checkPositioning(), MSVehicle::checkReversal(), MEVehicle::checkStop(), MSLCM_SL2015::checkStrategicChange(), MSLink::checkWalkingAreaFoe(), GUIParameterTableWindow::closeBuilding(), MSVehicle::collisionStopTime(), MSLCM_SL2015::commitManoeuvre(), Bresenham::compute(), AFRouter< E, N, V >::compute(), AStarRouter< E, V >::compute(), HelpersHBEFA::compute(), HelpersHBEFA3::compute(), HelpersHBEFA4::compute(), HelpersPHEMlight::compute(), HelpersPHEMlight5::compute(), NBNetBuilder::compute(), NBTrafficLightDefinition::computeBrakingTime(), MSVehicleType::computeChosenSpeedDeviation(), MSDispatch::computeDetourTime(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), MSLink::computeDistToDivergence(), MSPModel_NonInteracting::PState::computeDuration(), MSPModel_NonInteracting::CState::computeDuration(), NBNodeShapeComputer::computeEdgeBoundaries(), NBOwnTLDef::computeEscapeTime(), MSLCM_SL2015::computeGapFactor(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeLanes2Lanes(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V >::computeNode2Edge(), Node2EdgeRouter< E, N, V >::computeNode2Edges(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeTypeComputer::computeNodeTypes(), MSLaneChanger::computeOvertakingTime(), computeRoutes(), MSLaneChanger::computeSafeOppositeLength(), GUIBaseVehicle::computeSeats(), MSLCM_SL2015::computeSpeedGain(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSCFModel_W99::computeThresholds(), MSTrainHelper::computeTrainDimensions(), libsumo::Helper::convertCartesianToRoadMap(), MSSOTLTrafficLightLogic::countVehicles(), NGRandomNetBuilder::createNewNode(), GNENet::createRoundabout(), MSCFModel_Daniel1::dawdle(), MSCFModel_KraussOrig1::dawdle(), MSCFModel_SmartSK::dawdle(), MSCFModel_Krauss::dawdle2(), MSCFModel_KraussX::dawdleX(), MSDevice_SSM::determineTTCandDRACandPPETandMDRAC(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSCFModel::distAfterTime(), NBNodeShapeComputer::divisionWidth(), GUIBasePersonHelper::drawAction_drawAsCenteredCircle(), GUIBasePersonHelper::drawAction_drawAsCircle(), GUIBaseVehicleHelper::drawAction_drawVehicleAsCircle(), GUIVehicle::drawAction_drawVehicleBlinker(), GUIVehicle::drawBestLanes(), GNELane::drawDirectionIndicators(), GUILane::drawDirectionIndicators(), GUIOverheadWire::drawGL(), GNEVehicle::drawGL(), GUILane::drawGL(), GUILane::drawLinkRule(), GUIBaseVehicle::drawStopLabels(), GUITLLogicPhasesTrackerWindow::drawValues(), MSVehicle::enterLaneAtMove(), MSDevice_StationFinder::estimateConsumption(), MSCFModel::estimateSpeedAfterDistance(), MSVehicle::estimateTimeToNextStop(), MSStoppingPlaceRerouter::evaluateDestination(), METriggeredCalibrator::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), NBEdge::expandableBy(), NBEdge::extendGeometryAtNode(), MSCFModel::finalizeSpeed(), MSCFModel_CC::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), NBPTStop::findLaneAndComputeBusStopExtent(), NBEdgeCont::fixSplitCustomLength(), MSCFModel_CACC::followSpeed(), MSCFModel_Krauss::followSpeed(), MSCFModel_KraussOrig1::followSpeed(), MSCFModel_PWag2009::followSpeed(), MSCFModel_Rail::followSpeed(), MSCFModel_SmartSK::followSpeed(), MSCFModel_W99::followSpeed(), MSLCM_SL2015::forecastAverageSpeed(), MSCFModel_EIDM::freeSpeed(), MSCFModel::freeSpeed(), MSCFModel_Rail::freeSpeed(), MSCFModel_EIDM::freeSpeed(), MSCFModel_IDM::freeSpeed(), RGBColor::fromHSV(), libsumo::Helper::fuseLaneCoverage(), MSVehicle::Influencer::gapControlSpeed(), MSCFModel::gapExtrapolation(), MSDevice_Emissions::generateOutput(), NBEdgeCont::generateStreetSigns(), NBNode::geometryLike(), GUIMessageWindow::getActiveStringObject(), MSPModel_Striping::PState::getAngle(), MSVehicle::getArrivalTime(), MSAbstractLaneChangeModel::getAssumedDecelForLaneChangeDuration(), MSMeanData_Net::MSLaneMeanDataValues::getAttributeValue(), MSDevice_Tripinfo::getAvgDepartDelayWaiting(), MSVehicle::getBackPosition(), MEVehicle::getBoundingBox(), MSVehicle::getBoundingBox(), MSVehicle::getBoundingPoly(), GUIPerson::getCenteringBoundary(), MSLaneChanger::getColumnleader(), MEVehicle::getConservativeSpeed(), MSLane::getCriticalLeader(), GUIBusStop::getCroppedLastFreePos(), MSEdge::getCurrentTravelTime(), SUMOVTypeParameter::getDefaultEmergencyDecel(), NBNodeShapeComputer::getDefaultRadius(), MSVehicle::getDeltaPos(), SUMOVehicleParameter::getDepartPos(), SUMOVehicleParameter::getDepartPosLat(), SUMOVehicleParameter::getDepartSpeed(), ROVehicle::getDepartureTime(), NBNodeCont::getDiameter(), MSVehicle::getDistanceToLeaveJunction(), MSDevice_ToC::getDynamicMRMProbability(), MSRoutingEngine::getEffort(), MSRoutingEngine::getEffortBike(), MSE2Collector::getEstimateQueueLength(), GUIVisualizationSizeSettings::getExaggeration(), NBEdge::getFinalLength(), MSLane::getFollowersOnConsecutive(), GUISUMOAbstractView::getFPS(), MSDevice_Tripinfo::getGlobalParameter(), MSBaseVehicle::getImpatience(), MSPerson::getImpatience(), MSPModel_Striping::PState::getImpatience(), MSInductLoop::getIntervalOccupancy(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSLCM_SL2015::getLateralDrift(), MSSimpleTrafficLightLogic::getLatest(), LIBSUMO_NAMESPACE::Vehicle::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLink::getLeaveTime(), GNELane::getLengthGeometryFactor(), MSActuatedTrafficLightLogic::getLinkMinDuration(), PositionVector::getMaxGrade(), NBLoadedSUMOTLDef::getMaxIndex(), MSAbstractLaneChangeModel::getMaxSpeedLat2(), MSStop::getMinDuration(), NIImporter_OpenStreetMap::getNeighboringNodes(), MESegment::getNextInsertionTime(), MSInductLoop::getOccupancy(), MSLaneChanger::getOncomingVehicle(), MSLane::getOppositePos(), PositionVector::getOverlapWith(), MSDevice_SSM::getParameter(), PedestrianEdge< E, L, N, V >::getPartialLength(), MSEdge::getProbableLane(), MSPModel_JuPedSim::getRadius(), NBNode::getReduction(), GUIVehicle::getRightSublaneOnEdge(), MSLCHelper::getRoundaboutDistBonus(), MSCFModel_CACC::getSecureGap(), MSCFModel_IDM::getSecureGap(), MSCFModel_Wiedemann::getSecureGap(), MSCFModel::getSecureGap(), MSCFModel_EIDM::getSecureGap(), NBNodeShapeComputer::getSmoothCorner(), MSPerson::MSPersonStage_Access::getSpeed(), MSCFModel::getSpeedAfterMaxDecel(), MSLCHelper::getSpeedPreservingSecureGap(), MSVehicle::getStopDelay(), MSBaseVehicle::getStopEdges(), LIBSUMO_NAMESPACE::Vehicle::getStops(), MSLeaderInfo::getSubLanes(), MSLane::getSurroundingVehicles(), MESegment::getTauJJ(), MSDevice_Tripinfo::getTotalDepartDelay(), NEMAPhase::getTransitionTime(), MSStoppingPlace::getTransportablesAbreast(), PedestrianEdge< E, L, N, V >::getTravelTime(), ROEdge::getTravelTime(), RailwayRouter< E, V >::getTravelTimeStatic(), MSTrainHelper::getUpscaleLength(), MSPModel_Striping::getVehicleObstacles(), GUIVehicle::getVisualAngle(), MEVehicle::getWaitingTime(), MSLink::getZipperSpeed(), NBLoadedSUMOTLDef::guessMinMaxDuration(), NBEdgeCont::guessRoundabouts(), GUIBusStop::GUIBusStop(), GUIJunctionWrapper::GUIJunctionWrapper(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSIdling_Stop::idle(), MSVehicle::Influencer::implicitSpeedRemote(), MSEdge::inferEdgeType(), MSVehicle::Influencer::influenceSpeed(), MSLCM_DK2008::informBlocker(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), RailEdge< E, V >::init(), MSTrafficLightLogic::initMesoTLSPenalties(), ROEdge::initPriorityFactor(), MESegment::initSegment(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::insertVehicle(), MSCFModel::interactionGap(), MSCFModel_EIDM::interactionGap(), MSCFModel_IDM::interactionGap(), MSCFModel_EIDM::internalsecuregap(), MSCFModel_EIDM::internalspeedlimit(), MSVehicle::interpolateLateralZ(), NIImporter_OpenStreetMap::EdgesHandler::interpretLaneUse(), MSLane::isInsertionSuccess(), NBLoadedSUMOTLDef::joinLogic(), NBEdgeCont::joinTramEdges(), MSLCM_SL2015::keepLatGap(), LandmarkLookupTable< E, V >::LandmarkLookupTable(), MSTransportableControl::loadAnyWaiting(), GUINet::loadEdgeData(), PCLoaderOSM::loadIfSet(), SUMORouteLoaderControl::loadNext(), GUITLLogicPhasesTrackerWindow::loadSettings(), NBHeightMapper::loadTiff(), GUIPersistentWindowPos::loadWindowPos(), LandmarkLookupTable< E, V >::lowerBound(), MSE2Collector::makeMoveNotification(), MAX3(), MAX4(), MSCFModel::maximumSafeFollowSpeed(), MSCFModel_EIDM::maximumSafeFollowSpeed(), MSCFModel::maximumSafeStopSpeed(), MSCFModel::maximumSafeStopSpeedBallistic(), MSCFModel_KraussPS::maxNextSpeed(), MSCFModel_Rail::minNextSpeed(), MSCFModel::minNextSpeed(), MSCFModel_CC::minNextSpeed(), MSCFModel_IDM::minNextSpeed(), MSCFModel::minNextSpeedEmergency(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::PState::moveTo(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_ToC::MRMExecutionStep(), RGBColor::multiply(), NIImporter_SUMO::myEndElement(), GUINet::DiscoverAttributes::myStartElement(), NIImporter_OpenDrive::myStartElement(), MESegment::newArrival(), MSE2Collector::notifyLeave(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_Transportable::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_StationFinder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSPModel_Striping::numStripes(), GNEFrame::openHelpAttributesDialog(), NBContHelper::relative_outgoing_edge_sorter::operator()(), NBContHelper::relative_incoming_edge_sorter::operator()(), MSDispatch::time_sorter::operator()(), MSPModel_Striping::PState::otherStripe(), MSPModel_Striping::PState::otherStripe(), MSInductLoop::overrideTimeSinceDetection(), MSLCM_LC2013::overtakeDistance(), StringUtils::padFront(), NLTriggerBuilder::parseAndBuildStoppingPlace(), MSCFModel::passingTime(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), NBRampsComputer::patchRampGeometry(), MSLCM_DK2008::patchSpeed(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSCFModel_KraussOrig1::patchSpeedBeforeLC(), MSCFModel_EIDM::patchSpeedBeforeLCEIDM(), MSRoutingEngine::patchSpeedForTurns(), MSVehicle::planMoveInternal(), MESegment::prepareDetectorForWriting(), MSLCM_LC2013::prepareStep(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), SUMOVehicleParserHelper::processActionStepLength(), MSE2Collector::processJams(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NBEdgeCont::processSplits(), MSVehicle::processTraCISpeedControl(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneLongEdges(), StringUtils::pruneZeros(), MSEdge::recalcCache(), MESegment::receive(), MSLink::recheckSetRequestInformation(), NIImporter_OpenDrive::recomputeWidths(), NIImporter_OpenStreetMap::reconstructLayerElevation(), MSCalibrator::remainingVehicleCapacity(), GNETLSEditorFrame::TLSPhases::removePhase(), NBPTStop::replaceEdge(), NBEdge::replaceInConnections(), MSBaseVehicle::replaceVehicleType(), NIImporter_DlrNavteq::TimeRestrictionsHandler::report(), MSStageTrip::reroute(), NBEdgeCont::retrievePossiblySplit(), MSStageWalking::routeOutput(), NIImporter_OpenDrive::sanitizeWidths(), MSLCM_LC2013::saveBlockerLength(), MSLCM_SL2015::saveBlockerLength(), MSBaseVehicle::saveState(), MSTransportable::saveState(), MSE2Collector::selectLanes(), MESegment::send(), Boundary::set(), MSDevice_ElecHybrid::setActualBatteryCapacity(), MSStageDriving::setArrived(), MSSimpleDriverState::setAwareness(), MSDevice_ToC::setAwareness(), GUIMessageWindow::setCursorPos(), NIImporter_OpenDrive::setLaneAttributes(), MSFrame::setMSGlobals(), GUILane::setMultiColor(), GNELane::setMultiColor(), MSParkingArea::setNumAlternatives(), MSLCM_SL2015::setOwnState(), MSDevice_StationFinder::setParameter(), MSVehicle::setPreviousSpeed(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), MSLink::setRequestInformation(), MSParkingArea::setRoadsideCapacity(), MESegment::setSpeedForQueue(), GUIMainWindow::setWindowSizeAndPos(), GUIViewTraffic::showLaneReachability(), MSVehicle::slowDownForSchedule(), GNEEdge::smoothShape(), NBEdgeCont::splitAt(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSCFModel_PWag2009::stopSpeed(), MSCFModel_SmartSK::stopSpeed(), MSPModel_Striping::PState::stripe(), MELoop::teleportVehicle(), time2string(), NGNet::toNB(), MSTriggeredRerouter::triggerRouting(), MSDelayBasedTrafficLightLogic::trySwitch(), AGFreeTime::typeFromHomeDay(), AGFreeTime::typeFromHomeEvening(), AGFreeTime::typeFromHomeNight(), NEMAPhase::update(), PolygonDynamics::update(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSRailCrossing::updateCurrentPhase(), MSLCM_SL2015::updateGaps(), CHBuilder< E, V >::CHInfo::updateLevel(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSimpleDriverState::updateReactionTime(), MSSwarmTrafficLightLogic::updateSensitivities(), MSVehicle::updateState(), NIImporter_OpenStreetMap::usableType(), MSVehicleControl::vehicleDeparted(), MFXWorkerThread::Pool::waitAll(), MSPModel_Striping::PState::walk(), MSStageWalking::walkDistance(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), MSLCM_SL2015::wantsKeepRight(), MSVehicle::workOnMoveReminders(), SUMOVehicleParameter::write(), MSMeanData_Net::MSLaneMeanDataValues::write(), MSEmissionExport::write(), ODMatrix::write(), RODFDetectorCon::writeEmitters(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomPP3(), NWWriter_OpenDrive::writeGeomSmooth(), NWWriter_OpenDrive::writeInternalEdge(), NWWriter_SUMO::writeInternalEdges(), NWWriter_SUMO::writeLane(), MSQueueExport::writeLane(), NWWriter_OpenDrive::writeNormalEdge(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), RODFDetector::writeSingleSpeedTrigger(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), and MSDevice_Taxi::~MSDevice_Taxi().
|
inline |
Definition at line 96 of file StdDefs.h.
References MAX2().
Referenced by HelpersEnergy::acceleration(), libsumo::Helper::applySubscriptionFilterLateralDistance(), MELoop::checkCar(), MSActuatedTrafficLightLogic::duration(), MSCFModel_EIDM::freeSpeed(), NBRampsComputer::fulfillsRampConstraints(), MSCFModel::getMinimalArrivalTime(), MESegment::getNextInsertionTime(), MSLink::getZipperSpeed(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSStageWaiting::loadState(), MSStageWaiting::proceed(), MSActuatedTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), and MSLCM_SL2015::updateGaps().
|
inline |
Definition at line 110 of file StdDefs.h.
References MAX2().
Referenced by GUIOSGPerspectiveChanger::updateViewport().
|
inline |
Definition at line 76 of file StdDefs.h.
Referenced by RailwayRouter< E, V >::_compute(), MSRoutingEngine::_initEdgeWeights(), MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSCFModel_EIDM::_v(), MSCFModel_Kerner::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSCFModel_ACC::accelGapControl(), MSVehicle::DriveProcessItem::adaptLeaveSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::DriveProcessItem::adaptStopSpeed(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToOncomingLeader(), MSPModel_Striping::addCrossingVehs(), NBNode::addedLanesRight(), GNENet::addGreenVergeLane(), MSLeaderDistanceInfo::addLeaders(), MSLaneChangerSublane::addOutsideLeaders(), GNENet::addRestrictedLane(), MSBaseVehicle::addStop(), NBEdge::addStraightConnections(), MSMeanData_Net::MSLaneMeanDataValues::addTo(), MSLCM_LC2013::anticipateFollowSpeed(), MSDevice_ToC::awarenessRecoveryStep(), MSBaseVehicle::basePos(), NBNode::bezierControlPoints(), GNEViewNet::buildColorRainbow(), GUIViewTraffic::buildColorRainbow(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), GNETLSEditorFrame::buildInternalLanes(), GUISUMOAbstractView::buildMinMaxRainbow(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), NEMALogic::calculateForceOffs170(), NEMALogic::calculateForceOffsTS2(), GawronCalculator< R, E, V >::calculateProbabilities(), GNEPathManager::PathCalculator::calculateReachability(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), NEMAPhase::calcVehicleExtension(), RGBColor::changedAlpha(), RGBColor::changedBrightness(), MSLaneChanger::changeOpposite(), MSLCM_SL2015::checkBlocking(), MSLCM_SL2015::checkBlockingVehicles(), MELoop::checkCar(), MSLaneChanger::checkChange(), NBOwnTLDef::checkCustomCrossingIndices(), MSLane::checkFailure(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSLink::checkWalkingAreaFoe(), MSLCM_SL2015::commitFollowSpeed(), Bresenham::compute(), AFRouter< E, N, V >::compute(), AStarRouter< E, V >::compute(), NBNetBuilder::compute(), NBEdge::computeAngle(), MSVehicle::computeAngle(), MSTrainHelper::computeCarriages(), MSDispatch_GreedyClosest::computeDispatch(), MSDevice_SSM::computeDRAC(), NBEdge::computeEdgeShape(), NBNode::computeLanes2Lanes(), MSParkingArea::computeLastFreePos(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V >::computeNode2Edge(), Node2EdgeRouter< E, N, V >::computeNode2Edges(), computeRoutes(), MSLaneChanger::computeSafeOppositeLength(), MSLCM_SL2015::computeSpeedGain(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSTrainHelper::computeTrainDimensions(), GNENet::createRoundabout(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::cutLogic(), MSDevice_SSM::determineTTCandDRACandPPETandMDRAC(), GUIBasePersonHelper::drawAction_drawAsCenteredCircle(), GUIBasePersonHelper::drawAction_drawAsCircle(), GUIVehicle::drawAction_drawCarriageClass(), GUIBaseVehicleHelper::drawAction_drawVehicleAsCircle(), GNELane::drawDirectionIndicators(), GUILane::drawDirectionIndicators(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GUIOverheadWire::drawGL(), GUIParkingArea::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVehicle::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUILane::drawGL(), GLHelper::drawInverseMarkings(), GUILane::drawJunctionChangeProhibitions(), GUIEdge::drawMesoVehicles(), GUIBaseVehicle::drawOnPos(), GNELane::drawStartEndGeometryPoints(), MSDevice_GLOSA::earliest_arrival(), NEMAPhase::enter(), MSDevice_Battery::estimateChargingDuration(), MSDevice_SSM::estimateConflictTimes(), MSDevice_StationFinder::estimateConsumption(), MEVehicle::estimateLeaveSpeed(), MSCFModel::estimateSpeedAfterDistance(), MSVehicle::estimateTimeToNextStop(), NBNode::ApproachingDivider::execute(), MSPModel_JuPedSim::execute(), MSVehicle::executeMove(), NBEdge::extendGeometryAtNode(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), LIBSUMO_NAMESPACE::Simulation::findIntermodalRoute(), NBPTStop::findLaneAndComputeBusStopExtent(), NBEdge::firstIntersection(), MSCFModel_ACC::followSpeed(), MSCFModel_CACC::followSpeed(), MSCFModel_Daniel1::followSpeed(), MSCFModel_Kerner::followSpeed(), MSCFModel_Krauss::followSpeed(), MSCFModel_KraussOrig1::followSpeed(), MSCFModel_PWag2009::followSpeed(), MSCFModel_Rail::followSpeed(), MSCFModel_SmartSK::followSpeed(), MSCFModel_W99::followSpeed(), MSLane::freeInsertion(), MSCFModel_IDM::freeSpeed(), RGBColor::fromHSV(), MSCFModel_Wiedemann::fullspeed(), libsumo::Helper::fuseLaneCoverage(), MSActuatedTrafficLightLogic::gapControl(), MSVehicle::Influencer::gapControlSpeed(), MSCFModel::gapExtrapolation(), MSMeanData_Net::MSLaneMeanDataValues::getAttributeValue(), MEVehicle::getAverageSpeed(), MSVehicle::getBackPositionOnLane(), MEVehicle::getBoundingBox(), MSVehicle::getBoundingBox(), MSVehicle::getBoundingPoly(), MSLane::getBruttoOccupancy(), GUIMEVehicle::getCenteringBoundary(), PollutantsInterface::Helper::getCoastingDecel(), GUIBaseVehicle::getContainerPosition(), NBNodeShapeComputer::getDefaultRadius(), MSEdge::getDepartLane(), MSEdge::getDepartPosBound(), MSLane::getDepartSpeed(), MSDevice_ToC::getDynamicMRMProbability(), MSSimpleTrafficLightLogic::getEarliest(), MSStageDriving::getEdgePos(), ROEdge::getEffort(), ROEdge::getEmissionEffort(), GNEDemandElementPlan::getEndPosRadius(), MESegment::getEntryBlockTimeSeconds(), GNEEdge::getGeometryPointRadius(), MSBaseVehicle::getImpatience(), MSPerson::getImpatience(), MSPModel_Striping::PState::getImpatience(), MSInductLoop::getIntervalOccupancy(), MSParkingArea::getLastFreePos(), MSStoppingPlace::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLeadersOnConsecutive(), LIBSUMO_NAMESPACE::Lane::getLinks(), MSLane::getMaximumBrakeDist(), MSDevice_Battery::getMaximumChargeRate(), MSBaseVehicle::getMaxSpeed(), MSTransportable::getMaxSpeed(), RORoutable::getMaxSpeed(), GeomHelper::getMinAngleDiff(), MSActuatedTrafficLightLogic::getMinimumMinDuration(), ROEdge::getMinimumTravelTime(), NBNodesEdgesSorter::crossing_by_junction_angle_sorter::getMinRank(), PositionVector::getMinZ(), HelpersPHEMlight::getModifiedAccel(), HelpersPHEMlight5::getModifiedAccel(), NIImporter_OpenStreetMap::getNeighboringNodes(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), ROEdge::getNoiseEffort(), MSInductLoop::getOccupancy(), MSInductLoop::getOccupancyTime(), MSLaneChanger::getOncomingVehicle(), MSDevice_SSM::getParameter(), MSPModel_NonInteracting::CState::getPosition(), MSPModel_Striping::getReserved(), GUIBaseVehicle::getSeatPosition(), MSCFModel::getSecureGap(), MSCFModel_EIDM::getSecureGap(), NBEdge::getShapeEndAngle(), NBEdge::getShapeStartAngle(), MSLeaderInfo::getSublaneBorders(), MSLeaderInfo::getSubLanes(), MSLane::getSurroundingVehicles(), MSCFModel_Rail::TrainParams::getTraction(), PublicTransportEdge< E, L, N, V >::getTravelTime(), ROEdge::getTravelTime(), MSEdge::getTravelTimeAggregated(), MSLane::getVehicleMaxSpeed(), MSPModel_Striping::getVehicleObstacles(), MSLink::getZipperSpeed(), NBNodeCont::guessTLs(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSLane::handleCollisionBetween(), MSVehicle::handleCollisionStop(), MSLane::handleIntermodalCollisionBetween(), MESegment::hasSpaceFor(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSVehicle::Influencer::implicitDeltaPosRemote(), MSVehicle::Influencer::implicitSpeedRemote(), MSVehicle::Influencer::influenceSpeed(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSLCM_SL2015::informLeaders(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSTrafficLightLogic::initMesoTLSPenalties(), ROEdge::initPriorityFactor(), MSCFModel_CACC::insertionFollowSpeed(), MSCFModel::insertionStopSpeed(), MSCFModel_EIDM::insertionStopSpeed(), MSLane::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSCFModel::interactionGap(), MSCFModel_EIDM::internalspeedlimit(), MSLCM_SL2015::keepLatGap(), MSVehicle::keepStopping(), MSLane::lastInsertion(), SUMORouteLoaderControl::loadNext(), GUITLLogicPhasesTrackerWindow::loadSettings(), MESegment::loadState(), NBHeightMapper::loadTiff(), GUIPersistentWindowPos::loadWindowPos(), MSE2Collector::makeMoveNotification(), MSCFModel::maximumLaneSpeedCF(), MSCFModel_CACC::maximumLaneSpeedCF(), MSCFModel::maximumSafeFollowSpeed(), MSCFModel_EIDM::maximumSafeFollowSpeed(), MSCFModel::maximumSafeStopSpeed(), MSCFModel::maxNextSpeed(), MSCFModel_KraussPS::maxNextSpeed(), NIImporter_OpenStreetMap::mergeTurnSigns(), MIN3(), MIN4(), MSCFModel_IDM::minNextSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::PState::moveTo(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSEdgeControl::MSEdgeControl(), RGBColor::multiply(), MSLCM_SL2015::mustOvertakeStopped(), GUINet::DiscoverAttributes::myStartElement(), NIImporter_OpenStreetMap::EdgesHandler::myStartElement(), NBEdge::NBEdge(), MESegment::newArrival(), TraCIServer::nextTargetTime(), MSDevice_GLOSA::notifyEnter(), MSDevice_Battery::notifyMove(), MSDevice_Bluelight::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_StationFinder::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GUISUMOAbstractView::openPopupDialog(), NBContHelper::relative_outgoing_edge_sorter::operator()(), NBContHelper::relative_incoming_edge_sorter::operator()(), NBRequest::oppositeLeftTurnConflict(), MSPModel_Striping::PState::otherStripe(), MSInductLoop::overrideTimeSinceDetection(), MapMatcher< E, L, N >::parseGeoEdges(), MSCFModel::passingTime(), NBRampsComputer::patchRampGeometry(), MSLCM_DK2008::patchSpeed(), MSCFModel_Krauss::patchSpeedBeforeLC(), MSCFModel_EIDM::patchSpeedBeforeLCEIDM(), MSVehicle::planMoveInternal(), MSLCM_LC2013::prepareStep(), MSDevice_Taxi::prepareStop(), MSDevice_SSM::processEncounters(), MSVehicle::processLinkApproaches(), ROLoader::processRoutes(), NBNodeCont::pruneClusterFringe(), MSEdge::recalcCache(), MESegment::receive(), NBEdge::reinit(), NBEdge::replaceInConnections(), MSBaseVehicle::replaceVehicleType(), NIImporter_DlrNavteq::TimeRestrictionsHandler::report(), MSStageTrip::reroute(), MSStoppingPlaceRerouter::reroute(), GUIVehicle::rerouteDRTStop(), MSDevice_StationFinder::rerouteToChargingStation(), ROMAAssignments::resetFlows(), MSDevice_ToC::responseTimeMean(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::PersonTrip::saveAsXML(), Boundary::set(), MSDevice_ElecHybrid::setActualBatteryCapacity(), MSStageDriving::setArrived(), MSDevice_ToC::setAwareness(), GUIMessageWindow::setCursorPos(), NIImporter_OpenDrive::setLaneAttributes(), MSLCM_SL2015::setOwnState(), MSDevice_StationFinder::setParameter(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), MSLink::setRequestInformation(), MSParkingArea::setRoadsideCapacity(), MSDevice_ToC::setState(), GUIMainWindow::setWindowSizeAndPos(), NBEdge::shiftPositionAtNode(), NBEdge::shortenGeometryAtNode(), GUIViewTraffic::showLaneReachability(), PositionVector::simplified2(), MSCFModel_EIDM::slowToStartTerm(), PositionVector::smoothedZFront(), GNEEdge::smoothShape(), NBEdgeCont::splitAt(), NBEdge::startShapeAt(), MSCFModel_IDM::stopSpeed(), MSCFModel_Rail::stopSpeed(), MSCFModel_W99::stopSpeed(), MSCFModel_Wiedemann::stopSpeed(), MSCFModel_ACC::stopSpeed(), MSCFModel_CACC::stopSpeed(), MSCFModel_Daniel1::stopSpeed(), MSCFModel_Kerner::stopSpeed(), MSCFModel_Krauss::stopSpeed(), MSCFModel_KraussOrig1::stopSpeed(), MSCFModel_PWag2009::stopSpeed(), MSCFModel_SmartSK::stopSpeed(), MSPModel_Striping::PState::stripe(), MSDevice_StationFinder::teleportToChargingStation(), time2string(), MSActuatedTrafficLightLogic::trySwitch(), MSDelayBasedTrafficLightLogic::trySwitch(), AGFreeTime::typeFromHomeNight(), MSVehicle::updateBestLanes(), MSLink::updateDistToFoePedCrossing(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSLCM_SL2015::updateGaps(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSEdge::validateDepartSpeed(), MSVehicleControl::vehicleDeparted(), MSCFModel_KraussOrig1::vsafe(), MFXWorkerThread::Pool::waitAll(), MSPModel_Striping::PState::walk(), MSLCM_DK2008::wantsChangeToLeft(), MSLCM_DK2008::wantsChangeToRight(), MSMeanData_Emissions::MSLaneMeanDataValues::write(), MSMeanData_Harmonoise::MSLaneMeanDataValues::write(), MSMeanData_Net::MSLaneMeanDataValues::write(), NWWriter_OpenDrive::writeGeomSmooth(), NWWriter_SUMO::writeLane(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), MSE3Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), and MSMeanData::writeXMLOutput().
|
inline |
Definition at line 89 of file StdDefs.h.
References MIN2().
Referenced by MSCFModel_Kerner::_v(), NBNode::addedLanesRight(), NBNodeShapeComputer::badIntersection(), MSLCM_SL2015::commitManoeuvre(), MSLink::computeDistToDivergence(), MSActuatedTrafficLightLogic::duration(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSLink::getZipperSpeed(), MSTrafficLightLogic::init(), MSCFModel_EIDM::patchSpeedBeforeLCEIDM(), MSVehicle::processLinkApproaches(), MSLCM_SL2015::updateGaps(), and MSPModel_Striping::PState::walk().
|
inline |
Definition at line 103 of file StdDefs.h.
References MIN2().
Referenced by MSCFModel_Kerner::_v(), GLHelper::drawBoxLines(), MSMeanData::MeanDataValues::notifyMove(), and GUIOSGPerspectiveChanger::updateViewport().
const MMVersion NETWORK_VERSION | ( | 1 | , |
20 | |||
) |
Referenced by NWWriter_XML::writeEdgesAndConnections(), NWWriter_XML::writeJoinedJunctions(), NWWriter_SUMO::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_XML::writeTrafficLights(), and NWWriter_XML::writeTypes().
double roundBits | ( | double | x, |
int | fractionBits | ||
) |
round to the given number of mantissa bits beyond the given number
Definition at line 48 of file StdDefs.cpp.
double roundDecimal | ( | double | x, |
int | precision | ||
) |
round to the given number of decimal digits
Definition at line 54 of file StdDefs.cpp.
Referenced by MSVehicleType::computeChosenSpeedDeviation(), MSLane::getDepartPosLat(), MSLane::getDepartSpeed(), and MSLane::insertVehicle().
double truncate | ( | double | x, |
int | fractionBits | ||
) |
discrds mantissa bits beyond the given number
Definition at line 44 of file StdDefs.cpp.
|
extern |
global utility flags for debugging
Definition at line 37 of file StdDefs.cpp.
Referenced by MSPModel_Striping::addCrossingVehs(), NBRailwayTopologyAnalyzer::allBroken(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), NIImporter_OpenDrive::OpenDriveLaneSection::buildAttributeChanges(), NBNode::buildCrossings(), NBNode::buildWalkingAreas(), NBNode::checkCrossing(), MSVehicle::checkLinkLeader(), MSVehicle::executeMove(), NIImporter_OpenDrive::findWidthSplit(), MSLane::getCriticalLeader(), NBEdge::getCrossingAngle(), NBNode::getEdgesSortedByAngleAtNodeCenter(), MSLane::getFollowersOnConsecutive(), MSLane::getLastVehicleInformation(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), NBNode::guessCrossings(), NBEdgeCont::guessRoundabouts(), MSLane::isInsertionSuccess(), MESegment::isOpen(), NBNodeCont::joinJunctions(), NIImporter_OpenDrive::loadNetwork(), MSPModel_Striping::PState::mergeObstacles(), PositionVector::move2side(), MSPModel_Striping::moveInDirectionOnLane(), MSLink::opened(), MSVehicle::processLinkApproaches(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneLongEdges(), NBNodeCont::pruneSlipLaneNodes(), RandHelper::rand(), NIImporter_OpenDrive::recomputeWidths(), NIImporter_OpenDrive::revisitLaneSections(), NIImporter_OpenDrive::sanitizeWidths(), GUIVehicle::selectBlockingFoes(), NBEdge::setNodeBorder(), and NIImporter_OpenDrive::splitMinWidths().
|
extern |
Definition at line 38 of file StdDefs.cpp.
Referenced by MSLCM_SL2015::_patchSpeed(), MSLCM_SL2015::_wantsChangeSublane(), MSLCM_SL2015::checkBlocking(), MSLCM_SL2015::checkBlockingVehicles(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLCM_SL2015::commitFollowSpeed(), MSLCM_SL2015::commitManoeuvre(), MSCFModel::followSpeedTransient(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_SL2015::keepLatGap(), MSLCM_SL2015::patchSpeed(), MSLCM_SL2015::preventSliding(), MSLCM_SL2015::slowDownForBlocked(), MSLCM_SL2015::updateCFRelated(), MSLCM_SL2015::updateGaps(), and MSLCM_SL2015::wantsChangeSublane().
|
extern |
Definition at line 39 of file StdDefs.cpp.
Referenced by MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::getUpstreamVehicles(), and MSDevice_SSM::getVehiclesOnJunction().
|
extern |
Definition at line 40 of file StdDefs.cpp.
Referenced by MSDriveWay::buildRoute(), MSDriveWay::canUseSiding(), MSDriveWay::conflictLaneOccupied(), MSRailSignal::constraintsAllow(), MSDriveWay::foeDriveWayApproached(), MSDriveWay::foeDriveWayOccupied(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSDriveWay::reserve(), and MSRailSignal::updateCurrentPhase().
|
extern |
Definition at line 41 of file StdDefs.cpp.
Referenced by MSLaneChanger::changeOpposite(), MSLaneChanger::getOncomingOppositeVehicle(), and MSLaneChanger::getOncomingVehicle().
|
extern |
Definition at line 42 of file StdDefs.cpp.
Referenced by MSLink::blockedByFoe(), and MSLink::computeFoeArrivalTimeBraking().
|
extern |
Definition at line 29 of file StdDefs.cpp.
Referenced by GNEViewNetHelper::TimeFormat::buildTimeFormatButtons(), SystemFrame::checkOptions(), elapsedMs2string(), GNEViewNetHelper::TimeFormat::switchTimeFormat(), time2string(), and GNEViewNetHelper::TimeFormat::updateButtonLabel().
|
extern |
Definition at line 31 of file StdDefs.cpp.
Referenced by SystemFrame::checkOptions(), and parseVehicleClasses().
|
extern |
the language for GUI elements and messages
Definition at line 34 of file StdDefs.cpp.
Referenced by SystemFrame::addReportOptions(), main(), GUIMainWindow::onCmdChangeLanguage(), and GUIMainWindow::onUpdChangeLanguage().
|
extern |
the precision for floating point outputs
Definition at line 26 of file StdDefs.cpp.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), NBEdge::assignInternalLaneLength(), SystemFrame::checkOptions(), MSVehicle::checkReversal(), MSCFModel::finalizeSpeed(), StringUtils::format(), MSDevice_Emissions::generateOutput(), SUMOVehicleParameter::getDepartPos(), SUMOVehicleParameter::getDepartPosLat(), SUMOVehicleParameter::getDepartSpeed(), MSLane::getLeader(), GUIVehicle::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), NBNodeCont::joinSameJunctions(), MSDevice_SSM::makeStringWithNAs(), MSDevice_SSM::makeStringWithNAs(), libsumo::Helper::moveToXYMap(), NIImporter_OpenDrive::myStartElement(), MapMatcher< E, L, N >::parseGeoEdges(), MSVehicle::planMove(), MSNet::postSimStepOutput(), MSDevice_Tripinfo::printStatistics(), ROPerson::PersonTrip::saveAsXML(), ROVehicle::saveAsXML(), MSTransportable::saveState(), time2string(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSXMLRawOut::write(), MSFCDExport::write(), MSEmissionExport::write(), NWWriter_OpenDrive::writeInternalEdge(), NWWriter_OpenDrive::writeNormalEdge(), MSDevice_SSM::writeOutConflict(), NWWriter_OpenDrive::writeRoadObjects(), and MSDevice_Tripinfo::writeStatistics().
|
extern |
Definition at line 27 of file StdDefs.cpp.
Referenced by SystemFrame::checkOptions(), MSPModel_JuPedSim::dumpGeometry(), MSVTypeProbe::execute(), GNEPoly::getAttribute(), GNEGeometryPointDialog::GNEGeometryPointDialog(), MSDevice_SSM::makeStringWithNAs(), MSDevice_SSM::makeStringWithNAs(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GUIGLObjectPopupMenu::onCmdCopyViewGeoBoundary(), GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline(), MapMatcher< E, L, N >::parseGeoEdges(), PCPolyContainer::save(), ROPerson::PersonTrip::saveAsXML(), ROVehicle::saveAsXML(), GUISUMOAbstractView::updatePositionInformationLabel(), MSFCDExport::write(), MSEmissionExport::write(), NWWriter_SUMO::writeConnection(), GeoConvHelper::writeLocation(), NWWriter_XML::writeNodes(), MSDevice_SSM::writeOutConflict(), NWWriter_XML::writeShape(), MSFCDExport::writeTransportable(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().
|
extern |
Definition at line 28 of file StdDefs.cpp.
Referenced by MSVehicleType::computeChosenSpeedDeviation(), SUMOVehicleParameter::getDepartPos(), SUMOVehicleParameter::getDepartPosLat(), MSLane::getDepartPosLat(), SUMOVehicleParameter::getDepartSpeed(), MSLane::getDepartSpeed(), MSLane::insertVehicle(), MSBaseVehicle::saveState(), MSTransportable::saveState(), and SUMOVehicleParameter::write().
|
extern |
Definition at line 30 of file StdDefs.cpp.
Referenced by SystemFrame::checkOptions(), LIBSUMO_NAMESPACE::Simulation::load(), main(), and GUIMessageWindow::setCursorPos().
|
extern |
the default size for GUI elements
Definition at line 35 of file StdDefs.cpp.
Referenced by GNEFixAdditionalElements::AdditionalList::AdditionalList(), GNEFixElementsDialog::AdditionalList::AdditionalList(), MFXDecalsTable::Column::adjustColumnWidth(), GUIDesigns::buildFXMenuCheckbox(), GUIDesigns::buildFXMenuCheckboxIcon(), GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommand(), GUIDesigns::buildFXMenuCommandRecentFile(), GUIDesigns::buildFXMenuCommandShortcut(), GUIDesigns::buildFXMenuTitle(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), MFXDecalsTable::fillTable(), GNETLSTable::Column::getColumnMinimumWidth(), GNEOptionsDialog::GNEOptionsDialog(), GUIDialog_AppSettings::GUIDialog_AppSettings(), GUIIconSubSys::GUIIconSubSys(), GUIMainWindow::GUIMainWindow(), GNEPythonToolDialog::openDialog(), GUIDialog_Breakpoints::rebuildList(), GNEFixDemandElements::FixOptions::setInvalidElements(), GNEFixNetworkElements::FixOptions::setInvalidElements(), GNERerouterIntervalDialog::updateClosingLaneReroutesTable(), GNERerouterIntervalDialog::updateClosingReroutesTable(), GNERerouterIntervalDialog::updateDestProbReroutesTable(), GNECalibratorDialog::updateFlowTable(), GNERerouterDialog::updateIntervalTable(), GNERerouterIntervalDialog::updateParkingAreaReroutesTable(), GNERerouterIntervalDialog::updateRouteProbReroutesTable(), GNECalibratorDialog::updateRouteTable(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNECalibratorDialog::updateVehicleTypeTable().
|
extern |
Definition at line 32 of file StdDefs.cpp.
Referenced by SystemFrame::checkOptions(), computeRoutes(), IntermodalRouter< E, L, N, V >::createNet(), MSRoutingEngine::getEffortExtra(), IntermodalEdge< E, L, N, V >::getTravelTimeStaticRandomized(), ROEdge::getTravelTimeStaticRandomized(), MSRoutingEngine::initRouter(), PedestrianRouter< E, L, N, V >::PedestrianRouter(), and PedestrianRouter< E, L, N, V >::PedestrianRouter().
|
extern |
Definition at line 33 of file StdDefs.cpp.
Referenced by SystemFrame::checkOptions(), and PedestrianEdge< E, L, N, V >::getTravelTime().
const double INVALID_DOUBLE = std::numeric_limits<double>::max() |
invalid double
Definition at line 64 of file StdDefs.h.
Referenced by MSDevice_SSM::Encounter::add(), MSMeanData_Net::MSLaneMeanDataValues::addTo(), PositionVector::angleAt2D(), PositionVector::beginEndAngle(), GNEAdditionalHandler::buildAccess(), GNEStoppingPlace::calculateStoppingPlaceContour(), MSDevice_SSM::checkConflictEntryAndExit(), GNEAdditionalHandler::checkLaneDoublePosition(), MSDevice_SSM::classifyEncounter(), GNEVehicle::commitMoveShape(), MSTrainHelper::computeCarriages(), MSDevice_SSM::computeDRAC(), MSDevice_SSM::computeDRAC(), MSDevice_SSM::computeGlobalMeasures(), MSDevice_SSM::computeMDRAC(), MSDevice_SSM::computeSSMs(), MSDevice_SSM::computeTTC(), MSDevice_SSM::createEncounters(), MSDevice_SSM::determinePET(), MSDevice_SSM::determineTTCandDRACandPPETandMDRAC(), GNEStop::drawGeometryPoints(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNENeteditAttributes::drawLaneReference(), EnergyParams::EnergyParams(), EnergyParams::EnergyParams(), MSCFModel::estimateArrivalTime(), MSDevice_SSM::estimateConflictTimes(), MSVehicle::estimateTimeToNextStop(), MSFrame::fillOptions(), ROFrame::fillOptions(), GNEAttributeCarrier::fillWireElements(), GNEAdditionalHandler::fixLaneDoublePosition(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSPModel_Striping::PState::getAngle(), GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNETAZ::getAttribute(), GNEStop::getAttribute(), GNEParkingArea::getAttributeDouble(), GNEStoppingPlace::getAttributeDouble(), GNEStop::getAttributeDouble(), GNEViewNetHelper::IntervalBar::getBegin(), MSDevice_SSM::getDetectionRange(), EnergyParams::getDoubleOptional(), GNENeteditAttributes::getElementLength(), GNEViewNetHelper::IntervalBar::getEnd(), GNEStoppingPlace::getEndGeometryPositionOverLane(), MSDevice_SSM::getExtraTime(), GUIPerson::getGUIAngle(), MSLink::getLengthBeforeCrossing(), MSLink::getLengthsBeforeCrossing(), GNEStoppingPlace::getMoveOperation(), GNEStop::getMoveOperation(), GNEVehicle::getMoveOperation(), GUIPerson::getNaviDegree(), GNENeteditAttributes::getNeteditAttributesAndValues(), MSDevice_SSM::getParameter(), GNEDemandElementPlan::getPlanAttributeDouble(), MSPModel_Striping::PState::getPosition(), MSCFModel_Rail::TrainParams::getResistance(), GUIPerson::getStageArrivalPos(), GNEStoppingPlace::getStartGeometryPositionOverLane(), MSBaseVehicle::getStopArrivalDelay(), MSVehicle::getStopArrivalDelay(), LIBSUMO_NAMESPACE::Vehicle::getStopArrivalDelay(), MSBaseVehicle::getStopEdges(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), GNEStopFrame::getStopParameter(), MSCFModel_Rail::TrainParams::getTraction(), GUIVisualizationSettings::initSumoGuiDefaults(), MSPModel_Striping::insertWalkArePaths(), GNEAccess::isAccessPositionFixed(), GNEAccess::isAdditionalValid(), GNEGenericData::isVisibleInspectDeleteSelect(), main(), MSCFModel_Rail::MSCFModel_Rail(), PositionVector::nearest_offset_to_point25D(), PositionVector::nearest_offset_to_point2D(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNENeteditAttributes::onCmdSetNeteditAttribute(), AdditionalHandler::parseBusStopAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseContainerStopAttributes(), AdditionalHandler::parseOverheadWire(), AdditionalHandler::parseParkingAreaAttributes(), SUMORouteHandler::parseStop(), RouteHandler::parseStopParameters(), AdditionalHandler::parseTrainStopAttributes(), MSDevice_SSM::processEncounters(), MSVehicle::processNextStop(), MSDevice_SSM::qualifiesAsConflict(), MSBaseVehicle::reroute(), MSMeanData_Net::MSLaneMeanDataValues::reset(), MSVehicle::resumeFromStopping(), PositionVector::rotationAtOffset(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEParkingArea::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNENeteditAttributes::setEndPosition(), GNEVehicle::setMoveShape(), GNENeteditAttributes::setStartPosition(), GUIViewTraffic::showLaneReachability(), PositionVector::slopeDegreeAtOffset(), GNEStoppingPlace::splitEdgeGeometry(), GNEViewNetHelper::IntervalBar::updateIntervalBar(), MSDevice_SSM::updatePassedEncounter(), GNETAZ::updateTAZStatistic(), SUMOVehicleParameter::Stop::write(), MSFCDExport::write(), GNEBusStop::writeAdditional(), GNEChargingStation::writeAdditional(), GNEContainerStop::writeAdditional(), GNEParkingArea::writeAdditional(), GNEStop::writeDemandElement(), and MSDevice_SSM::writeOutConflict().
const int INVALID_INT = std::numeric_limits<int>::max() |
const double SUMO_const_halfLaneWidth = SUMO_const_laneWidth / 2 |
Definition at line 49 of file StdDefs.h.
Referenced by GUILane::drawGL(), and NBEdgeCont::processSplits().
const double SUMO_const_haltingSpeed = (double) 0.1 |
the speed threshold at which vehicles are considered as halting
Definition at line 58 of file StdDefs.h.
Referenced by MSCFModel_EIDM::_v(), MSLCM_LC2013::_wantsChange(), MSVehicle::adaptToJunctionLeader(), MSPModel_Striping::addCrossingVehs(), NBEdgeCont::appendRailwayTurnarounds(), NBEdge::appendTurnaround(), MSCFModel::applyStartupDelay(), MSLink::blockedAtTime(), NLBuilder::buildDefaultMeanData(), GUIApplicationWindow::checkGamingEvents(), MSVehicle::checkLinkLeader(), MSLCM_SL2015::checkStrategicChange(), MSAbstractLaneChangeModel::estimateLCDuration(), MSCFModel_EIDM::finalizeSpeed(), MSLane::getFollowersOnConsecutive(), MSVehicleControl::getHaltingVehicleNo(), MSStoppingPlace::getLastFreePos(), LIBSUMO_NAMESPACE::Edge::getLastStepHaltingNumber(), LIBSUMO_NAMESPACE::Lane::getLastStepHaltingNumber(), MSCFModel::getMinimalArrivalTime(), MSLane::getSpaceTillLastStanding(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MSBaseVehicle::isParking(), MSVehicle::keepStopping(), MSDevice_Tripinfo::notifyMove(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), MSVehicle::setBrakingSignals(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLCM_SL2015::updateCFRelated(), MSVehicle::updateWaitingTime(), MSPModel_Striping::PState::walk(), MSLCM_DK2008::wantsChangeToLeft(), and MSLCM_DK2008::wantsChangeToRight().
const double SUMO_const_laneMarkWidth = 0.1 |
Definition at line 51 of file StdDefs.h.
Referenced by GUILane::drawGL(), GLHelper::drawInverseMarkings(), GUILane::drawJunctionChangeProhibitions(), GUILane::drawMarkings(), GNELane::drawMarkingsAndBoundings(), and GNELane::DrawingConstants::update().
const double SUMO_const_laneWidth = 3.2 |
Definition at line 48 of file StdDefs.h.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), NLHandler::addLane(), NBNode::buildCrossings(), buildNetwork(), GNEAdditionalHandler::buildParkingArea(), NBNode::buildWalkingAreas(), MSLaneChanger::checkOppositeStop(), MSLCM_SL2015::checkStrategicChange(), NBEdge::computeLaneShapes(), NBNodeShapeComputer::computeNodeShapeDefault(), GUIViewTraffic::doPaintGL(), GUILane::drawArrows(), GNELane::drawArrows(), GUILane::drawGL(), GNEViewNet::drawGLElements(), GNEAttributeCarrier::fillAdditionalElements(), NBNodeCont::generateNodeClusters(), NBEdge::getLaneWidth(), NBEdge::getMaxLaneOffset(), GUISUMOAbstractView::getObjectsInBoundary(), MSVehicle::getPosition(), GUIVehicle::getVisualPosition(), GUISUMOAbstractView::makeSnapshot(), NBRampsComputer::moveRampRight(), libsumo::Helper::moveToXYMap(), MSParkingArea::MSParkingArea(), NBEdgeCont::processSplits(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneLongEdges(), NBPTLine::setEdges(), GNELane::DrawingConstants::update(), and NIImporter_OpenStreetMap::usableType().
const double SUMO_const_quarterLaneWidth = SUMO_const_laneWidth / 4 |
const double SUMO_const_waitingContainerWidth = 2.5 |
Definition at line 54 of file StdDefs.h.
Referenced by GUIVehicle::drawAction_drawCarriageClass(), GUIBaseVehicle::drawOnPos(), MSStoppingPlace::getTransportablesAbreast(), and MSStoppingPlace::getWaitingPositionOnLane().
const double SUMO_const_waitingPersonWidth = 0.8 |
Definition at line 52 of file StdDefs.h.
Referenced by GUIVehicle::drawAction_drawCarriageClass(), GUIBaseVehicle::drawOnPos(), MSStoppingPlace::getTransportablesAbreast(), and MSStoppingPlace::getWaitingPositionOnLane().