SUMO - Simulation of Urban MObility
MSLCM_LC2013.cpp File Reference
#include <config.h>
#include <iostream>
#include <utils/common/RandHelper.h>
#include <utils/common/StringUtils.h>
#include <microsim/pedestrians/MSPModel.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   (double)27.
 
#define DEBUG_COND   (myVehicle.isSelected())
 
#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 LC_ASSUMED_DECEL   (double)1.0
 
#define LC_RESOLUTION_SPEED_LAT   (double)0.5
 
#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 MAX_ONRAMP_LENGTH   (double)200.
 
#define MIN_FALLBEHIND   (double)(7.0 / 3.6)
 
#define OPPOSITE_URGENCY   (double)5.0
 
#define OVERTAKE_RIGHT_THRESHOLD   (double)(5/3.6)
 
#define REACT_TO_STOPPED_DISTANCE   100
 
#define RELGAIN_NORMALIZATION_MIN_SPEED   (double)10.0
 
#define ROUNDABOUT_DIST_BONUS   (double)100.0
 
#define ROUNDABOUT_DIST_FACTOR   (double)10.0
 
#define ROUNDABOUT_DIST_TRESH   (double)10.0
 
#define TURN_LANE_DIST   (double)200.0
 
#define URGENCY   (double)2.0
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Friedemann Wesner
Sascha Krieg
Michael Behrisch
Laura Bieker
Leonhard Luecken
Date
Fri, 08.10.2013
Version
$Id$

Definition in file MSLCM_LC2013.cpp.

Macro Definition Documentation

◆ CUT_IN_LEFT_SPEED_THRESHOLD

#define CUT_IN_LEFT_SPEED_THRESHOLD   (double)27.

Definition at line 49 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

◆ DEBUG_COND

◆ HELP_DECEL_FACTOR

#define HELP_DECEL_FACTOR   (double)1.0

Definition at line 54 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

◆ HELP_OVERTAKE

#define HELP_OVERTAKE   (double)(10.0 / 3.6)

Definition at line 56 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

◆ JAM_FACTOR

#define JAM_FACTOR   (double)1.

Definition at line 46 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ KEEP_RIGHT_ACCEPTANCE

#define KEEP_RIGHT_ACCEPTANCE   (double)7.0

Definition at line 67 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ KEEP_RIGHT_HEADWAY

#define KEEP_RIGHT_HEADWAY   (double)2.0

Definition at line 73 of file MSLCM_LC2013.cpp.

◆ KEEP_RIGHT_TIME

#define KEEP_RIGHT_TIME   (double)5.0

Definition at line 66 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ LC_ASSUMED_DECEL

#define LC_ASSUMED_DECEL   (double)1.0

Definition at line 78 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::getAssumedDecelForLaneChangeDuration().

◆ LC_RESOLUTION_SPEED_LAT

#define LC_RESOLUTION_SPEED_LAT   (double)0.5

Definition at line 77 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::computeSpeedLat().

◆ LCA_RIGHT_IMPATIENCE

#define LCA_RIGHT_IMPATIENCE   (double)-1.

Definition at line 48 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

◆ LOOK_AHEAD_MIN_SPEED

#define LOOK_AHEAD_MIN_SPEED   0.0

Definition at line 51 of file MSLCM_LC2013.cpp.

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

◆ LOOK_AHEAD_SPEED_MEMORY

#define LOOK_AHEAD_SPEED_MEMORY   0.9

Definition at line 52 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ LOOK_FORWARD

#define LOOK_FORWARD   (double)10.

Definition at line 44 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ MAX_ONRAMP_LENGTH

#define MAX_ONRAMP_LENGTH   (double)200.

Definition at line 74 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informFollower().

◆ MIN_FALLBEHIND

#define MIN_FALLBEHIND   (double)(7.0 / 3.6)

Definition at line 57 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::informLeader().

◆ OPPOSITE_URGENCY

#define OPPOSITE_URGENCY   (double)5.0

Definition at line 64 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ OVERTAKE_RIGHT_THRESHOLD

#define OVERTAKE_RIGHT_THRESHOLD   (double)(5/3.6)

Definition at line 60 of file MSLCM_LC2013.cpp.

◆ REACT_TO_STOPPED_DISTANCE

#define REACT_TO_STOPPED_DISTANCE   100

Definition at line 80 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ RELGAIN_NORMALIZATION_MIN_SPEED

#define RELGAIN_NORMALIZATION_MIN_SPEED   (double)10.0

Definition at line 62 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ ROUNDABOUT_DIST_BONUS

#define ROUNDABOUT_DIST_BONUS   (double)100.0

Definition at line 68 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::roundaboutDistBonus().

◆ ROUNDABOUT_DIST_FACTOR

#define ROUNDABOUT_DIST_FACTOR   (double)10.0

Definition at line 70 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::roundaboutDistBonus().

◆ ROUNDABOUT_DIST_TRESH

#define ROUNDABOUT_DIST_TRESH   (double)10.0

Definition at line 71 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::roundaboutDistBonus().

◆ TURN_LANE_DIST

#define TURN_LANE_DIST   (double)200.0

Definition at line 75 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().

◆ URGENCY

#define URGENCY   (double)2.0

Definition at line 63 of file MSLCM_LC2013.cpp.

Referenced by MSLCM_LC2013::_wantsChange().