![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A single mesoscopic segment (cell) More...
#include <MESegment.h>
Data Structures | |
| struct | MesoEdgeType |
| edge type specific meso parameters More... | |
| class | Queue |
Public Types | |
| enum | Proceed_Status { PROCEED_UNKNOWN = 0 , PROCEED_YES = 1 , PROCEED_NO = 2 , PROCEED_NO_TLS = 4 , PROCEED_NO_STOP = 8 } |
Public Member Functions | |
| void | addReminders (MEVehicle *veh) const |
| add this lanes MoveReminders to the given vehicle | |
| void | addTo (const StoringVisitor &cont) const |
| Adds this object to the given container. | |
| double | getBruttoOccupancy () const |
| Returns the occupany of the segment (the sum of the vehicle lengths + minGaps) | |
| double | getCapacity () const |
| Returns the sum of the lengths of all usable lanes of the segment in meters. | |
| int | getCarNumber () const |
| Returns the total number of cars on the segment. | |
| const MSEdge & | getEdge () const |
| Returns the edge this segment belongs to. | |
| double | getEntryBlockTimeSeconds () const |
| get the earliest entry time in seconds | |
| SUMOTime | getEventTime () const |
| Returns the (planned) time at which the next vehicle leaves this segment. | |
| double | getEventTimeSeconds () const |
| Like getEventTime but returns seconds (for visualization) | |
| double | getFlow () const |
| returns flow based on headway | |
| const std::string & | getID () const |
| Returns the id. | |
| int | getIndex () const |
| Returns the running index of the segment in the edge (0 is the most upstream). | |
| SUMOTime | getLastHeadway () const |
| get the last headway time | |
| double | getLastHeadwaySeconds () const |
| get the last headway time in seconds | |
| double | getLength () const |
| Returns the length of the segment in meters. | |
| MSLink * | getLink (const MEVehicle *veh, bool tlsPenalty=false) const |
| Returns the link the given car will use when passing the next junction. | |
| SUMOTime | getLinkPenalty (const MEVehicle *veh) const |
| Returns the penalty time for passing a link (if using gMesoTLSPenalty > 0 or gMesoMinorPenalty > 0) | |
| double | getMeanSpeed () const |
| wrapper to satisfy the FunctionBinding signature | |
| double | getMeanSpeed (bool useCache) const |
| Returns the average speed of vehicles on the segment in meters per second. If there is no vehicle on the segment it returns the maximum allowed speed. | |
| SUMOTime | getMinimumHeadwayTime () const |
| return the minimum headway-time with which vehicles may enter or leave this segment | |
| SUMOTime | getMinTauWithVehLength (double lengthWithGap, double vehicleTau) const |
| convert net time gap (leader back to follower front) to gross time gap (leader front to follower front) | |
| SUMOTime | getNextInsertionTime (SUMOTime earliestEntry) const |
| return a time after earliestEntry at which a vehicle may be inserted at full speed | |
| MESegment * | getNextSegment () const |
| Returns the following segment on the same edge (0 if it is the last). | |
| const std::vector< MEVehicle * > & | getQueue (int index) const |
| Returns the cars in the queue with the given index for visualization. | |
| SUMOTime | getQueueBlockTime (int index) const |
| virtual std::string | getQueueExtraState (int) const |
| model specific queue state (e.g. the gap times of meso-ltm) for saving / loading | |
| double | getRelativeJamThreshold () const |
| Returns the relative occupany of the segment (percentage of road used)) at which the segment is considered jammed. | |
| double | getRelativeOccupancy () const |
| Returns the relative occupany of the segment (percentage of road used)) | |
| SUMOTime | getTauWithVehLength (int qIdx, double lengthWithGap, double vehicleTau) const |
| like getMinTauWithVehLength but using the jam-state dependent net time gap of the given queue (as in getMeanSpeed) | |
| double | getVehicleMaxSpeed (const MEVehicle &veh, int queueIndex) const |
| Maximum vehicle speed for the given queue, accounting for internal junction segments. | |
| std::vector< const MEVehicle * > | getVehicles () const |
| returns all vehicles (for debugging) | |
| double | getWaitingSeconds () const |
| Get the waiting time for vehicles in all queues. | |
| SUMOTime | hasSpaceFor (const MEVehicle *const veh, const SUMOTime entryTime, int &qIdx, const bool init=false) const |
| Returns whether the given vehicle would still fit into the segment. | |
| bool | initialise (MEVehicle *veh, SUMOTime time) |
| Inserts (emits) vehicle into the segment. | |
| void | initSegment (const MesoEdgeType &edgeType, const MSEdge &parent, const double capacity) |
| set model parameters (may be updated from additional file after network loading is complete) | |
| void | invalidateMesoPositions () const |
| Invalidate the cached interpolated positions. | |
| int | isOpen (const MEVehicle *veh) const |
| Returns whether the vehicle may use the next link. | |
| virtual void | loadQueueExtraState (int, const std::string &, SUMOTime) |
| MESegment (const std::string &id, const MSEdge &parent, MESegment *next, const double length, const double speed, const int idx, const bool multiQueue, const MesoEdgeType &edgeType) | |
| constructor | |
| int | numQueues () const |
| return the number of queues | |
| void | overrideTLSPenalty () |
| whether the traffic light should use normal junction control despite penalty options | |
| void | receive (MEVehicle *veh, const int qIdx, SUMOTime time, const bool isDepart=false, const bool isTeleport=false, const bool newEdge=false) |
| Adds the vehicle to the segment, adapting its parameters. | |
| int | remainingVehicleCapacity (const double vehLength) const |
| return the remaining physical space on this segment | |
| MEVehicle * | removeCar (MEVehicle *v, SUMOTime leaveTime, const MSMoveReminder::Notification reason) |
| Removes the given car from the edge's que. | |
| void | resetCachedSpeeds () |
| reset myLastMeanSpeedUpdate | |
| virtual void | send (MEVehicle *veh, MESegment *const next, const int nextQIdx, SUMOTime time, const MSMoveReminder::Notification reason) |
| Removes the vehicle from the segment, adapting its parameters. | |
| virtual void | setID (const std::string &newID) |
| resets the id | |
| void | setLastHeadway (SUMOTime headway) |
| restores the last headway time (when loading state) | |
| void | setSpeed (double newSpeed, SUMOTime currentTime, double jamThresh=DO_NOT_PATCH_JAM_THRESHOLD, int qIdx=-1) |
| reset mySpeed and patch the speed of all vehicles in it. Also set/recompute myJamThreshold | |
| void | setStartOffset (double offset) |
| virtual void | updateEntryBlockTime (SUMOTime) |
| update entry blockTime for all queues | |
| void | updateMesoPositions () const |
| Update interpolated positions for all vehicles on this segment. | |
| void | updatePermissions () |
| called when permissions change due to Rerouter or TraCI | |
| bool | vaporizeAnyCar (SUMOTime currentTime, const MSDetectorFileOutput *filter) |
| tries to remove any car from this segment | |
| void | writeVehicles (OutputDevice &of) const |
Measure collection | |
| void | addDetector (MSMoveReminder *data, int queueIndex=-1) |
| Adds a data collector for a detector to this segment. | |
| void | prepareDetectorForWriting (MSMoveReminder &data, int queueIndex=-1) |
| Removes a data collector for a detector from this segment. | |
State saving/loading | |
| void | saveState (OutputDevice &out) const |
| Saves the state of this segment into the given stream. | |
| void | clearState () |
| Remove all vehicles before quick-loading state. | |
| void | loadState (const std::vector< SUMOVehicle * > &vehs, const SUMOTime blockTime, const SUMOTime entryBlockTime, const int queIdx) |
| Loads the state of this segment with the given parameters. | |
Static Public Member Functions | |
| template<class T > | |
| static std::string | getIDSecure (const T *obj, const std::string &fallBack="NULL") |
| get an identifier for Named-like object which may be Null | |
| static bool | isInvalid (const MESegment *segment) |
| whether the given segment is 0 or encodes vaporization | |
Static Public Attributes | |
| static const double | DO_NOT_PATCH_JAM_THRESHOLD |
| static const std::string | OVERRIDE_TLS_PENALTIES |
| special param value | |
| static const int | PARKING_QUEUE = -1 |
Protected Types | |
| typedef std::map< std::pair< const MSEdge *, std::vector< int > >, std::vector< std::pair< double, int > > > | SearchedMap |
| the (distance, depth) pairs at which a downstream edge was searched with a given lane reach | |
Protected Member Functions | |
| void | addDownstreamFollowers (const MSEdge &edge, const std::vector< int > &reach, const double dist, const double lookahead, const int depth, SearchedMap &searched) |
| add the queues leading to the successors of the given downstream edge to myFollowerMap | |
| virtual SUMOTime | computeHeadway (Queue &q, const Queue &qNext, const MESegment *const next, const MEVehicle *veh) const |
| compute current headway depending on traffic state | |
| SUMOTime | getTauJJ (double nextQueueSize, double nextQueueCapacity, double nextJamThreshold) const |
| bool | hasBlockedLeader () const |
| whether a leader in any queue is blocked | |
| virtual bool | hasSpaceForInsertion (const Queue &q, int qIdx, double newOccupancy, SUMOTime entryTime) const |
| check jam-avoidance constraints during insertion | |
| virtual bool | hasTravelingGaps (int, SUMOTime) const |
| whether space vacated by vehicles that left the given queue has not yet reached the upstream end | |
| double | jamThresholdForSpeed (double speed, double jamThresh) const |
| compute jam threshold for the given speed and jam-threshold option | |
| bool | limitedControlOverride (const MSLink *link) const |
| whether the given link may be passed because the option meso-junction-control.limited is set | |
| SUMOTime | newArrival (const MEVehicle *const v, double newSpeed, SUMOTime currentTime) |
| compute the new arrival time when switching speed | |
| bool | overtake (const MEVehicle *veh) const |
| whether veh overtakes the queue's last vehicle, drawn from a number specific to vehicle and segment | |
| void | recomputeJamThreshold (double jamThresh) |
| compute a value for myJamThreshold if jamThresh is negative, compute a value which allows free flow at mySpeed interpret jamThresh as the relative occupation at which jam starts | |
| void | setSpeedForQueue (double newSpeed, SUMOTime currentTime, SUMOTime blockTime, const std::vector< MEVehicle * > &vehs) |
| SUMOTime | tauWithVehLength (SUMOTime tau, double lengthWithGap, double vehicleTau) const |
| convert net time gap (leader back to follower front) to gross time gap (leader front to follower front) | |
Protected Attributes | |
| double | myCapacity = 0. |
| The number of lanes represented by the queue * the length of the lane. | |
| const MSEdge & | myEdge |
| The microsim edge this segment belongs to. | |
| std::map< const MSEdge *, int > | myFollowerMap |
| The follower edge to allowed que index mapping for multi queue segments. | |
| std::string | myID |
| The name of the object. | |
| const int | myIndex |
| Running number of the segment in the edge. | |
| double | myJamThreshold |
| The space (in m) which needs to be occupied before the segment is considered jammed. | |
| SUMOTime | myLastHeadway |
| the last headway | |
| SUMOTime | myLastMeanSpeedUpdate |
| the time at which myMeanSpeed was last updated | |
| const double | myLength |
| The segment's length. | |
| int | myLookahead = 1 |
| The number of route edges after myEdge to look up in myFollowerMap. | |
| double | myMeanSpeed |
| the mean speed on this segment. Updated at event time or on demand | |
| SUMOTime | myMesoPositionUpdateTime = SUMOTime_MIN |
| The time step of the last interpolated position update. | |
| MESegment * | myNextSegment |
| The next segment of this edge, 0 if this is the last segment of this edge. | |
| int | myNumVehicles |
| The cached value for the number of vehicles. | |
| double | myQueueCapacity = 0. |
| The number of lanes represented by the queue * the length of the lane. | |
| std::vector< Queue > | myQueues |
| The car queues. Vehicles are inserted in the front and removed in the back. | |
| double | myTau_length |
| Headway parameter for computing gross time headyway from net time headway, length and edge speed. | |
Model constants that may be reset once via additional file | |
| SUMOTime | myTau_ff |
| The time headway parameters, see the Eissfeldt thesis. | |
| SUMOTime | myTau_fj |
| SUMOTime | myTau_jf |
| SUMOTime | myTau_jj |
| bool | myTLSPenalty |
| Whether tls penalty is enabled. | |
| bool | myCheckMinorPenalty |
| penalty for minor links | |
| SUMOTime | myMinorPenalty |
| bool | myJunctionControl |
| Whether junction control is enabled. | |
| bool | myOvertaking |
| Whether overtaking is permitted on this segment. | |
| long long int | myOvertakeKey = 0 |
| this segment's part of the overtaking draws (hash of edge id and segment index in the upper 32 bits) | |
Static Protected Attributes | |
| static MSEdge | myDummyParent |
| static SVCPermissions | myMultiModalWarnings |
| static MESegment | myVaporizationTarget |
Private Member Functions | |
| MESegment (const MESegment &) | |
| Invalidated copy constructor. | |
| MESegment (const std::string &id) | |
| constructor for dummy segment | |
| MESegment & | operator= (const MESegment &) |
| Invalidated assignment operator. | |
Private Attributes | |
| double | myStartOffset = 0 |
| Distance from the start of the edge for position interpolation. | |
A single mesoscopic segment (cell)
Definition at line 50 of file MESegment.h.
|
protected |
the (distance, depth) pairs at which a downstream edge was searched with a given lane reach
Definition at line 602 of file MESegment.h.
Definition at line 73 of file MESegment.h.
| MESegment::MESegment | ( | const std::string & | id, |
| const MSEdge & | parent, | ||
| MESegment * | next, | ||
| const double | length, | ||
| const double | speed, | ||
| const int | idx, | ||
| const bool | multiQueue, | ||
| const MesoEdgeType & | edgeType | ||
| ) |
constructor
| [in] | id | The id of this segment (currently: "<EDGEID>:<SEGMENTNO>") |
| [in] | parent | The edge this segment is located within |
| [in] | next | The following segment (belonging to the same edge) |
| [in] | length | The segment's length |
| [in] | speed | The speed allowed on this segment |
| [in] | idx | The running index of this segment within the segment's edge |
| [in] | multiQueue | whether to install multiple queues on this segment |
| [in] | edgeType | edge type specific meso parameters such as the different taus |
Definition at line 108 of file MESegment.cpp.
References addDownstreamFollowers(), MSEdge::allowedLanes(), Named::getID(), MSEdge::getLanes(), MSEdge::getLength(), MSEdge::getMesoPermissions(), MSEdge::getPermissions(), MSEdge::getSuccessors(), getVehicleClassNames(), initSegment(), MESegment::MesoEdgeType::lookahead, MAX2(), myEdge, myFollowerMap, myMultiModalWarnings, myQueueCapacity, myQueues, SVCAll, and WRITE_WARNINGF.
|
private |
Invalidated copy constructor.
|
private |
constructor for dummy segment
Definition at line 280 of file MESegment.cpp.
| void MESegment::addDetector | ( | MSMoveReminder * | data, |
| int | queueIndex = -1 |
||
| ) |
Adds a data collector for a detector to this segment.
| [in] | data | The data collector to add |
| [in] | queueIndex | The queue (aka lane) to use, -1 means all |
Definition at line 341 of file MESegment.cpp.
References myQueues.
Referenced by MSDriveWay::buildRoute(), MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), MSInductLoop::MSInductLoop(), MSRouteProbe::MSRouteProbe(), and MSTriggeredRerouter::MSTriggeredRerouter().
|
protected |
add the queues leading to the successors of the given downstream edge to myFollowerMap
| [in] | edge | The downstream edge |
| [in] | reach | For every lane of myEdge, the lanes of edge that can be reached without changing lanes |
| [in] | dist | The distance between the end of myEdge and the start of edge |
| [in] | lookahead | The lookahead distance from the end of myEdge |
| [in] | depth | The position of edge after myEdge |
| [in,out] | searched | The searches so far, to skip those that cannot add anything |
Definition at line 186 of file MESegment.cpp.
References addDownstreamFollowers(), MSEdge::getLanes(), MSEdge::getLength(), MSEdge::getSuccessors(), MAX2(), myFollowerMap, and myLookahead.
Referenced by addDownstreamFollowers(), and MESegment().
| void MESegment::addReminders | ( | MEVehicle * | veh | ) | const |
add this lanes MoveReminders to the given vehicle
Definition at line 803 of file MESegment.cpp.
References MEVehicle::getQueIndex(), myQueues, and PARKING_QUEUE.
Referenced by loadState(), receive(), and MELoop::teleportVehicle().
|
inlineinherited |
Adds this object to the given container.
| [in,filled] | cont The container to add this item to |
Definition at line 117 of file Named.h.
References Named::StoringVisitor::add().
Referenced by MSMeanData_Net::MSLaneMeanDataValues::addTo(), and MSMeanData::writeAggregatedTAZ().
| void MESegment::clearState | ( | ) |
Remove all vehicles before quick-loading state.
Definition at line 1023 of file MESegment.cpp.
References invalidateMesoPositions(), and myQueues.
|
protectedvirtual |
compute current headway depending on traffic state
Reimplemented in MELSegment.
Definition at line 720 of file MESegment.cpp.
References MSVehicleType::getCarFollowModel(), MSLink::getGreenFraction(), MSCFModel::getHeadwayTime(), MSVehicleType::getLengthWithGap(), getLink(), MESegment::Queue::getOccupancy(), getTauJJ(), MSBaseVehicle::getVehicleType(), MSLink::isTLSControlled(), myJamThreshold, myQueueCapacity, myTau_ff, myTau_fj, myTau_jf, myTLSPenalty, MESegment::Queue::size(), tauWithVehLength(), and MEVehicle::wasJammed().
Referenced by send().
|
inline |
Returns the occupany of the segment (the sum of the vehicle lengths + minGaps)
Definition at line 298 of file MESegment.h.
References myQueues.
Referenced by getRelativeOccupancy(), METriggeredCalibrator::invalidJam(), limitedControlOverride(), and overtake().
|
inline |
Returns the sum of the lengths of all usable lanes of the segment in meters.
Definition at line 290 of file MESegment.h.
References myCapacity.
Referenced by updateMesoPositions(), and MSQueueExport::writeMesoQueue().
|
inline |
Returns the total number of cars on the segment.
Definition at line 233 of file MESegment.h.
References myNumVehicles.
Referenced by getFlow(), GUIEdge::getParameterWindow(), and MSXMLRawOut::writeEdge().
|
inline |
Returns the edge this segment belongs to.
Definition at line 405 of file MESegment.h.
References myEdge.
Referenced by MELoop::changeSegment(), GUIEdge::drawMesoVehicles(), MEVehicle::endTriggeredStop(), METriggeredCalibrator::execute(), GUIMEVehicle::getColorValue(), MEVehicle::getCurrentEdge(), MEInductLoop::getEdge(), MSStop::getEdge(), GUIEdge::getParameterWindow(), MSIdling_Stop::idle(), METriggeredCalibrator::invalidJam(), GUIMEInductLoop::MyWrapper::MyWrapper(), MELoop::nextSegment(), MEVehicle::processStop(), receive(), MEVehicle::saveState(), MEVehicle::setEventTime(), MELoop::teleportVehicle(), and MEInductLoop::writeXMLOutput().
|
inline |
get the earliest entry time in seconds
Definition at line 442 of file MESegment.h.
References MIN2(), myQueues, STEPS2TIME, and SUMOTime_MAX.
Referenced by GUIEdge::getParameterWindow().
| SUMOTime MESegment::getEventTime | ( | ) | const |
Returns the (planned) time at which the next vehicle leaves this segment.
Definition at line 980 of file MESegment.cpp.
References myQueues, and SUMOTime_MAX.
Referenced by MELoop::checkCar(), and getEventTimeSeconds().
|
inline |
Like getEventTime but returns seconds (for visualization)
Definition at line 422 of file MESegment.h.
References getEventTime(), and STEPS2TIME.
Referenced by GUIEdge::getParameterWindow().
| double MESegment::getFlow | ( | ) | const |
returns flow based on headway
Definition at line 1082 of file MESegment.cpp.
References getCarNumber(), getMeanSpeed(), and myLength.
Referenced by GUIEdge::getParameterWindow().
|
inlineinherited |
Returns the id.
Definition at line 73 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), MSDriveWay::_saveState(), MSCFModel_EIDM::_v(), MSCFModel_ACC::_v(), MSCFModel_IDM::_v(), MSCFModel_CACC::_v(), MSCFModel_Wiedemann::_v(), MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChangerSublane::abortLCManeuver(), MSTransportable::abortStage(), MSDevice_GLOSA::adaptSpeed(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToJunctionLeader(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaderDistance(), MSVehicle::adaptToLeaders(), MSVehicle::adaptToOncomingLeader(), MSVehicleTransfer::add(), MSDetectorControl::add(), MSPModel_JuPedSim::add(), MSPModel_JuPedSim_legacy::add(), MSPModel_Striping::add(), PCPolyContainer::add(), ShapeContainer::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), MSDriveWay::addBidiFoes(), MSTractionSubstation::addChargeValueForOutput(), MSChargingStation::addChargeValueForOutput(), MSOverheadWire::addChargeValueForOutput(), NLHandler::addConflict(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), MSDevice_Taxi::addCustomer(), RODFDetectorCon::addDetector(), MSRailSignalControl::addDWDeadlockChecks(), NIXMLEdgesHandler::addEdge(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), RONet::addLaneProhibition(), MSLane::addLeaders(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLaneChangerSublane::addOutsideLeaders(), MSTractionSubstation::addOverheadWireClampToCircuit(), MSTractionSubstation::addOverheadWireInnerSegmentToCircuit(), MSTractionSubstation::addOverheadWireSegmentToCircuit(), MSDriveWay::addParallelFoes(), MSRouteHandler::addPersonTrip(), NIImporter_SUMO::addPhase(), RONet::addProhibition(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), MSDriveWay::addReversalFoes(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), MSDriveWay::addSidings(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), RORouteHandler::addStop(), ROVehicle::addStop(), MSBaseVehicle::addStop(), MSNet::addStoppingPlace(), MSRouteHandler::addTranship(), MSVehicle::addTransportable(), AGActivityTripWriter::addTrip(), MSPModel_JuPedSim::addWaitingSet(), MSPModel_JuPedSim_legacy::addWaitingSet(), NIXMLConnectionsHandler::addWalkingArea(), MSBaseVehicle::allowsBoarding(), MSTransportable::appendStage(), LIBSUMO_NAMESPACE::Person::appendWalkingStage(), MSCFModel::applyHeadwayAndSpeedDifferencePerceptionErrors(), MSCFModel::applyHeadwayPerceptionError(), libsumo::Helper::applySubscriptionFilterLanes(), libsumo::Helper::applySubscriptionFilterLateralDistance(), libsumo::Helper::applySubscriptionFilterLateralDistanceSinglePass(), libsumo::Helper::applySubscriptionFilters(), libsumo::Helper::applySubscriptionFilterTurn(), NBEdgeCont::attachRemoved(), MSLaneChanger::avoidDeadlock(), MSDevice_ToC::awarenessRecoveryStep(), GUITrafficLightLogicWrapper::begin2TrackPhases(), NLEdgeControlBuilder::beginEdgeParsing(), MSPModel_Interacting::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), MSVehicle::boardTransportables(), MSVehicle::brakeForOverlap(), LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), MSTransportableDevice_Routing::buildDevices(), MSTransportableDevice_BTreceiver::buildDevices(), MSTransportableDevice_BTsender::buildDevices(), MSTransportableDevice_FCD::buildDevices(), MSTransportableDevice_FCDReplay::buildDevices(), NIImporter_VISUM::buildDistrictNode(), MSDriveWay::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), NLDetectorBuilder::buildInductLoop(), NBEdge::buildInnerEdges(), NLTriggerBuilder::buildInnerOverheadWireSegments(), GNETLSEditorFrame::buildInternalLanes(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBOwnTLDef::buildNemaPhases(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSPModel_JuPedSim::buildPedestrianNetwork(), MSPModel_JuPedSim_legacy::buildPedestrianNetwork(), MSDriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), MSDriveWay::buildSubFoe(), MSDevice_Bluelight::buildVehicleDevices(), MSVehicleDevice_BTreceiver::buildVehicleDevices(), MSVehicleDevice_BTsender::buildVehicleDevices(), MSDevice_DriverState::buildVehicleDevices(), MSDevice_ElecHybrid::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice_FCD::buildVehicleDevices(), MSDevice_FCDReplay::buildVehicleDevices(), MSDevice_Friction::buildVehicleDevices(), MSDevice_GLOSA::buildVehicleDevices(), MSDevice_Routing::buildVehicleDevices(), MSDevice_SSM::buildVehicleDevices(), MSDevice_Taxi::buildVehicleDevices(), MSDevice_ToC::buildVehicleDevices(), MSDevice_Tripinfo::buildVehicleDevices(), MSDevice_Transportable::buildVehicleDevices(), MSDevice_Vehroutes::buildVehicleDevices(), MSDevice_Battery::buildVehicleDevices(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), NEMALogic::calculateInitialPhases170(), MSE2Collector::calculateTimeLossAndTimeOnDetector(), MSDevice_Taxi::cancelCurrentCustomers(), MSDevice_Taxi::cancelCustomer(), MSStageDriving::canLeaveVehicle(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLCHelper::canSaveBlockerLength(), MSDriveWay::canUseSiding(), MSLaneChanger::change(), MSLaneChangerSublane::change(), MSLCM_SL2015::changed(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSActuatedTrafficLightLogic::changeStepAndDuration(), MSSimpleTrafficLightLogic::changeStepAndDuration(), LIBSUMO_NAMESPACE::Vehicle::changeTarget(), MSCFModel_CC::changeWholePlatoonLane(), MSTLLogicControl::check2Switch(), MSEdge::checkAndRegisterBiDirEdge(), MSLaneChanger::checkChange(), MSLaneChanger::checkChangeOpposite(), MSLaneChangerSublane::checkChangeOpposite(), MSLaneChangerSublane::checkChangeSublane(), NBEdgeCont::checkConsistency(), MSDriveWay::checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), MSDriveWay::checkFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSE2Collector::checkPositioning(), MSRoute::checkRemoval(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MEVehicle::checkStop(), MSTriggeredRerouter::checkStopSwitch(), MSLCM_SL2015::checkStrategicChange(), MSDevice_Taxi::checkTaskSwap(), MSAbstractLaneChangeModel::checkTraCICommands(), MSLaneChanger::checkTraCICommands(), MSLink::checkWalkingAreaFoe(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), MSDevice_SSM::closeEncounter(), RORouteHandler::closeRouteDistribution(), MSRouteHandler::closeVehicle(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), MSLCM_SL2015::commitManoeuvre(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), ROJTRRouter::compute(), MSVehicle::computeAngle(), MSDispatch::computeDetourTime(), MSDispatch_Greedy::computeDispatch(), MSDispatch_GreedyClosest::computeDispatch(), MSLink::computeDistToDivergence(), NBNodeShapeComputer::computeEdgeBoundaries(), MSVehicle::computeFurtherLanes(), MSDevice_SSM::computeGlobalMeasures(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), NBRampsComputer::computeRamps(), ROPerson::computeRoute(), RODFNet::computeRoutesFor(), MSLaneChanger::computeSafeOppositeLength(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), MSLCM_LC2013::computeSpeedLat(), MSLCM_SL2015::computeSpeedLat(), MSDevice_SSM::computeSSMs(), MSLaneChanger::computeSurplusGap(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), MSDriveWay::conflictLaneOccupied(), NGNet::connect(), MSRailSignal::constraintsAllow(), NEMALogic::constructTimingAndPhaseDefs(), MSLaneChanger::continueChange(), MSLaneChangerSublane::continueChangeSublane(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Person::convertTraCIStage(), NBLoadedSUMOTLDef::copyIndices(), NBOwnTLDef::correctConflicting(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GNETLSEditorFrame::TLSPrograms::createTLS(), GUINet::createTLWrapper(), MSDevice_Taxi::customerArrived(), NBNodeCont::customTLID(), MSDevice_ToC::deactivateDeliberateLCs(), libsumo::Helper::debugPrint(), MSLCM_SL2015::decideDirection(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSVehicleControl::deleteVehicle(), MSDevice_ElecHybrid::deleteVehicleFromCircuit(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSE3Collector::detectorUpdate(), MSInstantInductLoop::detectorUpdate(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSEdge::dictionaryHint(), MSDispatch_Greedy::dispatch(), MSDispatch_GreedyShared::dispatch(), MSDispatch_RouteExtension::dispatch(), MSDevice_Taxi::dispatchShared(), GUILane::drawGL(), MSDevice_SSM::Encounter::Encounter(), MSAbstractLaneChangeModel::endLaneChangeManeuver(), MEVehicle::endTriggeredStop(), MSE3Collector::enter(), NEMAPhase::enter(), MSParkingArea::enter(), MSDriveWay::enterDriveWay(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), MSTransportableControl::erase(), NEMALogic::error_handle_not_set(), MSDevice_StationFinder::estimateConsumption(), MSStoppingPlaceRerouter::evaluateDestination(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), Command_RouteReplacement::execute(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSPModel_JuPedSim::execute(), MSPModel_JuPedSim_legacy::execute(), MSVehicle::executeFractionalMove(), MSVehicle::executeMove(), MSLane::executeMovements(), NBTrafficLightLogicCont::extract(), MSDevice_SSM::filterByConflictType(), LIBSUMO_NAMESPACE::Person::filterReservation(), NBLoadedSUMOTLDef::finalChecks(), MSCFModel::finalizeSpeed(), MSCFModel_Daniel1::finalizeSpeed(), MSCFModel_EIDM::finalizeSpeed(), MSLaneChanger::findCandidate(), MSDevice_StationFinder::findChargingStation(), LIBSUMO_NAMESPACE::TrafficLight::findConstraintsDeadLocks(), MSRailSignalControl::findDeadlockFoes(), MSRailSignalControl::findDeadlockFoesFromRoutes(), MSDriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_EIDM::followSpeed(), MSCFModel_W99::followSpeed(), NBTrafficLightDefinition::forbids(), MSLaneChanger::foundHilltop(), MSCFModel_EIDM::freeSpeed(), NBNodeCont::generateNodeClusters(), MSDevice_Tripinfo::generateOutput(), MSDevice_StationFinder::generateOutput(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), LIBSUMO_NAMESPACE::Vehicle::getBestLanes(), MSLaneChanger::getBestLanesOpposite(), NBOwnTLDef::getBestPair(), LIBSUMO_NAMESPACE::Edge::getBidiEdge(), LIBSUMO_NAMESPACE::Lane::getBidiLane(), SUMOTrafficObject::getBoolParam(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSDriveWay::getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), MSCFModel_Rail::getCurveResistance(), NBNodeShapeComputer::getDefaultRadius(), MSDriveWay::getDepartureDriveway(), MSLink::getDescription(), MSRailSignalConstraint_Predecessor::getDescription(), NBTrafficLightDefinition::getDescription(), MSStop::getDescription(), MSStageTrip::getDestinationDescription(), GUIPerson::getDestinationEdgeID(), GUIPerson::getDestinationStopID(), MSDevice_SSM::getDetectionRange(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), MSRailSignal::LinkInfo::getDriveWay(), MSRailSignal::LinkInfo::getDriveWay(), GUIVehicle::getDriveWays(), GUIMEVehicle::getDriveWays(), MSSimpleTrafficLightLogic::getEarliest(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), LIBSUMO_NAMESPACE::RouteProbe::getEdgeID(), MSDevice_SSM::getExtraTime(), MSLane::getFirstVehicleInformation(), SUMOTrafficObject::getFloatParam(), MSBaseVehicle::getFlowID(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSPModel_InteractingState::getID(), MSPModel_Striping::PStateVehicle::getID(), NBEdge::getID(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSDriveWay::getJunctionLinkID(), GUIPerson::getLaneID(), LIBSUMO_NAMESPACE::Calibrator::getLaneID(), NEMALogic::getLaneInfoFromNEMAState(), MSParkingArea::getLastFreePos(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSSimpleTrafficLightLogic::getLatest(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLaneChangerSublane::getLeaders(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSDevice_BTsender::getLocation(), ROVehicle::getMandatoryEdges(), MSDevice_SSM::getMDRAC_PRT(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), MSDevice_SSM::getMeasuresAndThresholds(), MSPModel_Striping::getNeighboringObstacles(), MSRailSignal::getNewDrivewayID(), MSCalibrator::getNewVehicleID(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSPModel_Striping::getNextLaneObstacles(), LIBSUMO_NAMESPACE::Vehicle::getNextLinks(), MSLaneChanger::getOncomingOppositeVehicle(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSStageTrip::getOriginDescription(), MSDevice_SSM::getOutputFilename(), MSDevice_ElecHybrid::getOverheadWireSegmentID(), MSOverheadWire::getOverheadWireSegmentName(), MSDevice_StationFinder::getParameter(), MSDevice_ToC::getParameter(), MSActuatedTrafficLightLogic::getParameter(), NEMALogic::getParameter(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GUIContainer::getParameterWindow(), GUILane::getParameterWindow(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSimpleDriverState::getPerceivedHeadway(), MSSimpleDriverState::getPerceivedSpeedDifference(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), MSBaseVehicle::getPrefixedParameter(), MSRoutingEngine::getPublishedCCHMetric(), MSCFModel_CC::getRadarMeasurements(), MSLaneChanger::getRealFollower(), MSLaneChanger::getRealLeader(), LIBSUMO_NAMESPACE::Vehicle::getRoadID(), MSLCHelper::getRoundaboutDistBonus(), LIBSUMO_NAMESPACE::Vehicle::getRouteID(), LIBSUMO_NAMESPACE::Calibrator::getRouteProbeID(), MSBaseVehicle::getRouteValidity(), GUIBaseVehicle::getScaleValue(), MSAbstractLaneChangeModel::getShadowLane(), MSBaseVehicle::getSingularType(), MSTransportable::getSingularType(), LIBSUMO_NAMESPACE::Person::getStage(), MSPerson::MSPersonStage_Access::getStageSummary(), MSStageDriving::getStageSummary(), MSStageTranship::getStageSummary(), MSStageWaiting::getStageSummary(), MSStageWalking::getStageSummary(), MSDevice_Taxi::getStopLane(), MSNet::getStoppingPlaceID(), SUMOTrafficObject::getStringParam(), MSStopOptimizer::StopPathNode::getSuccessor(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), LIBSUMO_NAMESPACE::Vehicle::getTeleportingIDList(), SUMOTrafficObject::getTimeParam(), MSDriveWay::getTLLinkID(), NIImporter_OpenDrive::getTLSSecure(), MSDevice_ElecHybrid::getTractionSubstationID(), PedestrianEdge< E, L, N, V >::getTravelTime(), MSVehicle::getUpcomingLanesUntil(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSRailSignalConstraint::getVeh(), LIBSUMO_NAMESPACE::Person::getVehicle(), LIBSUMO_NAMESPACE::TrafficLight::getVehicleByTripId(), GUIPerson::getVehicleID(), MSPModel_Striping::getVehicleObstacles(), MSStageTrip::getVehicles(), MSDevice_SSM::getVehiclesOnJunction(), MSStageDriving::getWaitingDescription(), MSEdge::getWaitingVehicle(), MSStoppingPlaceRerouter::getWeight(), MSLink::getZipperSpeed(), GNEEdge::GNEEdge(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSLane::handleIntermodalCollisionBetween(), MSRailSignal::hasInsertionConstraint(), MSDriveWay::hasJoin(), MSDriveWay::hasLinkConflict(), MSBaseVehicle::hasValidRouteStart(), MSVehicle::hasValidRouteStart(), MSRailSignalControl::haveDeadlock(), MSBaseVehicle::haveValidStopEdges(), LIBSUMO_NAMESPACE::POI::highlight(), LIBSUMO_NAMESPACE::Vehicle::highlight(), MSIdling_Stop::idle(), MSIdling_RandomCircling::idle(), MSIdling_TaxiStand::idle(), MSLink::ignoreFoe(), MSVehicle::ignoreFoe(), MSVehicle::ignoreRed(), MSVehicle::Influencer::implicitDeltaPosRemote(), NBNode::indirectLeftShape(), MSLCM_LC2013::inform(), MSLCM_SL2015::inform(), MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), MSLCM_LC2013::informLeader(), MSMeanData::init(), MSCalibrator::init(), NBEdge::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSRailSignal::init(), NEMALogic::init(), MSActuatedTrafficLightLogic::initAttributeOverride(), MSE2Collector::initAuxiliaries(), initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), initSegment(), PolygonDynamics::initTrackedPosition(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBTrafficLightLogicCont::insert(), NIImporter_OpenStreetMap::insertEdge(), MSCFModel_IDM::insertionFollowSpeed(), MSBaseVehicle::insertStop(), MSLane::insertVehicle(), MSEdge::insertVehicle(), MSPModel_Striping::insertWalkArePaths(), MSLane::integrateNewVehicles(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isAllowed(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSBaseVehicle::isJumping(), MSVehicle::isLeader(), isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), jamThresholdForSpeed(), NBNodeCont::joinNodeCluster(), MSVehicle::joinTrainPartFront(), MSAbstractLaneChangeModel::laneChangeOutput(), MSVehicle::lateralDistanceToLane(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSVehicle::leaveLane(), MSVehicle::leaveLaneBack(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), MSRailSignalControl::loadDeadlockRoute(), MSStopOut::loadedContainers(), MSStopOut::loadedPersons(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), MSDevice_Taxi::loadState(), MEVehicle::loadState(), MSVehicle::loadState(), MSInductLoop::loadState(), MSVehicleTransfer::loadState(), MSTrafficLightLogic::loadState(), MSActuatedTrafficLightLogic::loadState(), ODDistrictCont::makeDistricts(), MSE2Collector::makeMoveNotification(), MSE2Collector::makeVehicleInfo(), NWWriter_OpenDrive::mapmatchRoadObjects(), MSDriveWay::match(), MSSOTLE2Sensors::meanVehiclesSpeed(), MESegment(), METriggeredCalibrator::METriggeredCalibrator(), MSDevice_FCDReplay::move(), MSTransportableDevice_FCDReplay::move(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveTo(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), MSDevice_ToC::MRMExecutionStep(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSDevice_ElecHybrid::MSDevice_ElecHybrid(), MSDevice_Taxi::MSDevice_Taxi(), MSDevice_ToC::MSDevice_ToC(), MSDevice_Transportable::MSDevice_Transportable(), MSE2Collector::MSE2Collector(), MSE2Collector::MSE2Collector(), MSLCM_LC2013::MSLCM_LC2013(), MSParkingArea::MSParkingArea(), MSSimpleDriverState::MSSimpleDriverState(), MSLCM_SL2015::mustOvertakeStopped(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSStateHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSDevice_FCDReplay::FCDHandler::myStartElement(), MSPModel_Interacting::nextBlocking(), MSLane::AnyVehicleIterator::nextIsMyVehicles(), MSDevice_ElecHybrid::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_GLOSA::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSRailSignalConstraint_Predecessor::PassedTracker::notifyEnter(), MSCalibrator::VehicleRemover::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_ElecHybrid::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSDevice_ElecHybrid::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_GLOSA::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_StationFinder::notifyMove(), MSDevice_ToC::notifyMove(), MSInductLoop::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSDevice_Battery::notifyMoveInternal(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), MSDriveWay::notifyReroute(), GNETLSEditorFrame::TLSPrograms::onCmdResetCurrentProgram(), MSVehicle::onRemovalFromNet(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), MSEdge::transportable_by_position_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), MSStopOptimizer::optimizeSkipped(), MSLaneChangerSublane::outputLCStarted(), MSTriggeredRerouter::overtakingTrain(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_stopPoints(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildOverheadWireSection(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), MSRoutingEngine::patchSpeedForTurns(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSCFModel_CC::performAutoLaneChange(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSDevice_StationFinder::planOpportunisticCharging(), MSPModel_JuPedSim::polygonChanged(), MSPModel_JuPedSim_legacy::polygonChanged(), PolygonDynamics::PolygonDynamics(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), MSVehicle::Influencer::postProcessRemoteControl(), MSLCM_SL2015::prepareStep(), MSDevice_Taxi::prepareStop(), MSLCM_SL2015::preventSliding(), MSAbstractLaneChangeModel::primaryLaneChanged(), AGStreet::print(), MSStageDriving::proceed(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), MSVehicle::processTraCISpeedControl(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), NBNodeCont::pruneSlipLaneNodes(), MSPModel_Striping::PState::PState(), MSPModel_Striping::PState::PState(), NBTrafficLightDefinition::railSignalUncontrolled(), MSDevice_Battery::readParameterValue(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), MSLink::recheckSetRequestInformation(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdge::reduceGeometry(), MSNet::registerCollision(), MSPModel_Striping::registerCrossingApproach(), MSLink::removeApproaching(), MSLink::removeApproachingPerson(), LIBSUMO_NAMESPACE::TrafficLight::removeConstraints(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), MSDispatch::removeReservation(), GNEJunction::removeTLSConnections(), NBNodeCont::removeUnwishedNodes(), NBTrafficLightLogicCont::rename(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSBaseVehicle::replaceParkingArea(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), MSBaseVehicle::replaceStop(), MSStop::replaceStoppingPlace(), MSTransportable::replaceVehicleType(), MSPerson::replaceWalk(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_SSM::requestsTrajectories(), MSDevice_ToC::requestToC(), MSStageTrip::reroute(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSVehicle::rerouteParkingArea(), MSTransportable::rerouteParkingArea(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSDevice_StationFinder::rerouteToChargingStation(), MSDriveWay::reserve(), MSDevice_ToC::resetDeliberateLCs(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), MSDevice_Bluelight::resetVehicle(), MSLaneChanger::resolveDeadlock(), LIBSUMO_NAMESPACE::Vehicle::resume(), MSRailSignal::retrieveDriveWay(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), MSStageDriving::routeOutput(), MSStageTranship::routeOutput(), MSStageTrip::routeOutput(), MSStageWaiting::routeOutput(), MSStageWalking::routeOutput(), MSLane::safeInsertionSpeed(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSLCM_LC2013::saveBlockerLength(), MSLane::saveState(), saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Taxi::saveState(), MSDevice_Transportable::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), MSDevice_Battery::saveState(), MSDevice_StationFinder::saveState(), MSInductLoop::saveState(), MSStageDriving::saveState(), MSSimpleTrafficLightLogic::saveStateAttrs(), MSCalibrator::scheduleRemoval(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSDispatch::servedReservation(), MSVehicle::setAngle(), MSLink::setApproaching(), MSLink::setApproaching(), MSVehicle::setApproachingForAllLinks(), MSStageTrip::setArrived(), NBNodeCont::setAsTLControlled(), GNEJunction::setAttribute(), MSSimpleDriverState::setAwareness(), MSLane::setBidiLane(), MSEdge::setBidiLanes(), NLEdgeControlBuilder::setDefaultStopOffset(), MSBaseVehicle::setDepartAndArrivalEdge(), MSCalibrator::setFlow(), NBEdge::setGeometry(), MSBaseVehicle::setJunctionModelParameter(), MSTransportable::setJunctionModelParameter(), MSAbstractLaneChangeModel::setManeuverDist(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), MSDevice_Battery::setMaximumChargeRate(), MSLane::setOpposite(), MSLCM_SL2015::setOwnState(), MSDevice_ToC::setParameter(), MSActuatedTrafficLightLogic::setParameter(), MSSimpleTrafficLightLogic::setParameter(), NEMALogic::setParameter(), MSCFModel_CACC::setParameter(), MSCFModel_CC::setParameter(), MSCFModel_W99::setParameter(), MSLane::setPartialOccupation(), NBEdgePriorityComputer::setPriorityJunctionPriorities(), libsumo::Helper::setRemoteControlled(), libsumo::Helper::setRemoteControlled(), MSLink::setRequestInformation(), LIBSUMO_NAMESPACE::Vehicle::setRoute(), LIBSUMO_NAMESPACE::Vehicle::setRouteID(), MSDevice_Battery::setStoppingThreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), MSStageDriving::setVehicle(), MSOverheadWire::setVoltage(), MSDriveWay::sidingDeadlock(), MSLCM_SL2015::slowDownForBlocked(), MSLCM_LC2013::slowDownForBlocked(), MSVehicle::slowDownForSchedule(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSCFModel_EIDM::stopSpeed(), MSRailSignal::storeTraCIVehicles(), MSLane::succLinkSec(), LIBSUMO_NAMESPACE::TrafficLight::swapConstraints(), MSDispatch::swappedRunning(), MSDevice_ToC::switchHolderType(), GNETLSEditorFrame::TLSPrograms::switchProgram(), GUITrafficLightLogicWrapper::switchTLSLogic(), MSDevice_StationFinder::teleportToChargingStation(), MELoop::teleportVehicle(), MSDevice_ToC::ToCPreparationStep(), libsumo::Helper::TransportableStateListener::transportableStateChanged(), TraCIServer::transportableStateChanged(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSTriggeredRerouter::triggerRouting(), MSDevice_ToC::triggerUpwardToC(), MSTransportable::tripInfoOutput(), MSPerson::MSPersonStage_Access::tripInfoOutput(), METriggeredCalibrator::tryEmit(), MSPModel_JuPedSim::tryPedestrianInsertion(), MSPModel_JuPedSim_legacy::tryPedestrianInsertion(), MSSOTLTrafficLightLogic::trySwitch(), MSActuatedTrafficLightLogic::trySwitch(), NEMALogic::trySwitch(), MSStopOut::unloadedContainers(), MSStopOut::unloadedPersons(), MSPModel_Interacting::unregisterCrossingApproach(), MSLCHelper::unwillingToHelp(), MSDevice_SSM::update(), MSSimpleDriverState::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSLCM_SL2015::updateCFRelated(), MSDevice_StationFinder::updateChargeLimit(), LIBSUMO_NAMESPACE::TrafficLight::updateConstraints(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffset(), MSRailSignal::updateCurrentPhase(), MSVehicle::updateDriveItems(), MSDevice_SSM::updateEncounter(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSVehicle::updateFurtherLanes(), MSLCM_SL2015::updateGaps(), GNENetHelper::AttributeCarriers::updateJunctionID(), MSDevice_Taxi::updateMove(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSVehicle::Influencer::updateRemoteControlRoute(), MSDispatch::updateReservationFromPos(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateShadowLane(), MSVehicle::updateState(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), MSDevice_SSM::useGeoCoords(), NEMALogic::validate_timing(), NBNodeTypeComputer::validateRailCrossings(), libsumo::Helper::VehicleStateListener::vehicleStateChanged(), TraCIServer::vehicleStateChanged(), MSDynamicShapeUpdater::vehicleStateChanged(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSFCDExport::write(), MSElecHybridExport::write(), MSEmissionExport::write(), MSBatteryExport::write(), MSRailSignalConstraint_Predecessor::write(), MSElecHybridExport::writeAggregated(), MSLink::writeApproaching(), MSDriveWay::writeBlocks(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_DlrNavteq::writeConnectionAttrs(), MSDriveWay::writeDepatureBlocks(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), MSRoute::writeEdgeIDs(), NWWriter_XML::writeEdgesAndConnections(), MSEmissionExport::writeEmissions(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), ROMAAssignments::writeInterval(), MSQueueExport::writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSXMLRawOut::writeLane(), MSQueueExport::writeLane(), MSDevice_SSM::writeLanesPositions(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), MSTractionSubstation::writeOut(), MSDevice_ToC::writeOutput(), MSNet::writeOutput(), MSDevice_Vehroutes::writeOutput(), MSOverheadWire::writeOverheadWireSegmentOutput(), MSFullExport::writePersons(), MSDevice_SSM::writePositions(), NWWriter_OpenDrive::writeRoadObjectPOI(), NWWriter_OpenDrive::writeRoadObjectPoly(), NWWriter_SUMO::writeRoundabout(), NWWriter_OpenDrive::writeSignals(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_SUMO::writeTrafficLight(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSXMLRawOut::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSXMLRawOut::writeVehicle(), MSAmitranTrajectories::writeVehicle(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSCalibrator::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), MSLaneChanger::yieldToDeadlockOncoming(), MSLaneChanger::yieldToOppositeWaiting(), MSCalibrator::~MSCalibrator(), MSDevice_Transportable::~MSDevice_Transportable(), MSLaneSpeedTrigger::~MSLaneSpeedTrigger(), MSTriggeredRerouter::~MSTriggeredRerouter(), NLEdgeControlBuilder::~NLEdgeControlBuilder(), and RONet::~RONet().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 66 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSDriveWay::addSidings(), MSLaneChanger::avoidDeadlock(), MSVehicle::brakeForOverlap(), NLEdgeControlBuilder::build(), MSDriveWay::canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), MSDriveWay::checkFlanks(), MSVehicle::checkReversal(), MSVehicle::checkRewindLinkLanes(), MSTriggeredRerouter::checkStopSwitch(), AFRouter< E, N, V, M >::compute(), AStarRouter< E, V, M >::compute(), CCHRouter< E, V, GRAPH >::compute(), DijkstraRouter< E, V >::compute(), AFBuild< E, N, V, M >::computeArcFlagsAux(), AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), NBNode::computeLanes2Lanes(), NBOwnTLDef::computeLogicAndConts(), Node2EdgeRouter< E, N, V, M >::computeNode2Edge(), Node2EdgeRouter< E, N, V, M >::computeNode2Edges(), MSDriveWay::conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), MSDriveWay::foeDriveWayOccupied(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), LIBSUMO_NAMESPACE::Person::getLaneID(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLaneChanger::getOncomingOppositeVehicle(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), LIBSUMO_NAMESPACE::Vehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), MSDevice_SSM::getVehiclesOnJunction(), NBEdgeCont::guessRoundabouts(), MSDriveWay::hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), isOpen(), joinNamedToString(), joinNamedToString(), joinNamedToStringSorting(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), LIBSUMO_NAMESPACE::Person::moveToXY(), LIBSUMO_NAMESPACE::Vehicle::moveToXY(), MSPModel_Striping::PState::moveToXY(), libsumo::Helper::moveToXYMap(), libsumo::Helper::moveToXYMap_matchingRoutePosition(), MSDevice_Bluelight::notifyEnter(), MSDriveWay::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDriveWay::notifyLeave(), MSDriveWay::notifyLeaveBack(), MSVehicle::Influencer::postProcessRemoteControl(), MSVehicle::processNextStop(), MSBaseVehicle::replaceRoute(), MSBaseVehicle::reroute(), MSStoppingPlaceRerouter::rerouteStoppingPlace(), MSLaneChanger::resolveDeadlock(), MSLCM_SL2015::slowDownForBlocked(), MSLCM_LC2013::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), toString(), toString(), MSTriggeredRerouter::triggerRouting(), MSVehicle::updateBestLanes(), MSLCHelper::updateBlockerLength(), MSAbstractLaneChangeModel::updateShadowLane(), MSPModel_Striping::PState::walk(), and MSLaneChanger::yieldToDeadlockOncoming().
|
inline |
Returns the running index of the segment in the edge (0 is the most upstream).
Definition at line 266 of file MESegment.h.
References myIndex.
Referenced by MELoop::changeSegment(), GUIEdge::getParameterWindow(), GUIEdge::getPopUpMenu(), MEVehicle::getPositionOnLane(), MEVehicle::getRightSideOnEdge(), MEVehicle::getSegmentIndex(), MEVehicle::loadState(), MSInductLoop::MSInductLoop(), MEVehicle::saveState(), MELoop::teleportVehicle(), MEVehicle::updateDetectorForWriting(), MEVehicle::updateDetectors(), and MSQueueExport::writeMesoQueue().
|
inline |
get the last headway time
Definition at line 432 of file MESegment.h.
References myLastHeadway.
Referenced by MSInductLoop::saveState().
|
inline |
get the last headway time in seconds
Definition at line 427 of file MESegment.h.
References myLastHeadway, and STEPS2TIME.
Referenced by GUIEdge::getParameterWindow(), and MSInductLoop::notifyLeave().
|
inline |
Returns the length of the segment in meters.
Definition at line 282 of file MESegment.h.
References myLength.
Referenced by NLTriggerBuilder::buildMECalibrator(), MEVehicle::getAverageSpeed(), MEVehicle::getBrakeGap(), GUIMEVehicle::getCenteringBoundary(), MEVehicle::getConservativeSpeed(), GUIEdge::getParameterWindow(), MEVehicle::getPositionOnLane(), MELoop::getSegmentForEdge(), MSIdling_Stop::idle(), MSInductLoop::MSInductLoop(), MSInductLoop::notifyEnter(), MSInductLoop::notifyLeave(), MEVehicle::setApproaching(), MEVehicle::updateDetectorForWriting(), MEVehicle::updateDetectors(), updateMesoPositions(), and MSQueueExport::writeMesoQueue().
Returns the link the given car will use when passing the next junction.
This returns non-zero values only for the last segment and only if junction control is enabled.
| [in] | veh | The vehicle in question |
| [in] | tlsPenalty | Whether the link should be returned for computing tlsPenalty |
Definition at line 627 of file MESegment.cpp.
References MSEdge::getLanes(), MSLane::getLinkCont(), MEVehicle::getQueIndex(), myEdge, myJunctionControl, PARKING_QUEUE, and MSBaseVehicle::succEdge().
Referenced by MELoop::checkCar(), computeHeadway(), MELSegment::computeHeadway(), getLinkPenalty(), isOpen(), loadState(), receive(), MEVehicle::replaceRoute(), send(), and setSpeedForQueue().
Returns the penalty time for passing a link (if using gMesoTLSPenalty > 0 or gMesoMinorPenalty > 0)
| [in] | veh | The vehicle in question |
Definition at line 1088 of file MESegment.cpp.
References getLink(), MSLink::getMesoTLSPenalty(), MSGlobals::gMesoLimitedJunctionControl, MSLink::havePriority(), MSLink::isTLSControlled(), limitedControlOverride(), myCheckMinorPenalty, myMinorPenalty, and myTLSPenalty.
Referenced by MEVehicle::getCurrentLinkPenaltySeconds(), and receive().
|
inline |
wrapper to satisfy the FunctionBinding signature
Definition at line 340 of file MESegment.h.
References getMeanSpeed().
Referenced by getFlow(), getMeanSpeed(), GUIEdge::getParameterWindow(), and hasSpaceForInsertion().
| double MESegment::getMeanSpeed | ( | bool | useCache | ) | const |
Returns the average speed of vehicles on the segment in meters per second. If there is no vehicle on the segment it returns the maximum allowed speed.
| [in] | useCache | whether to use a cached value if available |
Definition at line 508 of file MESegment.cpp.
References MSNet::getCurrentTimeStep(), MSNet::getInstance(), MSEdge::getSpeedLimit(), myEdge, myJamThreshold, myLastMeanSpeedUpdate, myMeanSpeed, myQueues, myTau_ff, myTau_jf, and tauWithVehLength().
Referenced by METriggeredCalibrator::invalidJam().
|
inline |
return the minimum headway-time with which vehicles may enter or leave this segment
Definition at line 520 of file MESegment.h.
References myTau_ff.
Referenced by METriggeredCalibrator::maximumInflow().
|
inline |
convert net time gap (leader back to follower front) to gross time gap (leader front to follower front)
Definition at line 546 of file MESegment.h.
References myTau_ff, and myTau_length.
Referenced by updateMesoPositions(), and MSQueueExport::writeMesoQueue().
return a time after earliestEntry at which a vehicle may be inserted at full speed
Definition at line 610 of file MESegment.cpp.
References MSEdge::getSpeedLimit(), MAX2(), MAX3(), myEdge, myLength, myQueues, and TIME2STEPS().
Referenced by METriggeredCalibrator::execute().
|
inline |
Returns the following segment on the same edge (0 if it is the last).
Definition at line 274 of file MESegment.h.
References myNextSegment.
Referenced by MELoop::buildSegmentsFor(), MELoop::changeSegment(), MELoop::getSegmentForEdge(), MSIdling_Stop::idle(), MSMeanData::init(), MSEdge::insertVehicle(), MEVehicle::loadState(), MSRouteProbe::MSRouteProbe(), MSStateHandler::myStartElement(), MELoop::nextSegment(), MSMeanData::resetOnly(), MSLane::setMaxSpeed(), MELoop::simulate(), MELoop::teleportVehicle(), MSMeanData::writeAggregated(), MSMeanData::writeAggregatedTAZ(), MSMeanData::writeEdge(), MSXMLRawOut::writeEdge(), and MELoop::~MELoop().
|
inline |
Returns the cars in the queue with the given index for visualization.
Definition at line 244 of file MESegment.h.
References myQueues.
Referenced by GUIMEVehicle::getCenteringBoundary(), MSInductLoop::notifyLeave(), MEVehicle::resumeFromStopping(), updateMesoPositions(), and MSQueueExport::writeMesoQueue().
|
inline |
Definition at line 257 of file MESegment.h.
References myQueues.
Referenced by updateMesoPositions(), and MSQueueExport::writeMesoQueue().
|
inlinevirtual |
model specific queue state (e.g. the gap times of meso-ltm) for saving / loading
Reimplemented in MELSegment.
Definition at line 216 of file MESegment.h.
Referenced by saveState().
|
inline |
Returns the relative occupany of the segment (percentage of road used)) at which the segment is considered jammed.
Definition at line 317 of file MESegment.h.
References myCapacity, and myJamThreshold.
Referenced by GUIEdge::getParameterWindow().
|
inline |
Returns the relative occupany of the segment (percentage of road used))
Definition at line 309 of file MESegment.h.
References getBruttoOccupancy(), and myCapacity.
Referenced by GUIEdge::getParameterWindow().
|
protected |
Definition at line 766 of file MESegment.cpp.
References DEFAULT_VEH_LENGTH_WITH_GAP, MAX2(), myTau_jf, myTau_jj, STEPS2TIME, tauWithVehLength(), and TIME2STEPS().
Referenced by computeHeadway().
|
inline |
like getMinTauWithVehLength but using the jam-state dependent net time gap of the given queue (as in getMeanSpeed)
Definition at line 551 of file MESegment.h.
References myJamThreshold, myQueues, myTau_ff, myTau_jf, and tauWithVehLength().
Referenced by MSQueueExport::writeMesoQueue().
| double MESegment::getVehicleMaxSpeed | ( | const MEVehicle & | veh, |
| int | queueIndex | ||
| ) | const |
Maximum vehicle speed for the given queue, accounting for internal junction segments.
Definition at line 811 of file MESegment.cpp.
References MSBaseVehicle::getEdge(), MSEdge::getLanes(), MSLane::getVehicleMaxSpeed(), and myEdge.
Referenced by MEVehicle::getAverageSpeed(), and receive().
| std::vector< const MEVehicle * > MESegment::getVehicles | ( | ) | const |
returns all vehicles (for debugging)
Definition at line 1061 of file MESegment.cpp.
References myQueues.
Referenced by prepareDetectorForWriting().
| double MESegment::getWaitingSeconds | ( | ) | const |
Get the waiting time for vehicles in all queues.
Definition at line 1111 of file MESegment.cpp.
References myQueues.
|
protected |
whether a leader in any queue is blocked
Definition at line 1071 of file MESegment.cpp.
References myQueues.
Referenced by hasSpaceForInsertion().
| SUMOTime MESegment::hasSpaceFor | ( | const MEVehicle *const | veh, |
| const SUMOTime | entryTime, | ||
| int & | qIdx, | ||
| const bool | init = false |
||
| ) | const |
Returns whether the given vehicle would still fit into the segment.
| [in] | veh | The vehicle to check space for |
| [in] | entryTime | The time at which the vehicle wants to enter |
| [out] | qIdx | The index of the queue the vehicle should choose |
| [in] | init | whether the check is done at insertion time |
Definition at line 393 of file MESegment.cpp.
References MESegment::Queue::allows(), MSBaseVehicle::getEdge(), MESegment::Queue::getEntryBlockTime(), MSBaseVehicle::getInsertionChecks(), MSVehicleType::getLengthWithGap(), MESegment::Queue::getOccupancy(), MSBaseVehicle::getVClass(), MSBaseVehicle::getVehicleType(), hasSpaceForInsertion(), hasTravelingGaps(), MIN2(), myEdge, myFollowerMap, myLookahead, myNumVehicles, myQueueCapacity, myQueues, NONE, MESegment::Queue::size(), MSBaseVehicle::succEdge(), and SUMOTime_MAX.
Referenced by MELoop::changeSegment(), initialise(), and MSEdge::insertVehicle().
|
protectedvirtual |
check jam-avoidance constraints during insertion
Reimplemented in MELSegment.
Definition at line 461 of file MESegment.cpp.
References getMeanSpeed(), MESegment::Queue::getOccupancy(), hasBlockedLeader(), jamThresholdForSpeed(), myJamThreshold, and myTLSPenalty.
Referenced by hasSpaceFor().
|
inlineprotectedvirtual |
whether space vacated by vehicles that left the given queue has not yet reached the upstream end
Reimplemented in MELSegment.
Definition at line 597 of file MESegment.h.
Referenced by hasSpaceFor().
Inserts (emits) vehicle into the segment.
| [in] | veh | The vehicle to emit |
| [in] | time | The emission time |
Definition at line 474 of file MESegment.cpp.
References SUMOVehicleParameter::departProcedure, MSDriveWay::foeDriveWayOccupied(), MSDriveWay::getDepartureDriveway(), Named::getID(), MSBaseVehicle::getInsertionChecks(), MSEdge::getLanes(), MSBaseVehicle::getParameter(), MSEdge::getPermissions(), MSBaseVehicle::getVClass(), hasSpaceFor(), MSBaseVehicle::isRail(), isRailwayOrShared(), MSRailSignalControl::isSignalized(), myEdge, NONE, receive(), MSDriveWay::sidingDeadlock(), and SPLIT.
Referenced by MSEdge::insertVehicle(), and METriggeredCalibrator::tryEmit().
| void MESegment::initSegment | ( | const MesoEdgeType & | edgeType, |
| const MSEdge & | parent, | ||
| const double | capacity | ||
| ) |
set model parameters (may be updated from additional file after network loading is complete)
Definition at line 236 of file MESegment.cpp.
References Named::getID(), MSEdge::getToJunction(), MSJunction::getType(), MSEdge::hasMinorLink(), MELoop::isEnteringRoundabout(), MESegment::MesoEdgeType::jamThreshold, MESegment::MesoEdgeType::junctionControl, MAX2(), MESO_MIN_SPEED, MESegment::MesoEdgeType::minorPenalty, RandHelper::murmur3_32(), myCapacity, myCheckMinorPenalty, myIndex, myJunctionControl, myLength, myMeanSpeed, myMinorPenalty, myNextSegment, myOvertakeKey, myOvertaking, myQueueCapacity, myQueues, myTau_ff, myTau_fj, myTau_jf, myTau_jj, myTau_length, myTLSPenalty, MESegment::MesoEdgeType::overtaking, recomputeJamThreshold(), MESegment::MesoEdgeType::tauff, MESegment::MesoEdgeType::taufj, MESegment::MesoEdgeType::taujf, MESegment::MesoEdgeType::taujj, TIME2STEPS(), MESegment::MesoEdgeType::tlsFlowPenalty, MESegment::MesoEdgeType::tlsPenalty, TRAFFIC_LIGHT, TRAFFIC_LIGHT_NOJUNCTION, and TRAFFIC_LIGHT_RIGHT_ON_RED.
Referenced by MESegment().
|
inline |
Invalidate the cached interpolated positions.
Definition at line 253 of file MESegment.h.
References myMesoPositionUpdateTime, and SUMOTime_MIN.
Referenced by clearState(), loadState(), receive(), removeCar(), and MEVehicle::setSegment().
|
inlinestatic |
whether the given segment is 0 or encodes vaporization
Definition at line 498 of file MESegment.h.
References myVaporizationTarget.
Referenced by MELoop::changeSegment(), MEVehicle::getPositionOnLane(), MEVehicle::saveState(), send(), and MEVehicle::setSegment().
| int MESegment::isOpen | ( | const MEVehicle * | veh | ) | const |
Returns whether the vehicle may use the next link.
In case of disabled junction control it returns always true.
| [in] | veh | The vehicle in question |
Definition at line 656 of file MESegment.cpp.
References DEBUG_COND, DEBUG_COND2, MEVehicle::estimateLeaveSpeed(), gDebugFlag1, MSVehicleType::getCarFollowModel(), MEVehicle::getEventTime(), Named::getID(), Named::getIDSecure(), MSBaseVehicle::getImpatience(), MSVehicleType::getLengthWithGap(), getLink(), MSCFModel::getMaxDecel(), MEVehicle::getSpeed(), MSBaseVehicle::getVehicleType(), MEVehicle::getWaitingTime(), MSLink::havePriority(), MSLink::isTLSControlled(), limitedControlOverride(), myTLSPenalty, MSLink::opened(), PROCEED_NO, PROCEED_NO_TLS, PROCEED_YES, and SIMTIME.
Referenced by MEVehicle::mayProceed().
|
protected |
compute jam threshold for the given speed and jam-threshold option
Definition at line 322 of file MESegment.cpp.
References DEBUG_COND, DEFAULT_VEH_LENGTH_WITH_GAP, Named::getID(), myLength, myTau_ff, STEPS2TIME, and tauWithVehLength().
Referenced by hasSpaceForInsertion(), and recomputeJamThreshold().
|
protected |
whether the given link may be passed because the option meso-junction-control.limited is set
Definition at line 707 of file MESegment.cpp.
References getBruttoOccupancy(), MSLane::getEdge(), MSLink::getLane(), MELoop::getSegmentForEdge(), MSGlobals::gMesoLimitedJunctionControl, MSGlobals::gMesoNet, MSEdge::isRoundabout(), and myJamThreshold.
Referenced by getLinkPenalty(), and isOpen().
|
inlinevirtual |
Reimplemented in MELSegment.
Definition at line 219 of file MESegment.h.
Referenced by MSStateHandler::myStartElement().
| void MESegment::loadState | ( | const std::vector< SUMOVehicle * > & | vehs, |
| const SUMOTime | blockTime, | ||
| const SUMOTime | entryBlockTime, | ||
| const int | queIdx | ||
| ) |
Loads the state of this segment with the given parameters.
This method is called for every internal que the segment has. Every vehicle is retrieved from the given MSVehicleControl and added to this segment. Then, the internal queues that store vehicles dependant to their next edge are filled the same way. Then, the departure of last vehicles onto the next edge are restored.
| [in] | vehs | The vehicles for the current que |
| [in] | blockTime | The time the last vehicle left the que |
| [in] | queIdx | The index of the current que |
What about throwing an IOError?
What about throwing an error if something else fails (a vehicle can not be referenced)?
Definition at line 1034 of file MESegment.cpp.
References MELoop::addLeaderCar(), addReminders(), MSVehicleType::getLengthWithGap(), getLink(), MESegment::Queue::getModifiableVehicles(), MESegment::Queue::getOccupancy(), MEVehicle::getQueIndex(), MEVehicle::getSegment(), MESegment::Queue::getVehicles(), MSBaseVehicle::getVehicleType(), MSGlobals::gMesoNet, invalidateMesoPositions(), MSEdge::isInternal(), MIN2(), myEdge, myNumVehicles, myQueueCapacity, myQueues, MESegment::Queue::setBlockTime(), MESegment::Queue::setEntryBlockTime(), MESegment::Queue::setOccupancy(), MEVehicle::setSegment(), and MESegment::Queue::size().
Referenced by MSStateHandler::myStartElement().
|
protected |
compute the new arrival time when switching speed
Definition at line 954 of file MESegment.cpp.
References MEVehicle::getLastEntryTime(), MEVehicle::getSpeed(), MAX2(), MESO_MIN_SPEED, MIN2(), myLength, STEPS2TIME, and TIME2STEPS().
Referenced by setSpeedForQueue().
|
inline |
return the number of queues
Definition at line 238 of file MESegment.h.
References myQueues.
Referenced by GUIEdge::getParameterWindow(), MSStateHandler::myStartElement(), MSInductLoop::notifyEnter(), MSInductLoop::notifyLeave(), updateMesoPositions(), and MSQueueExport::writeMesoQueue().
|
inline |
whether the traffic light should use normal junction control despite penalty options
Definition at line 537 of file MESegment.h.
References myTLSPenalty.
Referenced by MSTrafficLightLogic::initMesoTLSPenalties().
|
protected |
whether veh overtakes the queue's last vehicle, drawn from a number specific to vehicle and segment
Definition at line 795 of file MESegment.cpp.
References getBruttoOccupancy(), MSBaseVehicle::getRandomSeed(), myCapacity, myOvertakeKey, myOvertaking, and RandHelper::randHash().
Referenced by receive().
| void MESegment::prepareDetectorForWriting | ( | MSMoveReminder & | data, |
| int | queueIndex = -1 |
||
| ) |
Removes a data collector for a detector from this segment.
| [in] | data | The data collector to remove |
Updates data of a detector for one or all vehicle queues
| [in] | data | The detector data to update |
| [in] | queueIndex | The queue (aka lane) to use, -1 means all |
Definition at line 370 of file MESegment.cpp.
References MSNet::getCurrentTimeStep(), MSNet::getInstance(), getVehicles(), MAX2(), myQueues, myTau_ff, and tauWithVehLength().
Referenced by METriggeredCalibrator::execute(), MSMeanData::init(), MSMeanData::resetOnly(), MSMeanData::writeAggregated(), MSMeanData::writeAggregatedTAZ(), MSMeanData::writeEdge(), and MEInductLoop::writeXMLOutput().
| void MESegment::receive | ( | MEVehicle * | veh, |
| const int | qIdx, | ||
| SUMOTime | time, | ||
| const bool | isDepart = false, |
||
| const bool | isTeleport = false, |
||
| const bool | newEdge = false |
||
| ) |
Adds the vehicle to the segment, adapting its parameters.
| [in] | veh | The vehicle in question |
| [in] | time | the leave time |
| [in] | isDepart | whether the vehicle just departed |
Definition at line 821 of file MESegment.cpp.
References MSBaseVehicle::activateReminders(), MELoop::addLeaderCar(), addReminders(), MSEdge::addWaiting(), MEVehicle::checkStop(), MESegment::Queue::getBlockTime(), MSVehicleType::getCarFollowModel(), getEdge(), MSBaseVehicle::getEdge(), MEVehicle::getEventTime(), MSCFModel::getHeadwayTime(), MSNet::getInstance(), MSEdge::getLanes(), MSVehicleType::getLengthWithGap(), getLink(), getLinkPenalty(), MESegment::Queue::getModifiableVehicles(), MESegment::Queue::getOccupancy(), MEVehicle::getSpeed(), MSNet::getVehicleControl(), getVehicleMaxSpeed(), MSBaseVehicle::getVehicleType(), MSGlobals::gMesoNet, MEVehicle::hasArrived(), invalidateMesoPositions(), MSEdge::isNormal(), MSBaseVehicle::isParking(), MSBaseVehicle::isStopped(), MSEdge::isVaporizing(), MSEdge::lock(), MAX2(), MESO_MIN_SPEED, MIN2(), MEVehicle::moveRoutePointer(), myEdge, myLength, myNumVehicles, myQueueCapacity, myQueues, myTau_ff, MSMoveReminder::NOTIFICATION_ARRIVED, MSMoveReminder::NOTIFICATION_DEPARTED, MSMoveReminder::NOTIFICATION_JUNCTION, MSMoveReminder::NOTIFICATION_SEGMENT, MSMoveReminder::NOTIFICATION_VAPORIZED_VAPORIZER, MSBaseVehicle::onDepart(), overtake(), PARKING_QUEUE, MSLink::removeApproaching(), MELoop::removeLeaderCar(), MSVehicleControl::scheduleVehicleRemoval(), MEVehicle::setBlockTime(), MESegment::Queue::setEntryBlockTime(), MEVehicle::setEventTime(), MEVehicle::setLastEntryTime(), MESegment::Queue::setOccupancy(), MEVehicle::setSegment(), MEVehicle::setUnqueuedEventTime(), SUMOTime_MAX, tauWithVehLength(), TIME2STEPS(), MSEdge::unlock(), and MEVehicle::updateDetectors().
Referenced by MELoop::changeSegment(), and initialise().
|
protected |
compute a value for myJamThreshold if jamThresh is negative, compute a value which allows free flow at mySpeed interpret jamThresh as the relative occupation at which jam starts
Definition at line 307 of file MESegment.cpp.
References DO_NOT_PATCH_JAM_THRESHOLD, MSEdge::getSpeedLimit(), jamThresholdForSpeed(), myCapacity, myEdge, and myJamThreshold.
Referenced by initSegment(), and setSpeed().
|
inline |
return the remaining physical space on this segment
Definition at line 506 of file MESegment.h.
References myQueueCapacity, and myQueues.
Referenced by METriggeredCalibrator::remainingVehicleCapacity().
| MEVehicle * MESegment::removeCar | ( | MEVehicle * | v, |
| SUMOTime | leaveTime, | ||
| const MSMoveReminder::Notification | reason | ||
| ) |
Removes the given car from the edge's que.
| [in] | v | The vehicle to remove |
| [in] | leaveTime | The time at which the vehicle is leaving the que |
| [in] | reason | The reason for removing to send to reminders |
Definition at line 592 of file MESegment.cpp.
References MEVehicle::getEventTime(), MEVehicle::getQueIndex(), MEVehicle::invalidateMesoPosition(), invalidateMesoPositions(), MSEdge::lock(), myEdge, myNumVehicles, myQueues, PARKING_QUEUE, MESegment::Queue::remove(), MSEdge::unlock(), and MEVehicle::updateDetectors().
Referenced by send().
| void MESegment::resetCachedSpeeds | ( | ) |
reset myLastMeanSpeedUpdate
Definition at line 534 of file MESegment.cpp.
References myLastMeanSpeedUpdate, and SUMOTime_MIN.
| void MESegment::saveState | ( | OutputDevice & | out | ) | const |
Saves the state of this segment into the given stream.
Some internal values which must be restored are saved as well as ids of the vehicles stored in internal queues and the last departures of connected edges.
| [in,filled] | out The (possibly binary) device to write the state into |
Definition at line 995 of file MESegment.cpp.
References OutputDevice::closeTag(), MESegment::Queue::getBlockTime(), MESegment::Queue::getEntryBlockTime(), Named::getID(), getQueueExtraState(), MESegment::Queue::getVehicles(), myQueues, OutputDevice::openTag(), SUMO_ATTR_BLOCKTIME, SUMO_ATTR_ID, SUMO_ATTR_STATE, SUMO_ATTR_TIME, SUMO_ATTR_VALUE, SUMO_TAG_SEGMENT, SUMO_TAG_VIEWSETTINGS_VEHICLES, and OutputDevice::writeAttr().
|
virtual |
Removes the vehicle from the segment, adapting its parameters.
| [in] | veh | The vehicle in question |
| [in] | next | The subsequent segment for delay calculation |
| [in] | time | the leave time |
Reimplemented in MELSegment.
Definition at line 739 of file MESegment.cpp.
References MELoop::addLeaderCar(), computeHeadway(), MESegment::Queue::getBlockTime(), MEVehicle::getEventTime(), getLink(), MESegment::Queue::getOccupancy(), MEVehicle::getQueIndex(), MSGlobals::gMesoNet, isInvalid(), MSEdge::isNormal(), MSBaseVehicle::isStopped(), MEVehicle::markJammed(), MAX2(), myCapacity, myEdge, myJamThreshold, myLastHeadway, myQueues, MEVehicle::processStop(), MSLink::removeApproaching(), removeCar(), MESegment::Queue::setBlockTime(), and MEVehicle::setEventTime().
Referenced by MELoop::changeSegment(), MELSegment::send(), MELoop::teleportVehicle(), and MELoop::vaporizeCar().
|
inlinevirtualinherited |
resets the id
| [in] | newID | The new id of this object |
Reimplemented in MSBaseVehicle, NBLoadedSUMOTLDef, and MSTransportable.
Definition at line 81 of file Named.h.
References Named::myID.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::rename(), GNEJunction::setAttribute(), NBLoadedSUMOTLDef::setID(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
inline |
restores the last headway time (when loading state)
Definition at line 437 of file MESegment.h.
References myLastHeadway.
Referenced by MSInductLoop::loadState().
| void MESegment::setSpeed | ( | double | newSpeed, |
| SUMOTime | currentTime, | ||
| double | jamThresh = DO_NOT_PATCH_JAM_THRESHOLD, |
||
| int | qIdx = -1 |
||
| ) |
reset mySpeed and patch the speed of all vehicles in it. Also set/recompute myJamThreshold
| [in] | jamThresh | follows the semantic of option meso-jam-threshold |
Definition at line 964 of file MESegment.cpp.
References myQueues, recomputeJamThreshold(), and setSpeedForQueue().
Referenced by MSLane::setMaxSpeed().
|
protected |
Definition at line 930 of file MESegment.cpp.
References MELoop::addLeaderCar(), MSVehicleType::getCarFollowModel(), MEVehicle::getEventTime(), MSCFModel::getHeadwayTime(), MSVehicleType::getLengthWithGap(), getLink(), MSBaseVehicle::getVehicleType(), MSGlobals::gMesoNet, MAX2(), myTau_ff, newArrival(), MELoop::removeLeaderCar(), MEVehicle::setEventTime(), tauWithVehLength(), and MEVehicle::updateDetectors().
Referenced by setSpeed().
|
inline |
Definition at line 541 of file MESegment.h.
References myStartOffset.
Referenced by MELoop::buildSegmentsFor().
|
inlineprotected |
convert net time gap (leader back to follower front) to gross time gap (leader front to follower front)
Definition at line 584 of file MESegment.h.
References myTau_length.
Referenced by computeHeadway(), MELSegment::computeHeadway(), getMeanSpeed(), getTauJJ(), getTauWithVehLength(), jamThresholdForSpeed(), prepareDetectorForWriting(), receive(), and setSpeedForQueue().
|
inlinevirtual |
update entry blockTime for all queues
Reimplemented in MELSegment.
Definition at line 213 of file MESegment.h.
Referenced by MELoop::changeSegment().
| void MESegment::updateMesoPositions | ( | ) | const |
Update interpolated positions for all vehicles on this segment.
Definition at line 540 of file MESegment.cpp.
References getCapacity(), MSVehicleType::getCarFollowModel(), MEVehicle::getEventTime(), MSCFModel::getHeadwayTime(), MEVehicle::getLastEntryTimeSeconds(), getLength(), MSVehicleType::getLengthWithGap(), MEVehicle::getMesoPosition(), getMinTauWithVehLength(), getQueue(), getQueueBlockTime(), MSBaseVehicle::getVehicleType(), MAX2(), MIN2(), myMesoPositionUpdateTime, myStartOffset, numQueues(), MEVehicle::setMesoPosition(), SIMSTEP, SIMTIME, and STEPS2TIME.
Referenced by MEVehicle::getPositionOnLane().
| void MESegment::updatePermissions | ( | ) |
called when permissions change due to Rerouter or TraCI
Definition at line 295 of file MESegment.cpp.
References MSEdge::getLanes(), MSEdge::getPermissions(), myEdge, and myQueues.
| bool MESegment::vaporizeAnyCar | ( | SUMOTime | currentTime, |
| const MSDetectorFileOutput * | filter | ||
| ) |
tries to remove any car from this segment
| [in] | currentTime | the current time |
Definition at line 913 of file MESegment.cpp.
References MELoop::changeSegment(), MSGlobals::gMesoNet, myQueues, myVaporizationTarget, MSMoveReminder::NOTIFICATION_VAPORIZED_CALIBRATOR, MELoop::removeLeaderCar(), and MSDetectorFileOutput::vehicleApplies().
Referenced by METriggeredCalibrator::execute().
| void MESegment::writeVehicles | ( | OutputDevice & | of | ) | const |
Definition at line 582 of file MESegment.cpp.
References myQueues, and MSXMLRawOut::writeVehicle().
Referenced by MSXMLRawOut::writeEdge().
|
static |
Definition at line 52 of file MESegment.h.
Referenced by recomputeJamThreshold().
|
protected |
The number of lanes represented by the queue * the length of the lane.
Definition at line 654 of file MESegment.h.
Referenced by getCapacity(), getRelativeJamThreshold(), getRelativeOccupancy(), initSegment(), overtake(), recomputeJamThreshold(), and send().
|
protected |
penalty for minor links
Definition at line 637 of file MESegment.h.
Referenced by getLinkPenalty(), and initSegment().
|
staticprotected |
Definition at line 679 of file MESegment.h.
|
protected |
The microsim edge this segment belongs to.
Definition at line 616 of file MESegment.h.
Referenced by getEdge(), getLink(), getMeanSpeed(), getNextInsertionTime(), getVehicleMaxSpeed(), hasSpaceFor(), initialise(), loadState(), MESegment(), receive(), recomputeJamThreshold(), removeCar(), send(), MELSegment::send(), and updatePermissions().
|
protected |
The follower edge to allowed que index mapping for multi queue segments.
Definition at line 669 of file MESegment.h.
Referenced by addDownstreamFollowers(), hasSpaceFor(), and MESegment().
|
protectedinherited |
The name of the object.
Definition at line 124 of file Named.h.
Referenced by MSDriveWay::addBidiFoes(), MSE2Collector::addDetectorToLanes(), MSDriveWay::addFoes(), MSDriveWay::addParallelFoes(), MSDriveWay::addReversalFoes(), MSDriveWay::addSwitchFoes(), RODFDetector::buildDestinationDistribution(), MSDriveWay::buildDriveWay(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), MSChargingStation::checkTotalPower(), NBNode::computeNodeShape(), NEMALogic::constructTimingAndPhaseDefs(), MSE2Collector::detectorUpdate(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), Named::getID(), NBEdge::getLaneID(), NEMALogic::getPhaseObj(), ROEdge::getStoredEffort(), GNEPOI::getSumoBaseObject(), GNEPoly::getSumoBaseObject(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), NBEdge::init(), MSSOTLTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), NEMALogic::init(), MSLane::isInsertionSuccess(), NBNode::NBNode(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), NEMALogic::parseControllerType(), RORouteDef::preComputeCurrentRoute(), NBNode::reinit(), NBEdge::reinitNodes(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), NBEdge::setGeometry(), Named::setID(), Distribution_Parameterized::setParameter(), MSSOTLTrafficLightLogic::setToATargetPhase(), Distribution_Parameterized::toStr(), MSChargingStation::writeAggregatedChargingStationOutput(), MSDriveWay::writeBlocks(), MSDriveWay::writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protected |
Running number of the segment in the edge.
Definition at line 625 of file MESegment.h.
Referenced by getIndex(), and initSegment().
|
protected |
The space (in m) which needs to be occupied before the segment is considered jammed.
Definition at line 660 of file MESegment.h.
Referenced by computeHeadway(), getMeanSpeed(), getRelativeJamThreshold(), getTauWithVehLength(), hasSpaceForInsertion(), limitedControlOverride(), recomputeJamThreshold(), and send().
|
protected |
Whether junction control is enabled.
Definition at line 641 of file MESegment.h.
Referenced by getLink(), and initSegment().
|
protected |
the last headway
Definition at line 675 of file MESegment.h.
Referenced by getLastHeadway(), getLastHeadwaySeconds(), send(), and setLastHeadway().
|
mutableprotected |
the time at which myMeanSpeed was last updated
Definition at line 688 of file MESegment.h.
Referenced by getMeanSpeed(), and resetCachedSpeeds().
|
protected |
The segment's length.
Definition at line 622 of file MESegment.h.
Referenced by getFlow(), getLength(), getNextInsertionTime(), initSegment(), jamThresholdForSpeed(), newArrival(), receive(), and MELSegment::send().
|
protected |
The number of route edges after myEdge to look up in myFollowerMap.
Definition at line 672 of file MESegment.h.
Referenced by addDownstreamFollowers(), and hasSpaceFor().
|
mutableprotected |
the mean speed on this segment. Updated at event time or on demand
Definition at line 685 of file MESegment.h.
Referenced by getMeanSpeed(), and initSegment().
|
mutableprotected |
The time step of the last interpolated position update.
Definition at line 691 of file MESegment.h.
Referenced by invalidateMesoPositions(), and updateMesoPositions().
|
protected |
Definition at line 638 of file MESegment.h.
Referenced by getLinkPenalty(), and initSegment().
|
staticprotected |
Definition at line 682 of file MESegment.h.
Referenced by MESegment().
|
protected |
The next segment of this edge, 0 if this is the last segment of this edge.
Definition at line 619 of file MESegment.h.
Referenced by getNextSegment(), and initSegment().
|
protected |
The cached value for the number of vehicles.
Definition at line 666 of file MESegment.h.
Referenced by getCarNumber(), hasSpaceFor(), loadState(), receive(), and removeCar().
|
protected |
this segment's part of the overtaking draws (hash of edge id and segment index in the upper 32 bits)
Definition at line 647 of file MESegment.h.
Referenced by initSegment(), and overtake().
|
protected |
Whether overtaking is permitted on this segment.
Definition at line 644 of file MESegment.h.
Referenced by initSegment(), and overtake().
|
protected |
The number of lanes represented by the queue * the length of the lane.
Definition at line 657 of file MESegment.h.
Referenced by computeHeadway(), hasSpaceFor(), MELSegment::hasSpaceForInsertion(), initSegment(), loadState(), MESegment(), receive(), remainingVehicleCapacity(), and MELSegment::updateEntryBlockTime().
|
protected |
The car queues. Vehicles are inserted in the front and removed in the back.
Definition at line 663 of file MESegment.h.
Referenced by addDetector(), addReminders(), clearState(), getBruttoOccupancy(), getEntryBlockTimeSeconds(), getEventTime(), getMeanSpeed(), getNextInsertionTime(), getQueue(), getQueueBlockTime(), getTauWithVehLength(), getVehicles(), getWaitingSeconds(), hasBlockedLeader(), hasSpaceFor(), initSegment(), loadState(), MELSegment::MELSegment(), MESegment(), numQueues(), prepareDetectorForWriting(), receive(), remainingVehicleCapacity(), removeCar(), saveState(), send(), setSpeed(), MELSegment::updateEntryBlockTime(), updatePermissions(), vaporizeAnyCar(), and writeVehicles().
|
private |
Distance from the start of the edge for position interpolation.
Definition at line 695 of file MESegment.h.
Referenced by setStartOffset(), and updateMesoPositions().
|
protected |
The time headway parameters, see the Eissfeldt thesis.
Definition at line 631 of file MESegment.h.
Referenced by computeHeadway(), MELSegment::computeHeadway(), getMeanSpeed(), getMinimumHeadwayTime(), getMinTauWithVehLength(), getTauWithVehLength(), initSegment(), jamThresholdForSpeed(), prepareDetectorForWriting(), receive(), MELSegment::send(), setSpeedForQueue(), and MELSegment::updateEntryBlockTime().
|
protected |
Definition at line 631 of file MESegment.h.
Referenced by computeHeadway(), and initSegment().
|
protected |
Definition at line 631 of file MESegment.h.
Referenced by computeHeadway(), MELSegment::computeHeadway(), getMeanSpeed(), getTauJJ(), getTauWithVehLength(), and initSegment().
|
protected |
Definition at line 631 of file MESegment.h.
Referenced by getTauJJ(), initSegment(), and MELSegment::send().
|
protected |
Headway parameter for computing gross time headyway from net time headway, length and edge speed.
Definition at line 651 of file MESegment.h.
Referenced by getMinTauWithVehLength(), initSegment(), and tauWithVehLength().
|
protected |
Whether tls penalty is enabled.
Definition at line 634 of file MESegment.h.
Referenced by computeHeadway(), MELSegment::computeHeadway(), getLinkPenalty(), hasSpaceForInsertion(), initSegment(), isOpen(), and overrideTLSPenalty().
|
staticprotected |
Definition at line 680 of file MESegment.h.
Referenced by isInvalid(), and vaporizeAnyCar().
|
static |
special param value
Definition at line 55 of file MESegment.h.
Referenced by NLJunctionControlBuilder::closeTrafficLightLogic(), and MSTrafficLightLogic::initMesoTLSPenalties().
|
static |
Definition at line 53 of file MESegment.h.
Referenced by addReminders(), MELoop::changeSegment(), MELoop::checkCar(), MEVehicle::getAverageSpeed(), MEVehicle::getBrakeGap(), GUIMEVehicle::getCenteringBoundary(), getLink(), MEVehicle::loadState(), receive(), removeCar(), and MEVehicle::resumeFromStopping().