![]() |
SUMO - Simulation of Urban MObility
|
#include <config.h>#include <iostream>#include <utils/common/RandHelper.h>#include <utils/common/TplConvert.h>#include <microsim/MSEdge.h>#include <microsim/MSLane.h>#include <microsim/MSNet.h>#include <microsim/MSGlobals.h>#include <microsim/pedestrians/MSPModel.h>#include "MSLCM_SL2015.h"
Go to the source code of this file.
Macros | |
| #define | ARRIVALPOS_LAT_THRESHOLD 100.0 |
| #define | CUT_IN_LEFT_SPEED_THRESHOLD (double)27. |
| #define | DEBUG_COND (myVehicle.isSelected()) |
| #define | GAIN_PERCEPTION_THRESHOLD 0.05 |
| #define | HELP_DECEL_FACTOR (double)1.0 |
| #define | HELP_OVERTAKE (double)(10.0 / 3.6) |
| #define | JAM_FACTOR (double)1. |
| #define | KEEP_RIGHT_ACCEPTANCE (double)7.0 |
| #define | KEEP_RIGHT_HEADWAY (double)2.0 |
| #define | KEEP_RIGHT_TIME (double)5.0 |
| #define | LATGAP_SPEED_THRESHOLD (50 / 3.6) |
| #define | LATGAP_SPEED_THRESHOLD2 (50 / 3.6) |
| #define | LCA_RIGHT_IMPATIENCE (double)-1. |
| #define | LOOK_AHEAD_MIN_SPEED 0.0 |
| #define | LOOK_AHEAD_SPEED_MEMORY 0.9 |
| #define | LOOK_FORWARD (double)10. |
| #define | MAGIC_OFFSET 1. |
| #define | MAX_ONRAMP_LENGTH (double)200. |
| #define | MIN_FALLBEHIND (double)(7.0 / 3.6) |
| #define | RELGAIN_NORMALIZATION_MIN_SPEED (double)10.0 |
| #define | ROUNDABOUT_DIST_BONUS (double)100.0 |
| #define | SPEED_GAIN_MIN_SECONDS 20.0 |
| #define | SPEEDGAIN_DECAY_FACTOR 0.5 |
| #define | SPEEDGAIN_MEMORY_FACTOR 0.5 |
| #define | TURN_LANE_DIST (double)200.0 |
| #define | URGENCY (double)2.0 |
| #define ARRIVALPOS_LAT_THRESHOLD 100.0 |
Definition at line 77 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define CUT_IN_LEFT_SPEED_THRESHOLD (double)27. |
Definition at line 50 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::informFollower().
| #define DEBUG_COND (myVehicle.isSelected()) |
Definition at line 111 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::addLCSpeedAdvice(), MSLCM_SL2015::changed(), MSLCM_SL2015::debugVehicle(), MSLCM_SL2015::decideDirection(), MSLCM_SL2015::inform(), MSLCM_SL2015::patchSpeed(), MSLCM_SL2015::prepareStep(), MSLCM_SL2015::setOwnState(), MSLCM_SL2015::updateExpectedSublaneSpeeds(), MSLCM_SL2015::wantsChange(), and MSLCM_SL2015::wantsChangeSublane().
| #define GAIN_PERCEPTION_THRESHOLD 0.05 |
Definition at line 73 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define HELP_DECEL_FACTOR (double)1.0 |
Definition at line 56 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::informFollower().
| #define HELP_OVERTAKE (double)(10.0 / 3.6) |
Definition at line 58 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::informFollower(), and MSLCM_SL2015::informLeader().
| #define JAM_FACTOR (double)1. |
Definition at line 46 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::checkStrategicChange().
| #define KEEP_RIGHT_ACCEPTANCE (double)7.0 |
Definition at line 68 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define KEEP_RIGHT_HEADWAY (double)2.0 |
Definition at line 61 of file MSLCM_SL2015.cpp.
| #define KEEP_RIGHT_TIME (double)5.0 |
Definition at line 67 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define LATGAP_SPEED_THRESHOLD (50 / 3.6) |
Definition at line 80 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::updateGaps().
| #define LATGAP_SPEED_THRESHOLD2 (50 / 3.6) |
Definition at line 83 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::updateGaps().
| #define LCA_RIGHT_IMPATIENCE (double)-1. |
Definition at line 49 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::informFollower().
| #define LOOK_AHEAD_MIN_SPEED 0.0 |
Definition at line 53 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane(), and MSLCM_SL2015::changed().
| #define LOOK_AHEAD_SPEED_MEMORY 0.9 |
Definition at line 54 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define LOOK_FORWARD (double)10. |
Definition at line 44 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define MAGIC_OFFSET 1. |
Definition at line 43 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_patchSpeed(), and MSLCM_SL2015::informLeaders().
| #define MAX_ONRAMP_LENGTH (double)200. |
Definition at line 51 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::informFollower().
| #define MIN_FALLBEHIND (double)(7.0 / 3.6) |
Definition at line 59 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::informLeader().
| #define RELGAIN_NORMALIZATION_MIN_SPEED (double)10.0 |
Definition at line 70 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define ROUNDABOUT_DIST_BONUS (double)100.0 |
Definition at line 65 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define SPEED_GAIN_MIN_SECONDS 20.0 |
Definition at line 75 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define SPEEDGAIN_DECAY_FACTOR 0.5 |
Definition at line 86 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().
| #define SPEEDGAIN_MEMORY_FACTOR 0.5 |
Definition at line 88 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::updateExpectedSublaneSpeeds().
| #define TURN_LANE_DIST (double)200.0 |
Definition at line 72 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::checkStrategicChange().
| #define URGENCY (double)2.0 |
Definition at line 63 of file MSLCM_SL2015.cpp.
Referenced by MSLCM_SL2015::_wantsChangeSublane().