SUMO - Simulation of Urban MObility
MSLCM_LC2013.cpp File Reference
#include <config.h>
#include <iostream>
#include <utils/common/RandHelper.h>
#include <microsim/MSEdge.h>
#include <microsim/MSLane.h>
#include <microsim/MSNet.h>
#include "MSLCM_LC2013.h"
Include dependency graph for MSLCM_LC2013.cpp:

Go to the source code of this file.

Macros

#define CUT_IN_LEFT_SPEED_THRESHOLD   (SUMOReal)27.
 
#define DEBUG_COND   (myVehicle.getID() == "disabled")
 
#define HELP_DECEL_FACTOR   (SUMOReal)1.0
 
#define HELP_OVERTAKE   (SUMOReal)(10.0 / 3.6)
 
#define JAM_FACTOR   (SUMOReal)1.
 
#define KEEP_RIGHT_ACCEPTANCE   (SUMOReal)2.0
 
#define KEEP_RIGHT_TIME   (SUMOReal)5.0
 
#define LCA_RIGHT_IMPATIENCE   (SUMOReal)-1.
 
#define LOOK_AHEAD_MIN_SPEED   (SUMOReal)0.0
 
#define LOOK_AHEAD_SPEED_DECREMENT   6.
 
#define LOOK_AHEAD_SPEED_MEMORY   (SUMOReal)0.9
 
#define LOOK_FORWARD_LEFT   (SUMOReal)20.
 
#define LOOK_FORWARD_RIGHT   (SUMOReal)10.
 
#define LOOK_FORWARD_SPEED_DIVIDER   (SUMOReal)14.
 
#define MIN_FALLBEHIND   (SUMOReal)(7.0 / 3.6)
 
#define RELGAIN_NORMALIZATION_MIN_SPEED   (SUMOReal)10.0
 
#define ROUNDABOUT_DIST_BONUS   (SUMOReal)80.0
 
#define URGENCY   (SUMOReal)2.0
 

Macro Definition Documentation

#define CUT_IN_LEFT_SPEED_THRESHOLD   (SUMOReal)27.

Definition at line 59 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

#define HELP_DECEL_FACTOR   (SUMOReal)1.0

Definition at line 65 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

#define HELP_OVERTAKE   (SUMOReal)(10.0 / 3.6)

Definition at line 67 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower(), and MSLCM_LC2013::informLeader().

#define JAM_FACTOR   (SUMOReal)1.

Definition at line 56 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define KEEP_RIGHT_ACCEPTANCE   (SUMOReal)2.0

Definition at line 74 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define KEEP_RIGHT_TIME   (SUMOReal)5.0

Definition at line 73 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define LCA_RIGHT_IMPATIENCE   (SUMOReal)-1.

Definition at line 58 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

#define LOOK_AHEAD_MIN_SPEED   (SUMOReal)0.0

Definition at line 61 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange(), and MSLCM_LC2013::changed().

#define LOOK_AHEAD_SPEED_DECREMENT   6.

Definition at line 63 of file MSLCM_LC2013.cpp.

#define LOOK_AHEAD_SPEED_MEMORY   (SUMOReal)0.9

Definition at line 62 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define LOOK_FORWARD_LEFT   (SUMOReal)20.

Definition at line 54 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define LOOK_FORWARD_RIGHT   (SUMOReal)10.

Definition at line 53 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define LOOK_FORWARD_SPEED_DIVIDER   (SUMOReal)14.

Definition at line 51 of file MSLCM_LC2013.cpp.

#define MIN_FALLBEHIND   (SUMOReal)(7.0 / 3.6)

Definition at line 68 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informLeader().

#define RELGAIN_NORMALIZATION_MIN_SPEED   (SUMOReal)10.0

Definition at line 70 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define ROUNDABOUT_DIST_BONUS   (SUMOReal)80.0

Definition at line 75 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

#define URGENCY   (SUMOReal)2.0

Definition at line 71 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().