![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A lane change model developed by J. Erdmann. More...
#include <MSLCHelper.h>
Static Public Member Functions | |
static double | getRoundaboutDistBonus (const MSVehicle &veh, double bonusParam, const MSVehicle::LaneQ &curr, const MSVehicle::LaneQ &neigh, const MSVehicle::LaneQ &best) |
Computes the artificial bonus distance for roundabout lanes this additional distance reduces the sense of urgency within roundabouts and thereby promotes the use of the inner roundabout lane in multi-lane roundabouts. More... | |
A lane change model developed by J. Erdmann.
Definition at line 37 of file MSLCHelper.h.
|
static |
Computes the artificial bonus distance for roundabout lanes this additional distance reduces the sense of urgency within roundabouts and thereby promotes the use of the inner roundabout lane in multi-lane roundabouts.
[in] | curr | continuation info along veh's current lane |
[in] | neigh | continuation info along a neighboring lane (in MSLCM_2013::_wantsChange() the considered lane for a lanechange) |
Definition at line 37 of file MSLCHelper.cpp.
References MSVehicle::LaneQ::bestContinuations, MSAbstractLaneChangeModel::debugVehicle(), MSLane::getBruttoVehLenSum(), MSLane::getEdge(), Named::getID(), MSJunction::getIncoming(), MSLane::getIndex(), MSVehicle::getLane(), MSVehicle::getLaneChangeModel(), MSLane::getLength(), MSLane::getLinkCont(), MSJunction::getOutgoing(), MSVehicle::getPositionOnLane(), MSEdge::getToJunction(), MSAbstractLaneChangeModel::isOpposite(), MSEdge::isRoundabout(), MSVehicle::LaneQ::lane, MAX2(), SIMTIME, and toString().
Referenced by MSLCM_LC2013::_wantsChange(), and MSLCM_SL2015::_wantsChangeSublane().