![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A lane change model developed by J. Erdmann. More...
#include <MSLCHelper.h>
Static Public Member Functions | |
static bool | canSaveBlockerLength (const MSVehicle &veh, double requested, double leftSpace) |
static bool | divergentRoute (const MSVehicle &v1, const MSVehicle &v2) |
return whether the vehicles are on the same junction but on divergent paths More... | |
static double | getRoundaboutDistBonus (const MSVehicle &veh, double bonusParam, const MSVehicle::LaneQ &curr, const MSVehicle::LaneQ &neigh, const MSVehicle::LaneQ &best) |
static bool | saveBlockerLength (const MSVehicle &veh, MSVehicle *blocker, int lcaCounter, double leftSpace, bool reliefConnection, double &leadingBlockerLength) |
A lane change model developed by J. Erdmann.
Definition at line 37 of file MSLCHelper.h.
|
static |
Definition at line 276 of file MSLCHelper.cpp.
References MSCFModel::brakeGap(), DEBUG_COND, MSVehicle::getActionStepLengthSecs(), MSVehicle::getCarFollowModel(), Named::getID(), MSCFModel::getMaxDecel(), MSVehicle::getSpeed(), and SIMTIME.
Referenced by MSLCM_LC2013::saveBlockerLength(), and MSLCM_SL2015::saveBlockerLength().
return whether the vehicles are on the same junction but on divergent paths
Definition at line 288 of file MSLCHelper.cpp.
References MSLane::getEdge(), MSEdge::getFromJunction(), MSVehicle::getLane(), and MSLane::isInternal().
Referenced by MSLCM_SL2015::informFollower(), MSLCM_LC2013::informFollower(), MSLCM_SL2015::informLeader(), and MSLCM_LC2013::informLeader().
|
static |
Definition at line 43 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().
|
static |
Definition at line 220 of file MSLCHelper.cpp.
References MSCFModel::brakeGap(), DEBUG_COND, MSVehicle::getCarFollowModel(), Named::getID(), Named::getIDSecure(), MSVehicle::getLaneChangeModel(), MSVehicleType::getLengthWithGap(), MSCFModel::getMaxDecel(), MSAbstractLaneChangeModel::getOwnState(), MSVehicle::getSpeed(), MSBaseVehicle::getVehicleType(), MAX2(), MSAbstractLaneChangeModel::saveBlockerLength(), SIMTIME, and toString().
Referenced by MSLCM_LC2013::_wantsChange(), and MSLCM_SL2015::_wantsChangeSublane().