![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSDriveWay.h>
Data Structures | |
| struct | Siding |
| struct | VehicleEvent |
Public Types | |
| typedef std::pair< const SUMOVehicle *const, const MSLink::ApproachingVehicleInformation > | Approaching |
| typedef std::set< const MSLane *, ComparatorNumericalIdLess > | LaneSet |
| typedef std::map< const MSLane *, int, ComparatorNumericalIdLess > | LaneVisitedMap |
| enum | Notification { NOTIFICATION_DEPARTED , NOTIFICATION_JUNCTION , NOTIFICATION_SEGMENT , NOTIFICATION_LANE_CHANGE , NOTIFICATION_LOAD_STATE , NOTIFICATION_TELEPORT , NOTIFICATION_TELEPORT_CONTINUATION , NOTIFICATION_PARKING , NOTIFICATION_REROUTE , NOTIFICATION_PARKING_REROUTE , NOTIFICATION_ARRIVED , NOTIFICATION_TELEPORT_ARRIVED , NOTIFICATION_TELEPORT_CONTINUATION_ARRIVED , NOTIFICATION_VAPORIZED_CALIBRATOR , NOTIFICATION_VAPORIZED_COLLISION , NOTIFICATION_VAPORIZED_TRACI , NOTIFICATION_VAPORIZED_GUI , NOTIFICATION_VAPORIZED_VAPORIZER , NOTIFICATION_VAPORIZED_BREAKDOWN , NOTIFICATION_NONE } |
| Definition of a vehicle state. More... | |
Public Member Functions | |
| void | addDWDeadlock (const std::vector< const MSDriveWay * > &deadlockFoes) |
| void | addTo (const StoringVisitor &cont) const |
| Adds this object to the given container. | |
| bool | bidiBlockedBy (const MSDriveWay &other) const |
| Whether there is a bidi conflict with the given driveway. | |
| bool | bidiBlockedByEnd (const MSDriveWay &other) const |
| Whether there is a bidi conflict with the end of the given driveway. | |
| bool | conflictLaneOccupied (bool store=true, const SUMOVehicle *ego=nullptr) const |
| whether any of myConflictLanes is occupied (vehicles that are the target of a join must be ignored) | |
| bool | crossingConflict (const MSDriveWay &other) const |
| Whether there is a crossing conflict with the given driveway. | |
| bool | flankConflict (const MSDriveWay &other) const |
| Whether there is a flank conflict with the given driveway. | |
| bool | foeDriveWayApproached () const |
| whether any of my Foes is being approached | |
| bool | foeDriveWayOccupied (bool store, const SUMOVehicle *ego, MSEdgeVector &occupied) const |
| whether any of myFoes is occupied (vehicles that are the target of a join must be ignored) | |
| bool | forwardRouteConflict (std::set< const MSEdge * > forward, const MSDriveWay &other, bool secondCheck=false) |
| Whether the route of other passes into the forward section of this driveway. | |
| bool | foundSignal () const |
| const std::vector< const MSLane * > & | getBidi () const |
| const std::vector< MSLink * > & | getConflictLinks () const |
| const std::string & | getDescription () const |
| const std::vector< VehicleEvent > & | getEvents () const |
| const std::string & | getFirstVehicle () const |
| const std::vector< const MSLane * > & | getFlank () const |
| const std::vector< MSDriveWay * > & | getFoes () const |
| const std::vector< const MSLane * > & | getForward () const |
| const std::string & | getID () const |
| Returns the id. | |
| const MSLane * | getLane () const |
| Returns the lane the reminder works on. | |
| int | getNumericalID () const |
| const MSLink * | getOrigin () const |
| const MSDriveWay * | getParent () const |
| double | getParentRemainingLength () const |
| return for how much longer the parent driveway continues after the end of this subdriveway | |
| const std::vector< const MSEdge * > & | getRoute () const |
| const std::vector< MSDriveWay * > & | getSubDriveWays () const |
| bool | hasTrain (SUMOVehicle *veh) const |
| whether the given train is on this driveway | |
| bool | isDepartDriveway () const |
| virtual bool | isParkingRerouter () const |
| bool | isSubDriveWay () const |
| void | loadReminderState (long long int numID, SUMOTime time, double pos) |
| bool | match (MSRouteIterator firstIt, MSRouteIterator endIt) const |
| whether the give route matches this driveway | |
| MSDriveWay (const MSLink *origin, const std::string &id, bool temporary=false) | |
| bool | notifyEnter (SUMOTrafficObject &veh, Notification reason, const MSLane *enteredLane) |
| Checks whether the reminder is activated by a vehicle entering the lane. | |
| bool | notifyLeave (SUMOTrafficObject &veh, double lastPos, Notification reason, const MSLane *enteredLane=0) |
| Called if the vehicle leaves the reminder's lane. | |
| bool | notifyLeaveBack (SUMOTrafficObject &veh, Notification reason, const MSLane *leftLane) |
| Called if the vehicle's back leaves the reminder's lane. | |
| virtual void | notifyMoveInternal (const SUMOTrafficObject &veh, const double frontOnLane, const double timeOnLane, const double meanSpeedFrontOnLane, const double meanSpeedVehicleOnLane, const double travelledDistanceFrontOnLane, const double travelledDistanceVehicleOnLane, const double meanLengthOnLane) |
| Internal notification about the vehicle moves. | |
| bool | notifyReroute (SUMOTrafficObject &veh) |
| Called if the vehicle change it's route. | |
| bool | reserve (const Approaching &closest, MSEdgeVector &occupied) |
| attempt reserve this driveway for the given vehicle | |
| void | saveReminderState (OutputDevice &out, const SUMOTrafficObject &veh) |
| Saves the current state into the given stream. | |
| void | setDescription (const std::string &description) |
| void | setEvents (const std::vector< VehicleEvent > &events) |
| virtual void | setID (const std::string &newID) |
| resets the id | |
| void | setVehicle (const std::string &vehID) |
| bool | sidingDeadlock (const SUMOVehicle *veh) const |
| whether insertion on this driveway would cause deadlock in an approached siding | |
| void | writeBlocks (OutputDevice &od) const |
| Write block items for this driveway. | |
| void | writeBlockVehicles (OutputDevice &od) const |
| virtual | ~MSDriveWay () |
| Destructor. | |
Interface methods, to be derived by subclasses | |
| virtual bool | notifyMove (SUMOTrafficObject &veh, double oldPos, double newPos, double newSpeed) |
| Checks whether the reminder still has to be notified about the vehicle moves. | |
| virtual bool | notifyIdle (SUMOTrafficObject &veh) |
| Computes idling emission values and adds them to the emission sums. | |
| virtual void | notifyParking () |
| called to update state for parking vehicles | |
| virtual void | notifyStopEnded () |
| called to update state for stopped vehicles | |
| void | updateDetector (SUMOTrafficObject &veh, double entryPos, double leavePos, SUMOTime entryTime, SUMOTime currentTime, SUMOTime leaveTime, bool cleanUp) |
Static Public Member Functions | |
| static MSDriveWay * | buildDriveWay (const std::string &id, const MSLink *link, MSRouteIterator first, MSRouteIterator end) |
| construct a new driveway by searching along the given route until all block structures are found | |
| static void | cleanup () |
| static void | clearState () |
| static std::string | getClickableTLLinkID (const MSLink *link) |
| return logicID_linkIndex in a way that allows clicking in sumo-gui | |
| static const MSDriveWay * | getDepartureDriveway (const SUMOVehicle *veh, bool init=false) |
| static const std::vector< MSDriveWay * > & | getEndingDriveWays (const MSEdge *edge) |
| 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 | hasRS (const MSEdge *cur, const MSEdge *next) |
| static bool | haveDriveWays () |
| static void | init () |
| static void | loadState (const SUMOSAXAttributes &attrs, int tag) |
| static bool | mustYield (const Approaching &veh, const Approaching &foe) |
| Whether veh must yield to the foe train. | |
| static const MSDriveWay * | retrieveDepartDriveWay (const MSEdge *edge, const std::string &id) |
| static void | saveState (OutputDevice &out) |
| Save driveway occupancy into the given stream. | |
| static void | writeDepatureBlocks (OutputDevice &od, bool writeVehicles) |
Static Public Attributes | |
| static StringBijection< Notification > | Notifications |
Protected Member Functions | |
| void | _saveState (OutputDevice &out) const |
| void | addBidiFoes (const MSRailSignal *ownSignal, bool extended) |
| derive foe driveways based on myBidi or myBidiExtended | |
| void | addConflictLink (const MSLink *link) |
| add symmetical conflict link for foes when building a new driveway | |
| void | addFoes (const MSLink *link) |
| add all driveWays that start at the given link as foes | |
| void | addParallelFoes (const MSLink *link, const MSEdge *first) |
| derive foe driveways that start at the same signal | |
| void | addReversalFoes (bool movingBlock) |
| derive foe driveways that enter the bidi section by reversing | |
| void | addSidings (MSDriveWay *foe, bool addToFoe=false) |
| add sidings for the given foe | |
| void | addSwitchFoes (MSLink *link) |
| void | buildRoute (const MSLink *origin, MSRouteIterator next, MSRouteIterator end, LaneVisitedMap &visited, std::set< MSLink *, MSLink::ComparatorNumericalLaneIdLess > &) |
| bool | buildSubFoe (MSDriveWay *foe, bool movingBlock) |
| std::pair< bool, const MSDriveWay * > | canUseSiding (const SUMOVehicle *ego, const MSDriveWay *foe, const MSEdge *recurseSidingEnd=nullptr) const |
| return whether a siding can be used. If a siding exist but is occupied, also return the occupied driveway in the siding | |
| void | checkCrossingFlanks (MSLink *dwLink, const LaneVisitedMap &visited, std::set< MSLink *, MSLink::ComparatorNumericalLaneIdLess > &flankSwitches) const |
| void | checkFlanks (const MSLink *originLink, const std::vector< const MSLane * > &lanes, const LaneVisitedMap &visited, bool allFoes, bool movingBlock, std::set< MSLink *, MSLink::ComparatorNumericalLaneIdLess > &flankSwitches) const |
| void | enterDriveWay (SUMOVehicle &sveh, Notification reason) |
| helper method for notifyEnter | |
| void | findFlankProtection (MSLink *link, MSLink *origLink, const std::vector< const MSLane * > &flank) |
| bool | forwardEndOnRoute (const MSDriveWay *foe) const |
| const MSDriveWay * | getFoeOrSubFoe (const MSDriveWay *dw) const |
| return dw if it is a foe or a subDrivway of dw if it is a foe | |
| double | getForwardDistance (int lastIndex) const |
| compute distance along the forward section up to lastIndex | |
| bool | hasLinkConflict (const Approaching &closest, const MSLink *foeLink) const |
| Whether the approaching vehicle is prevent from driving by another vehicle approaching the given link. | |
| bool | haveSubTrains () const |
| int | matchesPastRoute (SUMOVehicle &sveh) const |
| bool | overlap (const MSDriveWay &other) const |
| Whether this driveway (route) overlaps with the given one. | |
| void | removeFromVehicleUpdateValues (SUMOTrafficObject &veh) |
Static Protected Member Functions | |
| static void | appendMapIndex (LaneVisitedMap &map, const MSLane *lane) |
| append to map by map index and avoid undefined behavior | |
| static std::string | formatVisitedMap (const LaneVisitedMap &visited) |
| print link descriptions | |
| static std::string | getJunctionLinkID (const MSLink *link) |
| return junctionID_junctionLinkIndex | |
| static std::string | getTLLinkID (const MSLink *link) |
| return logicID_linkIndex | |
| static bool | hasJoin (const SUMOVehicle *ego, const SUMOVehicle *foe) |
| static bool | isSwitch (const MSLink *link) |
Protected Attributes | |
| bool | myAbortedBuild |
| whether driveway building was aborted due to MAX_BLOCK_LENGTH | |
| const SUMOVehicle * | myActive |
| whether the current signal is switched green for a train approaching this block | |
| std::vector< const MSLane * > | myBidi |
| bool | myBidiEnded |
| whether driveway building was aborted when no further bidi edge was found | |
| std::vector< const MSLane * > | myBidiExtended |
| std::vector< const MSLane * > | myBidiExtendedSorted |
| std::vector< const MSLane * > | myConflictLanes |
| the lanes that must be clear of trains before this signal can switch to green | |
| std::vector< MSLink * > | myConflictLinks |
| int | myCoreSize |
| number of edges in myRoute where overlap with other driveways is forbidden | |
| std::string | myDescription |
| a description of this moveReminder | |
| std::vector< const MSLane * > | myFlank |
| std::vector< const MSLane * > | myForward |
| int | myForwardEdgeCount |
| number of normal edges in myForward | |
| bool | myFoundJump |
| bool | myFoundSignal |
| whether this driveway ends its forward section with a rail signal (and thus comprises a full block) | |
| std::string | myID |
| The name of the object. | |
| MSLane * | myLane |
| Lane on which the reminder works. | |
| int | myNumericalID |
| global driveway index | |
| const MSLink * | myOrigin |
| the link that enters this driveway or nullptr for a departure driveWay | |
| MSDriveWay * | myParent |
| set to parent driveway if this is a subDriveway, nullptr otherwise | |
| std::vector< const MSEdge * > | myRoute |
| list of edges for matching against train routes | |
| bool | myTerminateRoute |
Private Attributes | |
| std::vector< std::set< const MSDriveWay * > > | myDeadlocks |
| std::string | myFirstVehicle |
| the first vehicle using this driveway | |
| std::vector< MSDriveWay * > | myFoes |
| std::map< long long int, std::pair< SUMOTime, double > > | myLastVehicleUpdateValues |
| std::vector< const MSEdge * > | myReversals |
| track own occurences in myReversalDriveWays for cleanup in destructor | |
| std::map< const MSDriveWay *, std::vector< Siding >, ComparatorIdLess > | mySidings |
| std::vector< MSDriveWay * > | mySubDriveWays |
| std::set< SUMOVehicle *, ComparatorNumericalIdLess > | myTrains |
| std::vector< VehicleEvent > | myVehicleEvents |
Static Private Attributes | |
| static const std::vector< MSDriveWay * > | EMPTY_DRIVEWAY_VECTOR |
| static std::set< const MSEdge * > | myBlockLengthWarnings |
| static std::vector< const MSEdge * > | myCurrentSidingCheck |
| static std::map< const MSJunction *, int > | myDepartDrivewayIndex |
| static std::map< const MSEdge *, std::vector< MSDriveWay * >, ComparatorNumericalIdLess > | myDepartureDriveways |
| all driveways that do not start at a rail signal (and are only used at departure) | |
| static std::map< const MSEdge *, std::vector< MSDriveWay * > > | myDepartureDrivewaysEnds |
| all driveways that do not start at a rail signal (and are only used at departure) by end edge | |
| static std::map< std::string, MSDriveWay * > | myDriveWayLookup |
| static std::map< ConstMSEdgeVector, MSDriveWay * > | myDriveWayRouteLookup |
| lookup table for state loading | |
| static std::map< const MSEdge *, std::vector< MSDriveWay * >, ComparatorNumericalIdLess > | myEndingDriveways |
| all driveways that end on the given edge | |
| static int | myGlobalDriveWayIndex |
| static double | myMovingBlockMaxDist |
| static std::map< const MSEdge *, std::vector< MSDriveWay * > > | myReversalDriveWays |
| all driveways reversing on the given switch (used to look up flank foes) | |
| static std::map< const MSEdge *, std::vector< std::pair< MSDriveWay *, MSDriveWay * > >, ComparatorNumericalIdLess > | mySidingDriveways |
| all driveways that use a siding which ends on this edge as pair (dw, foe) | |
| static std::map< const MSLink *, std::vector< MSDriveWay * > > | mySwitchDriveWays |
| all driveways passing the given switch (used to look up flank foes) | |
| static bool | myWriteVehicles |
| static StringBijection< Notification >::Entry | NotificationValues [] |
Definition at line 41 of file MSDriveWay.h.
| typedef std::pair<const SUMOVehicle* const, const MSLink::ApproachingVehicleInformation> MSDriveWay::Approaching |
Definition at line 43 of file MSDriveWay.h.
| typedef std::set<const MSLane*, ComparatorNumericalIdLess> MSDriveWay::LaneSet |
Definition at line 44 of file MSDriveWay.h.
| typedef std::map<const MSLane*, int, ComparatorNumericalIdLess> MSDriveWay::LaneVisitedMap |
Definition at line 45 of file MSDriveWay.h.
|
inherited |
Definition of a vehicle state.
| Enumerator | |
|---|---|
| NOTIFICATION_DEPARTED | The vehicle has departed (was inserted into the network) |
| NOTIFICATION_JUNCTION | The vehicle arrived at a junction. |
| NOTIFICATION_SEGMENT | The vehicle changes the segment (meso only) |
| NOTIFICATION_LANE_CHANGE | The vehicle changes lanes (micro only) |
| NOTIFICATION_LOAD_STATE | The vehicle has been loaded from a state file. |
| NOTIFICATION_TELEPORT | The vehicle is being teleported. |
| NOTIFICATION_TELEPORT_CONTINUATION | The vehicle continues being teleported past an edge. |
| NOTIFICATION_PARKING | The vehicle starts or ends parking. |
| NOTIFICATION_REROUTE | The vehicle changed it's route. |
| NOTIFICATION_PARKING_REROUTE | The vehicle needs another parking area. |
| NOTIFICATION_ARRIVED | The vehicle arrived at its destination (is deleted) |
| NOTIFICATION_TELEPORT_ARRIVED | The vehicle was teleported out of the net. |
| NOTIFICATION_TELEPORT_CONTINUATION_ARRIVED | The vehicle entered this edge during teleport and was teleported out of the net. |
| NOTIFICATION_VAPORIZED_CALIBRATOR | The vehicle got removed by a calibrator. |
| NOTIFICATION_VAPORIZED_COLLISION | The vehicle got removed by a collision. |
| NOTIFICATION_VAPORIZED_TRACI | The vehicle got removed via TraCI. |
| NOTIFICATION_VAPORIZED_GUI | The vehicle got removed via the GUI. |
| NOTIFICATION_VAPORIZED_VAPORIZER | The vehicle got vaporized with a vaporizer. |
| NOTIFICATION_VAPORIZED_BREAKDOWN | The vehicle got removed via stationfinder device. |
| NOTIFICATION_NONE | must be the last one |
Definition at line 91 of file MSMoveReminder.h.
| MSDriveWay::MSDriveWay | ( | const MSLink * | origin, |
| const std::string & | id, | ||
| bool | temporary = false |
||
| ) |
Definition at line 93 of file MSDriveWay.cpp.
|
virtual |
|
protected |
Definition at line 2541 of file MSDriveWay.cpp.
References OutputDevice::closeTag(), Named::getID(), haveSubTrains(), isSubDriveWay(), myRoute, myTrains, OutputDevice::openTag(), SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_VEHICLES, SUMO_TAG_DRIVEWAY, SUMO_TAG_SUBDRIVEWAY, toString(), and OutputDevice::writeAttr().
|
protected |
derive foe driveways based on myBidi or myBidiExtended
Definition at line 1833 of file MSDriveWay.cpp.
References addFoes(), flankConflict(), gDebugFlag4, Named::getID(), myBidi, myBidiExtended, myDepartureDriveways, myDepartureDrivewaysEnds, myFoes, and Named::myID.
Referenced by buildDriveWay().
|
protected |
add symmetical conflict link for foes when building a new driveway
Definition at line 2434 of file MSDriveWay.cpp.
References MSLink::getJunction(), MSLink::getLaneBefore(), MSLink::getTLLogic(), myBidi, myConflictLinks, and myRoute.
| void MSDriveWay::addDWDeadlock | ( | const std::vector< const MSDriveWay * > & | deadlockFoes | ) |
Definition at line 2450 of file MSDriveWay.cpp.
References myDeadlocks, and myFoes.
|
protected |
add all driveWays that start at the given link as foes
Definition at line 1805 of file MSDriveWay.cpp.
References crossingConflict(), flankConflict(), gDebugFlag4, MSLink::getDescription(), MSLink::getTLIndex(), MSLink::getTLLogic(), myFoes, Named::myID, and MSRailSignal::retrieveDriveWays().
Referenced by addBidiFoes(), addParallelFoes(), and findFlankProtection().
derive foe driveways that start at the same signal
Definition at line 1890 of file MSDriveWay.cpp.
References addFoes(), gDebugFlag4, Named::getID(), myDepartureDriveways, myFoes, and Named::myID.
Referenced by buildDriveWay().
|
protected |
derive foe driveways that enter the bidi section by reversing
Definition at line 1915 of file MSDriveWay.cpp.
References forward, forwardRouteConflict(), gDebugFlag4, Named::getID(), myCoreSize, myFoes, myForward, Named::myID, myReversalDriveWays, myRoute, and toString().
Referenced by buildDriveWay().
|
protected |
add sidings for the given foe
Definition at line 2253 of file MSDriveWay.cpp.
References MSEdge::clear(), gDebugFlag4, MSEdge::getBidiEdge(), Named::getID(), Named::getIDSecure(), MSEdge::getLength(), MSEdge::getNormalSuccessor(), hasRS(), isSubDriveWay(), myForward, myParent, myRoute, mySidingDriveways, mySidings, and toString().
Referenced by buildDriveWay(), and buildSubFoe().
|
protected |
Definition at line 1471 of file MSDriveWay.cpp.
References crossingConflict(), flankConflict(), gDebugFlag4, MSLink::getDescription(), myFoes, Named::myID, and mySwitchDriveWays.
Referenced by findFlankProtection().
|
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().
|
staticprotected |
append to map by map index and avoid undefined behavior
Definition at line 1744 of file MSDriveWay.cpp.
Referenced by buildDriveWay(), and buildRoute().
| bool MSDriveWay::bidiBlockedBy | ( | const MSDriveWay & | other | ) | const |
Whether there is a bidi conflict with the given driveway.
Definition at line 941 of file MSDriveWay.cpp.
References myBidi, myBidiExtendedSorted, myForward, and overlap().
Referenced by buildSubFoe(), flankConflict(), and sidingDeadlock().
| bool MSDriveWay::bidiBlockedByEnd | ( | const MSDriveWay & | other | ) | const |
Whether there is a bidi conflict with the end of the given driveway.
Definition at line 964 of file MSDriveWay.cpp.
References myBidi, myBidiExtendedSorted, myForward, and overlap().
Referenced by buildDriveWay(), and buildSubFoe().
|
static |
construct a new driveway by searching along the given route until all block structures are found
Definition at line 1500 of file MSDriveWay.cpp.
References addBidiFoes(), addParallelFoes(), addReversalFoes(), addSidings(), appendMapIndex(), bidiBlockedByEnd(), buildRoute(), buildSubFoe(), checkFlanks(), DEBUG_COND_DW, MSRailSignal::describeLinks(), findFlankProtection(), gDebugFlag4, MSLane::getBidiLane(), MSLink::getDescription(), MSLane::getEdge(), MSLink::getFoeLinks(), Named::getID(), MSLink::getLane(), MSLink::getLaneBefore(), MSLane::getLinkTo(), OptionsCont::getOptions(), MSLink::getTLLogic(), MSEdge::getToJunction(), MSRailSignal::isMovingBlock(), MSRailSignalControl::isMovingBlock(), MSLane::isNormal(), myBidi, myBidiExtended, myBidiExtendedSorted, myConflictLanes, myConflictLinks, myCoreSize, myEndingDriveways, myFlank, myFoes, myForward, Named::myID, myRoute, SIMTIME, and toString().
Referenced by getDepartureDriveway(), MSRailSignal::LinkInfo::getDriveWay(), and MSRailSignal::LinkInfo::getDriveWay().
|
protected |
Definition at line 1102 of file MSDriveWay.cpp.
References MESegment::addDetector(), MSLane::addMoveReminder(), appendMapIndex(), formatVisitedMap(), gDebugFlag4, MSEdge::getBidiEdge(), MSLane::getBidiLane(), getClickableTLLinkID(), MSLink::getDescription(), MSLane::getEdge(), Named::getID(), MSLane::getIncomingLanes(), MSLane::getIndex(), MSLane::getLength(), MSLane::getLinkCont(), MSLane::getLinkTo(), MELoop::getSegmentForEdge(), MSLink::getViaLaneOrLane(), MSGlobals::gMaxRailSignalBlockLength, MSGlobals::gMesoNet, MSGlobals::gUseMesoSim, MSLane::isInternal(), MSEdge::isNormal(), MSLane::isNormal(), isSwitch(), myAbortedBuild, myBidi, myBidiEnded, myBidiExtended, myBlockLengthWarnings, myCoreSize, myForward, myForwardEdgeCount, myFoundJump, myFoundSignal, MSMoveReminder::myLane, myReversalDriveWays, myReversals, myRoute, mySwitchDriveWays, myTerminateRoute, RAIL_SIGNAL, TL, toString(), TURN, and WRITE_WARNINGF.
Referenced by buildDriveWay().
|
protected |
Definition at line 1984 of file MSDriveWay.cpp.
References MSLane::addMoveReminder(), addSidings(), bidiBlockedBy(), bidiBlockedByEnd(), crossingConflict(), flankConflict(), forward, forwardEndOnRoute(), gDebugFlag4, MSEdge::getBidiEdge(), getForwardDistance(), MSLane::getFromJunction(), Named::getID(), MSLane::getNextNormal(), MSLane::getToJunction(), MSJunction::getType(), isDepartDriveway(), MIN2(), myBidi, myBidiExtended, myBidiExtendedSorted, myCoreSize, myFoes, myForward, myForwardEdgeCount, MSMoveReminder::myLane, myMovingBlockMaxDist, myOrigin, myParent, myReversals, myRoute, mySubDriveWays, myTerminateRoute, myTrains, myVehicleEvents, RAIL_SIGNAL, SIMTIME, toString(), WRITE_WARNINGF, and ZIPPER.
Referenced by buildDriveWay().
|
protected |
return whether a siding can be used. If a siding exist but is occupied, also return the occupied driveway in the siding
Definition at line 681 of file MSDriveWay.cpp.
References canUseSiding(), DEBUG_COND_DW2, DEBUG_HELPER, MSRoute::end(), gDebugFlag4, MSLink::getApproaching(), MSLink::getClosest(), SUMOVehicle::getCurrentRouteEdge(), getFoeOrSubFoe(), Named::getID(), Named::getIDSecure(), SUMOVehicle::getLength(), SUMOVehicle::getRoute(), isSubDriveWay(), myCurrentSidingCheck, myEndingDriveways, myOrigin, myParent, myRoute, mySidings, myTrains, SIMSTEP, SIMTIME, time2string(), toString(), and WRITE_WARNINGF.
Referenced by canUseSiding(), foeDriveWayOccupied(), and hasLinkConflict().
|
protected |
Definition at line 1360 of file MSDriveWay.cpp.
References formatVisitedMap(), gDebugFlag4, MSLane::getBidiLane(), MSLink::getDescription(), MSJunctionLogic::getFoesFor(), Named::getID(), MSJunction::getIncoming(), MSLink::getIndex(), MSLink::getJunction(), MSJunction::getLogic(), and isRailwayOrShared().
Referenced by checkFlanks().
|
protected |
Definition at line 1313 of file MSDriveWay.cpp.
References checkCrossingFlanks(), gDebugFlag4, MSLane::getBidiLane(), MSLink::getCorrespondingExitLink(), MSLink::getDirection(), Named::getID(), Named::getIDSecure(), MSLane::getIncomingLanes(), MSLink::getLane(), MSLink::getLaneBefore(), MSLane::getLinkTo(), MSLane::isInternal(), toString(), TURN, and TURN_LEFTHAND.
Referenced by buildDriveWay().
|
static |
Definition at line 118 of file MSDriveWay.cpp.
References myBlockLengthWarnings, myDepartDrivewayIndex, myDepartureDriveways, myDepartureDrivewaysEnds, myEndingDriveways, myGlobalDriveWayIndex, myReversalDriveWays, mySidingDriveways, mySwitchDriveWays, and myWriteVehicles.
Referenced by MSNet::clearAll().
|
static |
Definition at line 138 of file MSDriveWay.cpp.
References myEndingDriveways.
Referenced by MSNet::clearState().
| bool MSDriveWay::conflictLaneOccupied | ( | bool | store = true, |
| const SUMOVehicle * | ego = nullptr |
||
| ) | const |
whether any of myConflictLanes is occupied (vehicles that are the target of a join must be ignored)
Definition at line 420 of file MSDriveWay.cpp.
References MSRailSignal::blockingVehicles(), gDebugFlag4, Named::getID(), Named::getIDSecure(), MSBaseVehicle::getNextStopParameter(), SUMOVehicle::getNextStopParameter(), MSGlobals::gUseMesoSim, MSBaseVehicle::isStopped(), SUMOVehicleParameter::Stop::join, myConflictLanes, myForward, SIMTIME, MSRailSignal::storeVehicles(), and toString().
| bool MSDriveWay::crossingConflict | ( | const MSDriveWay & | other | ) | const |
Whether there is a crossing conflict with the given driveway.
Definition at line 892 of file MSDriveWay.cpp.
References MSJunctionLogic::getFoesFor(), MSLink::getIndex(), MSLink::getJunction(), MSLane::getLinkTo(), MSJunction::getLogic(), MSLink::getTLLogic(), MSLane::getToJunction(), myForward, myOrigin, myRoute, and RAIL_SIGNAL.
Referenced by addFoes(), addSwitchFoes(), buildSubFoe(), and findFlankProtection().
|
protected |
helper method for notifyEnter
Definition at line 271 of file MSDriveWay.cpp.
References Named::getID(), MSRailSignalControl::getInstance(), myFoes, myOrigin, myTrains, myVehicleEvents, myWriteVehicles, MSRailSignalControl::notifyApproach(), and SIMSTEP.
Referenced by notifyEnter().
|
protected |
Definition at line 1402 of file MSDriveWay.cpp.
References addFoes(), addSwitchFoes(), crossingConflict(), findFlankProtection(), flankConflict(), gDebugFlag4, MSLink::getCorrespondingEntryLink(), MSLink::getDescription(), MSLane::getEdge(), Named::getID(), MSLane::getIncomingLanes(), MSLink::getJunction(), MSLink::getLaneBefore(), MSLink::getTLLogic(), MSJunction::getType(), isSwitch(), myConflictLinks, myDepartureDriveways, myFoes, and RAIL_SIGNAL.
Referenced by buildDriveWay(), and findFlankProtection().
| bool MSDriveWay::flankConflict | ( | const MSDriveWay & | other | ) | const |
Whether there is a flank conflict with the given driveway.
Definition at line 864 of file MSDriveWay.cpp.
References bidiBlockedBy(), myBidi, myBidiExtendedSorted, and myForward.
Referenced by addBidiFoes(), addFoes(), addSwitchFoes(), buildSubFoe(), and findFlankProtection().
| bool MSDriveWay::foeDriveWayApproached | ( | ) | const |
whether any of my Foes is being approached
Definition at line 481 of file MSDriveWay.cpp.
References gDebugFlag4, myFoes, and SIMTIME.
Referenced by MSRailSignal::updateCurrentPhase().
| bool MSDriveWay::foeDriveWayOccupied | ( | bool | store, |
| const SUMOVehicle * | ego, | ||
| MSEdgeVector & | occupied | ||
| ) | const |
whether any of myFoes is occupied (vehicles that are the target of a join must be ignored)
Definition at line 497 of file MSDriveWay.cpp.
References MSRailSignalControl::addWaitRelation(), MSRailSignal::blockingDriveWays(), MSRailSignal::blockingVehicles(), canUseSiding(), DEBUG_COND_DW2, DEBUG_HELPER, MSRoute::end(), gDebugFlag4, SUMOVehicle::getBrakeGap(), MSVehicleType::getCarFollowModel(), SUMOVehicle::getCurrentRouteEdge(), MSRailSignal::getExistingDriveWay(), MSEdge::getFromJunction(), Named::getID(), Named::getIDSecure(), MSRailSignalControl::getInstance(), MSEdge::getLanes(), SUMOVehicle::getRoute(), MSCFModel::getStartupDelay(), MSLink::getTLLogic(), MSJunction::getType(), SUMOTrafficObject::getVehicleType(), SUMOTrafficObject::getWaitingTime(), MSGlobals::gTimeToTeleportRSDeadlock, hasJoin(), isDepartDriveway(), SUMOVehicle::isOnRoad(), MSLink::isTLSControlled(), joinNamedToString(), myDeadlocks, myFoes, myForwardEdgeCount, myOrigin, myRoute, mySidings, myTrains, RAIL_SIGNAL, SIMTIME, MSRailSignal::storeVehicles(), and toString().
Referenced by hasLinkConflict(), MESegment::initialise(), MSLane::isInsertionSuccess(), reserve(), MSRailSignal::storeTraCIVehicles(), and MSRailSignal::updateCurrentPhase().
|
staticprotected |
print link descriptions
Definition at line 1723 of file MSDriveWay.cpp.
References UNUSED_PARAMETER.
Referenced by buildRoute(), and checkCrossingFlanks().
|
protected |
Definition at line 2428 of file MSDriveWay.cpp.
References myForward, and myRoute.
Referenced by buildSubFoe().
| bool MSDriveWay::forwardRouteConflict | ( | std::set< const MSEdge * > | forward, |
| const MSDriveWay & | other, | ||
| bool | secondCheck = false |
||
| ) |
Whether the route of other passes into the forward section of this driveway.
Definition at line 981 of file MSDriveWay.cpp.
References forward, myCoreSize, myForward, and myRoute.
Referenced by addReversalFoes().
|
inline |
Definition at line 181 of file MSDriveWay.h.
References myFoundSignal.
Referenced by MSRailSignal::LinkInfo::getDriveWay().
|
inline |
Definition at line 125 of file MSDriveWay.h.
References myBidi.
|
static |
return logicID_linkIndex in a way that allows clicking in sumo-gui
Definition at line 1718 of file MSDriveWay.cpp.
References Named::getID(), MSLink::getTLIndex(), MSLink::getTLLogic(), and toString().
Referenced by buildRoute(), and MSRailSignal::LinkInfo::getDriveWay().
|
inline |
Definition at line 129 of file MSDriveWay.h.
References myConflictLinks.
|
static |
Definition at line 2466 of file MSDriveWay.cpp.
References MSRoute::begin(), buildDriveWay(), MSRoute::end(), MSLink::getCorrespondingEntryLink(), SUMOVehicle::getCurrentRouteEdge(), SUMOVehicle::getDepartEdge(), SUMOTrafficObject::getEdge(), MSRoute::getEdges(), MSEdge::getFromJunction(), Named::getID(), MSEdge::getLanes(), SUMOVehicle::getRoute(), MSLink::getTLIndex(), MSLink::getTLLogic(), MSJunction::getType(), init(), myDepartDrivewayIndex, myDepartureDriveways, myDepartureDrivewaysEnds, myForward, RAIL_SIGNAL, setVehicle(), and toString().
Referenced by MSRailSignal::initDriveWays(), MESegment::initialise(), and MSLane::isInsertionSuccess().
|
inlineinherited |
Definition at line 297 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by notifyEnter(), notifyLeave(), notifyLeaveBack(), notifyReroute(), and MSMoveReminder::saveReminderState().
|
static |
Definition at line 2498 of file MSDriveWay.cpp.
References EMPTY_DRIVEWAY_VECTOR, and myEndingDriveways.
Referenced by MSRailSignalControl::addDWDeadlockChecks(), and MSRailSignalControl::findDeadlockFoesFromRoutes().
|
inline |
Definition at line 137 of file MSDriveWay.h.
References myVehicleEvents.
|
inline |
Definition at line 149 of file MSDriveWay.h.
References myFirstVehicle.
Referenced by MSRailSignal::getExistingDriveWay().
|
inline |
Definition at line 121 of file MSDriveWay.h.
References myFlank.
|
protected |
return dw if it is a foe or a subDrivway of dw if it is a foe
Definition at line 379 of file MSDriveWay.cpp.
References getFoeOrSubFoe(), myFoes, and mySubDriveWays.
Referenced by canUseSiding(), getFoeOrSubFoe(), and hasLinkConflict().
|
inline |
Definition at line 153 of file MSDriveWay.h.
References myFoes.
|
inline |
Definition at line 157 of file MSDriveWay.h.
References myForward.
Referenced by MSRailSignalControl::addDWDeadlockChecks().
|
protected |
compute distance along the forward section up to lastIndex
Definition at line 2242 of file MSDriveWay.cpp.
References myForward.
Referenced by buildSubFoe(), and sidingDeadlock().
|
inlineinherited |
Returns the id.
Definition at line 73 of file Named.h.
References Named::myID.
Referenced by MSLCM_LC2013::_patchSpeed(), MSLCM_SL2015::_patchSpeed(), _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(), 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(), addParallelFoes(), NIImporter_SUMO::addPhase(), RONet::addProhibition(), GUIEdge::addRerouter(), MSDevice_Taxi::addReservation(), MSDispatch::addReservation(), addReversalFoes(), MSRouteHandler::addRideOrTransport(), RONet::addRouteDef(), 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(), 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(), buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), libsumo::Helper::buildStopParameters(), 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(), 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(), checkCrossingFlanks(), MSDevice_ToC::checkDynamicToC(), MSLane::checkFailure(), 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(), 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(), 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(), 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(), 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(), findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), LIBSUMO_NAMESPACE::Simulation::findRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), MSDevice_SSM::flushGlobalMeasures(), 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(), getClickableTLLinkID(), GUIVehicle::getColorValue(), MSLaneChanger::getColumnleader(), MSActuatedTrafficLightLogic::getConditions(), LIBSUMO_NAMESPACE::TrafficLight::getConstraintsByFoe(), LIBSUMO_NAMESPACE::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), MSCalibrator::getCurrentStateInterval(), MSCFModel_Rail::getCurveResistance(), NBNodeShapeComputer::getDefaultRadius(), 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(), 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(), 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(), hasJoin(), 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(), MESegment::initialise(), MSTrafficLightLogic::initMesoTLSPenalties(), NBOwnTLDef::initNeedsContRelation(), 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(), MESegment::isOpen(), MSCFModel_CC::isPlatoonLaneChangeSafe(), RODFNet::isSource(), MSSOTLTrafficLightLogic::isThresholdPassed(), RORoute::isValid(), MSStageDriving::isWaitingFor(), MESegment::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(), match(), MSSOTLE2Sensors::meanVehiclesSpeed(), MESegment::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(), 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(), notifyLeave(), 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(), 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(), 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(), MESegment::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(), 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(), 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(), writeBlocks(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_DlrNavteq::writeConnectionAttrs(), 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(), addSidings(), MSLaneChanger::avoidDeadlock(), MSVehicle::brakeForOverlap(), NLEdgeControlBuilder::build(), canUseSiding(), MSLaneChanger::changeOpposite(), MSLaneChanger::checkChangeOpposite(), 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(), conflictLaneOccupied(), NBPTLineCont::constructRoute(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::executeMove(), NBRailwayTopologyAnalyzer::extendDirectionPriority(), NBPTLineCont::findWay(), 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(), hasLinkConflict(), MSCFModel_IDM::insertionFollowSpeed(), MSLane::isInsertionSuccess(), MESegment::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(), notifyEnter(), MSDevice_Bluelight::notifyLeave(), notifyLeave(), 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().
|
staticprotected |
return junctionID_junctionLinkIndex
Definition at line 1713 of file MSDriveWay.cpp.
References Named::getID(), MSLink::getIndex(), MSLink::getJunction(), and toString().
|
inlineinherited |
Returns the lane the reminder works on.
Definition at line 85 of file MSMoveReminder.h.
References MSMoveReminder::myLane.
Referenced by MSBaseVehicle::activateReminders(), LIBSUMO_NAMESPACE::InductionLoop::getTree(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), MSDevice_Tripinfo::notifyEnter(), MSDevice_Tripinfo::notifyLeave(), and LIBSUMO_NAMESPACE::InductionLoop::storeShape().
|
inline |
Definition at line 133 of file MSDriveWay.h.
References myNumericalID.
Referenced by mustYield().
|
inline |
Definition at line 170 of file MSDriveWay.h.
References myOrigin.
|
inline |
Definition at line 189 of file MSDriveWay.h.
References myParent.
| double MSDriveWay::getParentRemainingLength | ( | ) | const |
return for how much longer the parent driveway continues after the end of this subdriveway
Definition at line 2647 of file MSDriveWay.cpp.
|
inline |
Definition at line 117 of file MSDriveWay.h.
References myRoute.
Referenced by MSRailSignalControl::findDeadlockFoesFromRoutes(), and MSRailSignal::LinkInfo::getDriveWay().
|
inline |
Definition at line 177 of file MSDriveWay.h.
References mySubDriveWays.
Referenced by MSRailSignal::initDriveWays().
|
staticprotected |
return logicID_linkIndex
Definition at line 1708 of file MSDriveWay.cpp.
References Named::getID(), MSLink::getTLIndex(), MSLink::getTLLogic(), and toString().
Referenced by hasLinkConflict(), reserve(), and writeBlocks().
|
staticprotected |
Definition at line 638 of file MSDriveWay.cpp.
References DEBUG_COND_DW, gDebugFlag4, Named::getID(), SUMOVehicle::getNextStopParameter(), SUMOVehicle::getStops(), MSGlobals::gUseMesoSim, SUMOVehicle::hasDeparted(), SUMOVehicle::isStopped(), and SUMOVehicleParameter::Stop::join.
Referenced by foeDriveWayOccupied().
|
protected |
Whether the approaching vehicle is prevent from driving by another vehicle approaching the given link.
Definition at line 307 of file MSDriveWay.cpp.
References canUseSiding(), MSRailSignal::constraintsAllow(), foeDriveWayOccupied(), gDebugFlag4, MSLink::getApproaching(), MSLink::getClosest(), getFoeOrSubFoe(), Named::getID(), Named::getIDSecure(), MSLink::getTLIndex(), getTLLinkID(), MSLink::getTLLogic(), mustYield(), overlap(), MSRailSignal::priorityVehicles(), MSRailSignal::retrieveDriveWayForVeh(), MSRailSignal::rivalVehicles(), and MSRailSignal::storeVehicles().
Referenced by reserve().
Definition at line 2412 of file MSDriveWay.cpp.
References MSEdge::getLanes(), MSEdge::getToJunction(), MSJunction::getType(), and RAIL_SIGNAL.
Referenced by addSidings().
| bool MSDriveWay::hasTrain | ( | SUMOVehicle * | veh | ) | const |
whether the given train is on this driveway
Definition at line 2641 of file MSDriveWay.cpp.
References myTrains.
Referenced by MSRailSignal::initDriveWays(), and loadState().
|
inlinestatic |
Definition at line 72 of file MSDriveWay.h.
References myGlobalDriveWayIndex.
Referenced by MSRailSignalControl::loadDeadlockCheck(), and MSStateHandler::saveState().
|
protected |
Definition at line 2559 of file MSDriveWay.cpp.
References mySubDriveWays.
Referenced by _saveState().
|
static |
Definition at line 83 of file MSDriveWay.cpp.
References OptionsCont::getFloat(), OptionsCont::getOptions(), OptionsCont::isSet(), myMovingBlockMaxDist, and myWriteVehicles.
Referenced by getDepartureDriveway(), and MSNet::initStatic().
|
inline |
Definition at line 166 of file MSDriveWay.h.
References myOrigin.
Referenced by buildSubFoe(), and foeDriveWayOccupied().
|
inlinevirtualinherited |
Reimplemented in MSTriggeredRerouter.
Definition at line 302 of file MSMoveReminder.h.
|
inline |
Definition at line 185 of file MSDriveWay.h.
References myParent.
Referenced by _saveState(), addSidings(), canUseSiding(), match(), writeBlocks(), and writeBlockVehicles().
|
staticprotected |
Definition at line 1289 of file MSDriveWay.cpp.
References MSLane::getBidiLane(), MSLane::getIncomingLanes(), MSLink::getLane(), MSLink::getLaneBefore(), MSLane::getLinkCont(), MSLane::getNormalPredecessorLane(), and MSLink::isTurnaround().
Referenced by buildRoute(), and findFlankProtection().
|
inherited |
Definition at line 126 of file MSMoveReminder.cpp.
References MSMoveReminder::myLastVehicleUpdateValues.
|
static |
Definition at line 2569 of file MSDriveWay.cpp.
References MSBaseVehicle::addReminder(), SUMOSAXAttributes::get(), MSNet::getInstance(), SUMOSAXAttributes::getOpt(), StringTokenizer::getVector(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), SUMOSAXAttributes::hasAttribute(), hasTrain(), myDriveWayLookup, myDriveWayRouteLookup, myEndingDriveways, myGlobalDriveWayIndex, mySubDriveWays, myTrains, MSEdge::parseEdgesList(), SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_VEHICLES, SUMO_TAG_DRIVEWAY, and TLF.
Referenced by MSStateHandler::myStartElement().
| bool MSDriveWay::match | ( | MSRouteIterator | firstIt, |
| MSRouteIterator | endIt | ||
| ) | const |
whether the give route matches this driveway
Definition at line 1751 of file MSDriveWay.cpp.
References MSEdge::getBidiEdge(), Named::getID(), MSEdge::getPermissions(), MSEdge::isConnectedTo(), isSubDriveWay(), match(), myAbortedBuild, myBidiEnded, myForward, myFoundJump, myParent, myRoute, SVC_RAIL_CLASSES, and toString().
Referenced by match(), matchesPastRoute(), and notifyEnter().
|
protected |
Definition at line 252 of file MSDriveWay.cpp.
References MSRoute::end(), MSRoute::getEdges(), MSLane::getNextNormal(), SUMOVehicle::getRoute(), SUMOVehicle::getRoutePosition(), match(), and MSMoveReminder::myLane.
Referenced by notifyEnter(), and notifyReroute().
|
static |
Whether veh must yield to the foe train.
Definition at line 394 of file MSDriveWay.cpp.
References getNumericalID().
Referenced by hasLinkConflict().
|
virtual |
Checks whether the reminder is activated by a vehicle entering the lane.
Lane change means in this case that the vehicle changes to the lane the reminder is placed at.
| [in] | veh | The entering vehicle. |
| [in] | reason | how the vehicle enters the lane |
Reimplemented from MSMoveReminder.
Definition at line 148 of file MSDriveWay.cpp.
References MSRoute::end(), enterDriveWay(), SUMOTrafficObject::getCurrentEdge(), SUMOVehicle::getCurrentRouteEdge(), MSMoveReminder::getDescription(), MSLane::getEdge(), Named::getID(), Named::getIDSecure(), MSLane::getNextNormal(), SUMOVehicle::getRoute(), SUMOTrafficObject::getVClass(), MSGlobals::gUseMesoSim, MSRailSignalControl::isUsingDriveWays(), SUMOTrafficObject::isVehicle(), match(), matchesPastRoute(), myForwardEdgeCount, MSMoveReminder::myLane, myTrains, MSMoveReminder::NOTIFICATION_DEPARTED, MSMoveReminder::NOTIFICATION_JUNCTION, MSMoveReminder::NOTIFICATION_PARKING, MSMoveReminder::NOTIFICATION_REROUTE, and SIMTIME.
Referenced by MSRailSignal::initDriveWays().
|
inlinevirtualinherited |
Computes idling emission values and adds them to the emission sums.
Idling implied by zero velocity, acceleration and slope
| [in] | veh | The vehicle |
Reimplemented in MSDevice_Emissions, MSDevice_Tripinfo, MSMeanData_Emissions::MSLaneMeanDataValues, and MSDevice_StationFinder.
Definition at line 191 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
|
virtual |
Called if the vehicle leaves the reminder's lane.
Informs if vehicle leaves reminder lane (due to lane change, removal from the network, or leaving to the next lane). The default is to do nothing.
| [in] | veh | The leaving vehicle. |
| [in] | lastPos | Position on the lane when leaving. |
| [in] | reason | how the vehicle leaves the lane |
Reimplemented from MSMoveReminder.
Definition at line 180 of file MSDriveWay.cpp.
References MSMoveReminder::getDescription(), Named::getID(), Named::getIDSecure(), SUMOTrafficObject::getVClass(), MSGlobals::gUseMesoSim, MSRailSignalControl::isUsingDriveWays(), SUMOTrafficObject::isVehicle(), myTrains, myVehicleEvents, myWriteVehicles, MSMoveReminder::NOTIFICATION_JUNCTION, MSMoveReminder::NOTIFICATION_SEGMENT, notifyLeaveBack(), SIMSTEP, SIMTIME, toString(), and UNUSED_PARAMETER.
|
virtual |
Called if the vehicle's back leaves the reminder's lane.
Informs if vehicle back leaves reminder lane (due to lane change, removal from the network, or leaving to the next lane). The default is to do nothing.
| [in] | veh | The leaving vehicle. |
| [in] | reason | how the vehicle leaves the lane |
| [in] | leftLane | The lane that the vehicle's back left |
Reimplemented from MSMoveReminder.
Definition at line 207 of file MSDriveWay.cpp.
References SUMOTrafficObject::getBackLane(), MSLane::getBidiLane(), MSMoveReminder::getDescription(), Named::getID(), Named::getIDSecure(), SUMOTrafficObject::getVClass(), MSGlobals::gUseMesoSim, MSRailSignalControl::isUsingDriveWays(), SUMOTrafficObject::isVehicle(), myForward, myTrains, myVehicleEvents, myWriteVehicles, SIMSTEP, SIMTIME, and toString().
Referenced by notifyLeave().
|
inlinevirtualinherited |
Checks whether the reminder still has to be notified about the vehicle moves.
Indicator if the reminders is still active for the passed vehicle/parameters. If false, the vehicle will erase this reminder from its reminder-container.
| [in] | veh | Vehicle that asks this reminder. |
| [in] | oldPos | Position before move. |
| [in] | newPos | Position after move with newSpeed. |
| [in] | newSpeed | Moving speed. |
Reimplemented in MSDevice_ElecHybrid, MSDevice_Battery, MSDevice_Bluelight, MSVehicleDevice_BTreceiver, MSTransportableDevice_BTreceiver, MSVehicleDevice_BTsender, MSTransportableDevice_BTsender, MSDevice_Emissions, MSDevice_Example, MSDevice_Friction, MSDevice_GLOSA, MSDevice_SSM, MSDevice_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSE2Collector, MSInstantInductLoop, MSMeanData::MeanDataValues, MSTriggeredRerouter, MSDevice_StationFinder, MSDevice_ToC, MSInductLoop, MSE3Collector::MSE3LeaveReminder, and MSE3Collector::MSE3EntryReminder.
Definition at line 171 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
Referenced by MSE3Collector::notifyMovePerson().
|
inlinevirtualinherited |
Internal notification about the vehicle moves.
Indicator if the reminders is still active for the passed vehicle/parameters. If false, the vehicle will erase this reminder from its reminder-container.
| [in] | veh | Vehicle that asks this reminder. |
| [in] | frontOnLane | time the front of the vehicle spent on the lane. |
| [in] | timeOnLane | time some part of the vehicle spent on the lane. |
| [in] | meanSpeedFrontOnLane | Average speed for the time that the front is on the lane. |
| [in] | meanSpeedVehicleOnLane | Average speed for the time that the vehicle is on the lane (with front or back). |
| [in] | travelledDistanceFrontOnLane | distance travelled while overlapping with the lane. |
| [in] | travelledDistanceVehicleOnLane | distance travelled while front was on the lane. |
| [in] | meanLengthOnLane | the average length of the vehicle's part on the lane during the last step (==complete length in meso case) |
Reimplemented in MSDevice_ElecHybrid, MSDevice_Battery, MSDevice_Emissions, MSDevice_Taxi, MSDevice_Transportable, MSDevice_Tripinfo, MSMeanData::MeanDataValueTracker, MSDevice_StationFinder, MSMeanData_Net::MSLaneMeanDataValues, MSMeanData_Harmonoise::MSLaneMeanDataValues, MSMeanData_Amitran::MSLaneMeanDataValues, and MSMeanData_Emissions::MSLaneMeanDataValues.
Definition at line 275 of file MSMoveReminder.h.
References UNUSED_PARAMETER.
Referenced by MSMoveReminder::updateDetector().
|
inlinevirtualinherited |
called to update state for parking vehicles
Reimplemented in MSDevice_Battery.
Definition at line 197 of file MSMoveReminder.h.
|
virtual |
Called if the vehicle change it's route.
| [in] | veh | The rerouted vehicle. |
Reimplemented from MSMoveReminder.
Definition at line 228 of file MSDriveWay.cpp.
References MSMoveReminder::getDescription(), Named::getID(), SUMOTrafficObject::getVClass(), MSRailSignalControl::isUsingDriveWays(), SUMOTrafficObject::isVehicle(), matchesPastRoute(), myTrains, myVehicleEvents, myWriteVehicles, MSMoveReminder::NOTIFICATION_REROUTE, SIMSTEP, and SIMTIME.
|
inlinevirtualinherited |
called to update state for stopped vehicles
Reimplemented in MSDevice_Routing, and MSDevice_Vehroutes.
Definition at line 200 of file MSMoveReminder.h.
|
protected |
Whether this driveway (route) overlaps with the given one.
Definition at line 846 of file MSDriveWay.cpp.
References MSEdge::getFromJunction(), MSEdge::getToJunction(), myCoreSize, and myRoute.
Referenced by bidiBlockedBy(), bidiBlockedByEnd(), and hasLinkConflict().
|
protectedinherited |
Definition at line 132 of file MSMoveReminder.cpp.
References SUMOTrafficObject::getNumericalID(), and MSMoveReminder::myLastVehicleUpdateValues.
Referenced by MSMoveReminder::updateDetector().
| bool MSDriveWay::reserve | ( | const Approaching & | closest, |
| MSEdgeVector & | occupied | ||
| ) |
attempt reserve this driveway for the given vehicle
Definition at line 287 of file MSDriveWay.cpp.
References DEBUG_HELPER, foeDriveWayOccupied(), gDebugFlag4, Named::getID(), getTLLinkID(), hasLinkConflict(), myActive, and myConflictLinks.
Referenced by MSRailSignal::storeTraCIVehicles(), and MSRailSignal::updateCurrentPhase().
|
static |
Definition at line 2630 of file MSDriveWay.cpp.
References myDepartureDriveways.
Referenced by GUILane::getParameterWindow().
|
inherited |
Saves the current state into the given stream.
Definition at line 113 of file MSMoveReminder.cpp.
References OutputDevice::closeTag(), MSMoveReminder::getDescription(), SUMOTrafficObject::getNumericalID(), MSMoveReminder::myLastVehicleUpdateValues, OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_TIME, SUMO_TAG_REMINDER, and OutputDevice::writeAttr().
|
static |
Save driveway occupancy into the given stream.
Definition at line 2528 of file MSDriveWay.cpp.
References myEndingDriveways.
Referenced by MSTLLogicControl::saveState().
|
inlineinherited |
Definition at line 293 of file MSMoveReminder.h.
References MSMoveReminder::myDescription.
Referenced by MSMeanData::init(), MEInductLoop::MEInductLoop(), METriggeredCalibrator::METriggeredCalibrator(), and MSCalibrator::MSCalibrator().
|
inline |
Definition at line 141 of file MSDriveWay.h.
References myVehicleEvents.
|
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 |
Definition at line 145 of file MSDriveWay.h.
References myFirstVehicle.
Referenced by getDepartureDriveway(), and MSRailSignal::LinkInfo::getDriveWay().
| bool MSDriveWay::sidingDeadlock | ( | const SUMOVehicle * | veh | ) | const |
whether insertion on this driveway would cause deadlock in an approached siding
Definition at line 802 of file MSDriveWay.cpp.
References bidiBlockedBy(), MSLane::clear(), DEBUG_COND_DW2, gDebugFlag4, MSLane::getEdge(), getForwardDistance(), Named::getID(), MSEdge::getLength(), MSLane::getLength(), SUMOVehicle::getLength(), MSLane::getLinkTo(), MSLane::getLogicalPredecessorLane(), MSTrafficLightLogic::getLogicType(), MSLink::getTLLogic(), MSGlobals::gUseMesoSim, MSLane::isNormal(), myCurrentSidingCheck, myForward, mySidingDriveways, RAIL_SIGNAL, and SIMTIME.
Referenced by MESegment::initialise(), and MSLane::isInsertionSuccess().
|
inherited |
Definition at line 72 of file MSMoveReminder.cpp.
References SUMOTrafficObject::getNumericalID(), MSMoveReminder::myLastVehicleUpdateValues, MSMoveReminder::notifyMoveInternal(), MSMoveReminder::removeFromVehicleUpdateValues(), and STEPS2TIME.
Referenced by MEVehicle::updateDetectorForWriting().
| void MSDriveWay::writeBlocks | ( | OutputDevice & | od | ) | const |
Write block items for this driveway.
Definition at line 1000 of file MSDriveWay.cpp.
References OutputDevice::closeTag(), Named::getID(), getTLLinkID(), isSubDriveWay(), joinNamedToStringSorting(), joinToStringSorting(), OutputDevice::lf(), myBidi, myBidiExtended, myConflictLinks, myCoreSize, myDeadlocks, myFirstVehicle, myFlank, myFoes, myForward, Named::myID, myRoute, mySidings, mySubDriveWays, OutputDevice::openTag(), SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_VEHICLE, SUMO_TAG_DRIVEWAY, SUMO_TAG_SUBDRIVEWAY, toString(), WRITE_WARNINGF, and OutputDevice::writeAttr().
| void MSDriveWay::writeBlockVehicles | ( | OutputDevice & | od | ) | const |
Definition at line 1083 of file MSDriveWay.cpp.
References OutputDevice::closeTag(), StringBijection< T >::getString(), isSubDriveWay(), Named::myID, mySubDriveWays, myVehicleEvents, MSMoveReminder::Notifications, OutputDevice::openTag(), SUMO_ATTR_ID, SUMO_ATTR_TIME, time2string(), and OutputDevice::writeAttr().
|
static |
Definition at line 2509 of file MSDriveWay.cpp.
References OutputDevice::closeTag(), MSEdge::getFromJunction(), Named::getID(), myDepartureDriveways, OutputDevice::openTag(), SUMO_ATTR_ID, and OutputDevice::writeAttr().
Referenced by MSNet::writeRailSignalBlocks().
|
staticprivate |
Definition at line 429 of file MSDriveWay.h.
Referenced by getEndingDriveWays().
|
protected |
whether driveway building was aborted due to MAX_BLOCK_LENGTH
Definition at line 244 of file MSDriveWay.h.
Referenced by buildRoute(), and match().
|
protected |
whether the current signal is switched green for a train approaching this block
Definition at line 228 of file MSDriveWay.h.
Referenced by reserve().
|
protected |
Definition at line 257 of file MSDriveWay.h.
Referenced by addBidiFoes(), addConflictLink(), bidiBlockedBy(), bidiBlockedByEnd(), buildDriveWay(), buildRoute(), buildSubFoe(), flankConflict(), getBidi(), and writeBlocks().
|
protected |
whether driveway building was aborted when no further bidi edge was found
Definition at line 246 of file MSDriveWay.h.
Referenced by buildRoute(), and match().
|
protected |
Definition at line 261 of file MSDriveWay.h.
Referenced by addBidiFoes(), buildDriveWay(), buildRoute(), buildSubFoe(), and writeBlocks().
|
protected |
Definition at line 262 of file MSDriveWay.h.
Referenced by bidiBlockedBy(), bidiBlockedByEnd(), buildDriveWay(), buildSubFoe(), and flankConflict().
|
staticprivate |
Definition at line 406 of file MSDriveWay.h.
Referenced by buildRoute(), and cleanup().
|
protected |
the lanes that must be clear of trains before this signal can switch to green
Definition at line 269 of file MSDriveWay.h.
Referenced by buildDriveWay(), and conflictLaneOccupied().
|
protected |
Definition at line 274 of file MSDriveWay.h.
Referenced by addConflictLink(), buildDriveWay(), findFlankProtection(), getConflictLinks(), reserve(), and writeBlocks().
|
protected |
number of edges in myRoute where overlap with other driveways is forbidden
Definition at line 234 of file MSDriveWay.h.
Referenced by addReversalFoes(), buildDriveWay(), buildRoute(), buildSubFoe(), forwardRouteConflict(), overlap(), and writeBlocks().
|
staticprivate |
Definition at line 424 of file MSDriveWay.h.
Referenced by canUseSiding(), and sidingDeadlock().
|
private |
Definition at line 390 of file MSDriveWay.h.
Referenced by addDWDeadlock(), foeDriveWayOccupied(), and writeBlocks().
|
staticprivate |
Definition at line 416 of file MSDriveWay.h.
Referenced by cleanup(), and getDepartureDriveway().
|
staticprivate |
all driveways that do not start at a rail signal (and are only used at departure)
Definition at line 415 of file MSDriveWay.h.
Referenced by addBidiFoes(), addParallelFoes(), cleanup(), findFlankProtection(), getDepartureDriveway(), retrieveDepartDriveWay(), and writeDepatureBlocks().
|
staticprivate |
all driveways that do not start at a rail signal (and are only used at departure) by end edge
Definition at line 418 of file MSDriveWay.h.
Referenced by addBidiFoes(), cleanup(), and getDepartureDriveway().
|
protectedinherited |
a description of this moveReminder
Definition at line 321 of file MSMoveReminder.h.
Referenced by MSMoveReminder::getDescription(), and MSMoveReminder::setDescription().
|
staticprivate |
Definition at line 428 of file MSDriveWay.h.
Referenced by loadState().
|
staticprivate |
lookup table for state loading
Definition at line 427 of file MSDriveWay.h.
Referenced by loadState().
|
staticprivate |
all driveways that end on the given edge
Definition at line 421 of file MSDriveWay.h.
Referenced by buildDriveWay(), canUseSiding(), cleanup(), clearState(), getEndingDriveWays(), loadState(), and saveState().
|
private |
the first vehicle using this driveway
Definition at line 401 of file MSDriveWay.h.
Referenced by getFirstVehicle(), setVehicle(), and writeBlocks().
|
protected |
Definition at line 266 of file MSDriveWay.h.
Referenced by buildDriveWay(), getFlank(), and writeBlocks().
|
private |
Definition at line 388 of file MSDriveWay.h.
Referenced by addBidiFoes(), addDWDeadlock(), addFoes(), addParallelFoes(), addReversalFoes(), addSwitchFoes(), buildDriveWay(), buildSubFoe(), enterDriveWay(), findFlankProtection(), foeDriveWayApproached(), foeDriveWayOccupied(), getFoeOrSubFoe(), getFoes(), and writeBlocks().
|
protected |
Definition at line 252 of file MSDriveWay.h.
Referenced by addReversalFoes(), addSidings(), bidiBlockedBy(), bidiBlockedByEnd(), buildDriveWay(), buildRoute(), buildSubFoe(), conflictLaneOccupied(), crossingConflict(), flankConflict(), forwardEndOnRoute(), forwardRouteConflict(), getDepartureDriveway(), getForward(), getForwardDistance(), getParentRemainingLength(), match(), notifyLeaveBack(), sidingDeadlock(), and writeBlocks().
|
protected |
number of normal edges in myForward
Definition at line 237 of file MSDriveWay.h.
Referenced by buildRoute(), buildSubFoe(), foeDriveWayOccupied(), and notifyEnter().
|
protected |
Definition at line 241 of file MSDriveWay.h.
Referenced by buildRoute(), and match().
|
protected |
whether this driveway ends its forward section with a rail signal (and thus comprises a full block)
Definition at line 240 of file MSDriveWay.h.
Referenced by buildRoute(), and foundSignal().
|
staticprivate |
Definition at line 403 of file MSDriveWay.h.
Referenced by cleanup(), haveDriveWays(), and loadState().
|
protectedinherited |
The name of the object.
Definition at line 124 of file Named.h.
Referenced by addBidiFoes(), MSE2Collector::addDetectorToLanes(), addFoes(), addParallelFoes(), addReversalFoes(), addSwitchFoes(), RODFDetector::buildDestinationDistribution(), 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(), writeBlocks(), writeBlockVehicles(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSOverheadWire::writeOverheadWireSegmentOutput(), RODFDetector::writeSingleSpeedTrigger(), MSTractionSubstation::writeTractionSubstationOutput(), MEInductLoop::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
Lane on which the reminder works.
Definition at line 319 of file MSMoveReminder.h.
Referenced by buildRoute(), buildSubFoe(), MSE2Collector::detectorUpdate(), MSInductLoop::detectorUpdate(), MSE2Collector::getEstimatedCurrentVehicleNumber(), MSMoveReminder::getLane(), matchesPastRoute(), MSMoveReminder::MSMoveReminder(), MSE2Collector::notifyEnter(), notifyEnter(), MSInstantInductLoop::notifyEnter(), MSInductLoop::notifyEnter(), MSE2Collector::notifyLeave(), MSInductLoop::notifyLeave(), and MSE2Collector::notifyMove().
|
privateinherited |
Definition at line 329 of file MSMoveReminder.h.
Referenced by MSMoveReminder::loadReminderState(), MSMoveReminder::removeFromVehicleUpdateValues(), MSMoveReminder::saveReminderState(), and MSMoveReminder::updateDetector().
|
staticprivate |
Definition at line 405 of file MSDriveWay.h.
Referenced by buildSubFoe(), and init().
|
protected |
|
protected |
the link that enters this driveway or nullptr for a departure driveWay
Definition at line 225 of file MSDriveWay.h.
Referenced by buildSubFoe(), canUseSiding(), crossingConflict(), enterDriveWay(), foeDriveWayOccupied(), getOrigin(), and isDepartDriveway().
|
protected |
set to parent driveway if this is a subDriveway, nullptr otherwise
Definition at line 248 of file MSDriveWay.h.
Referenced by addSidings(), buildSubFoe(), canUseSiding(), getParent(), getParentRemainingLength(), isSubDriveWay(), and match().
|
staticprivate |
all driveways reversing on the given switch (used to look up flank foes)
Definition at line 412 of file MSDriveWay.h.
Referenced by addReversalFoes(), buildRoute(), and cleanup().
|
private |
track own occurences in myReversalDriveWays for cleanup in destructor
Definition at line 398 of file MSDriveWay.h.
Referenced by buildRoute(), and buildSubFoe().
|
protected |
list of edges for matching against train routes
Definition at line 231 of file MSDriveWay.h.
Referenced by _saveState(), addConflictLink(), addReversalFoes(), addSidings(), buildDriveWay(), buildRoute(), buildSubFoe(), canUseSiding(), crossingConflict(), foeDriveWayOccupied(), forwardEndOnRoute(), forwardRouteConflict(), getRoute(), match(), overlap(), and writeBlocks().
|
staticprivate |
all driveways that use a siding which ends on this edge as pair (dw, foe)
Definition at line 423 of file MSDriveWay.h.
Referenced by addSidings(), cleanup(), and sidingDeadlock().
|
private |
Definition at line 389 of file MSDriveWay.h.
Referenced by addSidings(), canUseSiding(), foeDriveWayOccupied(), and writeBlocks().
|
private |
Definition at line 395 of file MSDriveWay.h.
Referenced by buildSubFoe(), getFoeOrSubFoe(), getSubDriveWays(), haveSubTrains(), loadState(), writeBlocks(), writeBlockVehicles(), and ~MSDriveWay().
|
staticprivate |
all driveways passing the given switch (used to look up flank foes)
Definition at line 409 of file MSDriveWay.h.
Referenced by addSwitchFoes(), buildRoute(), and cleanup().
|
protected |
Definition at line 242 of file MSDriveWay.h.
Referenced by buildRoute(), and buildSubFoe().
|
private |
Definition at line 385 of file MSDriveWay.h.
Referenced by _saveState(), buildSubFoe(), canUseSiding(), enterDriveWay(), foeDriveWayOccupied(), hasTrain(), loadState(), notifyEnter(), notifyLeave(), notifyLeaveBack(), and notifyReroute().
|
private |
Definition at line 387 of file MSDriveWay.h.
Referenced by buildSubFoe(), enterDriveWay(), getEvents(), notifyLeave(), notifyLeaveBack(), notifyReroute(), setEvents(), and writeBlockVehicles().
|
staticprivate |
Definition at line 404 of file MSDriveWay.h.
Referenced by cleanup(), enterDriveWay(), init(), notifyLeave(), notifyLeaveBack(), and notifyReroute().
|
staticinherited |
Definition at line 311 of file MSMoveReminder.h.
Referenced by writeBlockVehicles().
|
staticprivateinherited |
Definition at line 28 of file MSMoveReminder.h.