Searched refs:neighLead (Results 1 – 9 of 9) sorted by relevance
/dports/cad/sumo/sumo-1.2.0/src/microsim/lcmodels/ |
H A D | MSLCM_DK2008.cpp | 67 const std::pair<MSVehicle*, double>& neighLead, in wantsChange() argument 174 if (neighLead.second > 0 && neighLead.second > leader.second) { in wantsChangeToRight() 175 …l.followSpeed(&myVehicle, myVehicle.getSpeed(), neighLead.second, neighLead.first->getSpeed(), nei… in wantsChangeToRight() 180 … if (neighLead.first != 0 && (neighLead.first->getLaneChangeModel().getOwnState()&LCA_LEFT) != 0) { in wantsChangeToRight() 242 if ((congested(neighLead.first) && neighLead.second < 20) || predInteraction(leader)) { //!!! in wantsChangeToRight() 247 if (neighLead.first == 0) { in wantsChangeToRight() 381 if (neighLead.second > 0 && neighLead.second > leader.second) { in wantsChangeToLeft() 387 …if (neighLead.first != 0 && (neighLead.first->getLaneChangeModel().getOwnState()&LCA_RIGHT) != 0) { in wantsChangeToLeft() 456 if ((congested(neighLead.first) && neighLead.second < 20) || predInteraction(leader)) { //!!! in wantsChangeToLeft() 461 if (neighLead.first == 0) { in wantsChangeToLeft() [all …]
|
H A D | MSLCM_LC2013.cpp | 519 && !(isOpposite() && neighLead.second < 0 && neighLead.first->isStopped())) { in informLeader() 1203 …} else if (bestLaneOffset == laneOffset && neighLead.first != 0 && neighLead.first->isStopped() &&… in _wantsChange() 1207 + neighLead.second); in _wantsChange() 1282 MSVehicle* nv = neighLead.first; in _wantsChange() 1325 && (neighLead.first == 0 || !neighLead.first->isStopped() in _wantsChange() 1556 const bool acceleratingLeader = (neighLead.first != 0 && neighLead.first->getAcceleration() > 0) in _wantsChange() 1566 if (neighLead.first == 0) { in _wantsChange() 1570 …&myVehicle, correctedSpeed, neighLead.second, neighLead.first->getSpeed(), neighLead.first->getCar… in _wantsChange() 1579 if (neighLead.first == 0) { in _wantsChange() 1644 if (neighLead.first != 0 && neighLead.first->getSpeed() < vMax) { in _wantsChange() [all …]
|
H A D | MSLCM_DK2008.h | 60 const std::pair<MSVehicle*, double>& neighLead, 92 const std::pair<MSVehicle*, double>& neighLead, 105 const std::pair<MSVehicle*, double>& neighLead, 114 const std::pair<MSVehicle*, double>& neighLead,
|
H A D | MSLCM_LC2013.h | 77 const std::pair<MSVehicle*, double>& neighLead, 130 const std::pair<MSVehicle*, double>& neighLead, 143 const std::pair<MSVehicle*, double>& neighLead,
|
H A D | MSLCM_SL2015.cpp | 514 const CLeaderDist& neighLead, in informLeader() argument 531 const MSVehicle* nv = neighLead.first; in informLeader() 552 msg(neighLead, -1, dir | LCA_AMBLOCKINGLEADER); in informLeader() 609 } else if (neighLead.first != 0) { // (remainUnblocked) in informLeader() 611 const MSVehicle* nv = neighLead.first; in informLeader() 634 << " gap=" << neighLead.second in informLeader() 1545 if (neighLead.first != 0 && neighLead.first->getSpeed() < vMax) { 1548 … vMax, neighLead.first->getSpeed(), neighLead.first->getCarFollowModel().getMaxDecel()))); 1561 … << " leaderSpeed=" << (neighLead.first == 0 ? -1 : neighLead.first->getSpeed()) 3336 const std::pair<MSVehicle*, double>& neighLead, [all …]
|
H A D | MSAbstractLaneChangeModel.h | 59 MSLCMessager(MSVehicle* leader, MSVehicle* neighLead, MSVehicle* neighFollow) in MSLCMessager() argument 60 : myLeader(leader), myNeighLeader(neighLead), in MSLCMessager() 280 const std::pair<MSVehicle*, double>& neighLead, in wantsChange() argument 290 UNUSED_PARAMETER(&neighLead); in wantsChange()
|
H A D | MSLCM_SL2015.h | 86 const std::pair<MSVehicle*, double>& neighLead, 174 const CLeaderDist& neighLead,
|
/dports/cad/sumo/sumo-1.2.0/src/microsim/ |
H A D | MSLaneChanger.cpp | 498 MSVehicle* neighLead = target->lead; 502 if (neighLead != 0) { 522 neighLead = target->hoppedVeh; 526 if (neighLead == nullptr) { 541 neighLead = pl; 545 if (neighLead != nullptr) { 682 if (neighLead.first != nullptr && neighLead.first == neighFollow.first) { 727 if (neighLead.first != nullptr && neighLead.second < 0) { 789 …const double vNextLeader = neighLead.first->getSpeed() + MIN2(0., tauRemainder * neighLead.first->… 1125 if (neighLead.first != 0) { [all …]
|
H A D | MSLaneChanger.h | 187 const std::pair<MSVehicle* const, double>& neighLead,
|