Home
last modified time | relevance | path

Searched refs:shadowLane (Results 1 – 4 of 4) sorted by relevance

/dports/cad/sumo/sumo-1.2.0/src/microsim/
H A DMSLaneChangerSublane.cpp92 MSLane* shadowLane = lead->getLaneChangeModel().getShadowLane(); in updateChanger() local
93 if (shadowLane != nullptr) { in updateChanger()
94 … const double latOffset = lead->getLane()->getRightSideOnEdge() - shadowLane->getRightSideOnEdge(); in updateChanger()
96 (myChanger.begin() + shadowLane->getIndex())->ahead.addLeader(lead, false, latOffset); in updateChanger()
324 MSLane* shadowLane = vehicle->getLaneChangeModel().getShadowLane();
325 if (shadowLane != nullptr && shadowLane != oldShadowLane) {
327 …const double latOffset = vehicle->getLane()->getRightSideOnEdge() - shadowLane->getRightSideOnEdge…
328 (myChanger.begin() + shadowLane->getIndex())->ahead.addLeader(vehicle, false, latOffset);
369 << " shadowLane=" << (shadowLane != nullptr ? shadowLane->getID() : "NULL")
H A DMSLane.cpp889 MSLane* shadowLane = aVehicle->getLaneChangeModel().getShadowLane(this); in isInsertionSuccess() local
892 std::cout << " shadowLane=" << Named::getIDSecure(shadowLane) << "\n"; in isInsertionSuccess()
895 if (shadowLane != nullptr) { in isInsertionSuccess()
896 …MSLeaderDistanceInfo followers = shadowLane->getFollowersOnConsecutive(aVehicle, aVehicle->getBack… in isInsertionSuccess()
905 … << " isInsertionSuccess shadowlane=" << shadowLane->getID() in isInsertionSuccess()
921 …const MSLeaderInfo& ahead = shadowLane->getLastVehicleInformation(nullptr, 0, aVehicle->getPositio… in isInsertionSuccess()
925 …const double gap = veh->getBackPositionOnLane(shadowLane) - aVehicle->getPositionOnLane() - aVehic… in isInsertionSuccess()
931 … << " isInsertionSuccess shadowlane=" << shadowLane->getID() in isInsertionSuccess()
1394 const MSLane* shadowLane = follow->getLaneChangeModel().getShadowLane(); in detectCollisions() local
1395 const MSLeaderInfo& ahead = shadowLane->getLastVehicleInformation(follow, in detectCollisions()
[all …]
H A DMSVehicle.cpp2271 const MSLane* shadowLane = getLaneChangeModel().getShadowLane(lane);
2272 if (shadowLane != nullptr) {
2274 … adaptToLeaders(shadowLane->getLastVehicleInformation(this, latOffset, lane->getLength() - seen),
2276 seen, lastLink, shadowLane, v, vLinkPass);
/dports/cad/sumo/sumo-1.2.0/src/guisim/
H A DGUIVehicle.cpp104 const MSLane* shadowLane = getLaneChangeModel().getShadowLane(); in getParameterWindow() local
105 ret->mkItem("shadow lane [id]", false, shadowLane == nullptr ? "" : shadowLane->getID()); in getParameterWindow()