Searched refs:thisLaneVSafe (Results 1 – 2 of 2) sorted by relevance
/dports/cad/sumo/sumo-1.2.0/src/microsim/lcmodels/ |
H A D | MSLCM_DK2008.cpp | 245 double thisLaneVSafe = myVehicle.getLane()->getVehicleMaxSpeed(&myVehicle); in wantsChangeToRight() local 254 …thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.followSpeed(&myVehicle, myVehicle.getSpeed(),… in wantsChangeToRight() 257 …thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.followSpeed(&myVehicle, myVehicle.getSpeed(),… in wantsChangeToRight() 260 thisLaneVSafe = MIN2(thisLaneVSafe, myVehicle.getVehicleType().getMaxSpeed()); in wantsChangeToRight() 262 if (thisLaneVSafe - neighLaneVSafe > 5. / 3.6) { in wantsChangeToRight() 269 …myChangeProbability -= TS * ((neighLaneVSafe - thisLaneVSafe) / (myVehicle.getLane()->getVehicleMa… in wantsChangeToRight() 460 double thisLaneVSafe = myVehicle.getLane()->getVehicleMaxSpeed(&myVehicle); in wantsChangeToLeft() local 468 …thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.followSpeed(&myVehicle, myVehicle.getSpeed(),… in wantsChangeToLeft() 471 …thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.followSpeed(&myVehicle, myVehicle.getSpeed(),… in wantsChangeToLeft() 473 thisLaneVSafe = MIN2(thisLaneVSafe, myVehicle.getVehicleType().getMaxSpeed()); in wantsChangeToLeft() [all …]
|
H A D | MSLCM_LC2013.cpp | 1249 double thisLaneVSafe = vMax; in _wantsChange() local 1293 thisLaneVSafe = MIN2(thisLaneVSafe, vSafe); in _wantsChange() 1573 …thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.followSpeed(&myVehicle, correctedSpeed, curre… in _wantsChange() 1575 thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.followSpeed( in _wantsChange() 1586 …thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.maximumSafeStopSpeed(currentDist, myVehicle.g… in _wantsChange() 1588 …thisLaneVSafe = MIN2(thisLaneVSafe, myCarFollowModel.maximumSafeFollowSpeed(leader.second, myVehic… in _wantsChange() 1608 << " thisVSafe=" << thisLaneVSafe in _wantsChange() 1617 if (thisLaneVSafe - 5 / 3.6 > neighLaneVSafe) { in _wantsChange() 1713 if (thisLaneVSafe > neighLaneVSafe) { in _wantsChange() 1718 } else if (thisLaneVSafe == neighLaneVSafe) { in _wantsChange() [all …]
|