Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSLCM_SL2015.cpp File Reference
#include <config.h>
#include <iostream>
#include <utils/common/RandHelper.h>
#include <utils/common/StringUtils.h>
#include <microsim/MSEdge.h>
#include <microsim/MSLane.h>
#include <microsim/MSLink.h>
#include <microsim/MSNet.h>
#include <microsim/MSDriverState.h>
#include <microsim/MSGlobals.h>
#include <microsim/MSStop.h>
#include <microsim/transportables/MSTransportableControl.h>
#include <microsim/transportables/MSPModel.h>
#include "MSLCHelper.h"
#include "MSLCM_SL2015.h"
Include dependency graph for MSLCM_SL2015.cpp:

Go to the source code of this file.

Macros

#define ARRIVALPOS_LAT_THRESHOLD   100.0
 
#define CUT_IN_LEFT_SPEED_THRESHOLD   27.
 
#define DEBUG_COND   (myVehicle.isSelected())
 
#define GAIN_PERCEPTION_THRESHOLD   0.05
 
#define HELP_DECEL_FACTOR   1.0
 
#define HELP_OVERTAKE   (10.0 / 3.6)
 
#define JAM_FACTOR   1.
 
#define KEEP_RIGHT_TIME   5.0
 
#define LATGAP_SPEED_THRESHOLD   (50 / 3.6)
 
#define LATGAP_SPEED_THRESHOLD2   (50 / 3.6)
 
#define LCA_RIGHT_IMPATIENCE   -1.
 
#define LOOK_AHEAD_MIN_SPEED   0.0
 
#define LOOK_AHEAD_SPEED_MEMORY   0.9
 
#define LOOK_FORWARD   10.
 
#define MAGIC_OFFSET   1.
 
#define MAX_ONRAMP_LENGTH   200.
 
#define MIN_FALLBEHIND   (7.0 / 3.6)
 
#define REACT_TO_STOPPED_DISTANCE   100
 
#define RELGAIN_NORMALIZATION_MIN_SPEED   10.0
 
#define SPEED_GAIN_MIN_SECONDS   20.0
 
#define SPEEDGAIN_DECAY_FACTOR   0.5
 
#define SPEEDGAIN_MEMORY_FACTOR   0.5
 
#define TURN_LANE_DIST   200.0
 
#define URGENCY   2.0
 

Detailed Description

Author
Jakob Erdmann
Date
Tue, 06.10.2015

Definition in file MSLCM_SL2015.cpp.

Macro Definition Documentation

◆ ARRIVALPOS_LAT_THRESHOLD

#define ARRIVALPOS_LAT_THRESHOLD   100.0

Definition at line 68 of file MSLCM_SL2015.cpp.

◆ CUT_IN_LEFT_SPEED_THRESHOLD

#define CUT_IN_LEFT_SPEED_THRESHOLD   27.

Definition at line 46 of file MSLCM_SL2015.cpp.

◆ DEBUG_COND

#define DEBUG_COND   (myVehicle.isSelected())

Definition at line 106 of file MSLCM_SL2015.cpp.

◆ GAIN_PERCEPTION_THRESHOLD

#define GAIN_PERCEPTION_THRESHOLD   0.05

Definition at line 64 of file MSLCM_SL2015.cpp.

◆ HELP_DECEL_FACTOR

#define HELP_DECEL_FACTOR   1.0

Definition at line 52 of file MSLCM_SL2015.cpp.

◆ HELP_OVERTAKE

#define HELP_OVERTAKE   (10.0 / 3.6)

Definition at line 54 of file MSLCM_SL2015.cpp.

◆ JAM_FACTOR

#define JAM_FACTOR   1.

Definition at line 43 of file MSLCM_SL2015.cpp.

◆ KEEP_RIGHT_TIME

#define KEEP_RIGHT_TIME   5.0

Definition at line 59 of file MSLCM_SL2015.cpp.

◆ LATGAP_SPEED_THRESHOLD

#define LATGAP_SPEED_THRESHOLD   (50 / 3.6)

Definition at line 71 of file MSLCM_SL2015.cpp.

◆ LATGAP_SPEED_THRESHOLD2

#define LATGAP_SPEED_THRESHOLD2   (50 / 3.6)

Definition at line 74 of file MSLCM_SL2015.cpp.

◆ LCA_RIGHT_IMPATIENCE

#define LCA_RIGHT_IMPATIENCE   -1.

Definition at line 45 of file MSLCM_SL2015.cpp.

◆ LOOK_AHEAD_MIN_SPEED

#define LOOK_AHEAD_MIN_SPEED   0.0

Definition at line 49 of file MSLCM_SL2015.cpp.

◆ LOOK_AHEAD_SPEED_MEMORY

#define LOOK_AHEAD_SPEED_MEMORY   0.9

Definition at line 50 of file MSLCM_SL2015.cpp.

◆ LOOK_FORWARD

#define LOOK_FORWARD   10.

Definition at line 41 of file MSLCM_SL2015.cpp.

◆ MAGIC_OFFSET

#define MAGIC_OFFSET   1.

Definition at line 40 of file MSLCM_SL2015.cpp.

◆ MAX_ONRAMP_LENGTH

#define MAX_ONRAMP_LENGTH   200.

Definition at line 47 of file MSLCM_SL2015.cpp.

◆ MIN_FALLBEHIND

#define MIN_FALLBEHIND   (7.0 / 3.6)

Definition at line 55 of file MSLCM_SL2015.cpp.

◆ REACT_TO_STOPPED_DISTANCE

#define REACT_TO_STOPPED_DISTANCE   100

Definition at line 81 of file MSLCM_SL2015.cpp.

◆ RELGAIN_NORMALIZATION_MIN_SPEED

#define RELGAIN_NORMALIZATION_MIN_SPEED   10.0

Definition at line 61 of file MSLCM_SL2015.cpp.

◆ SPEED_GAIN_MIN_SECONDS

#define SPEED_GAIN_MIN_SECONDS   20.0

Definition at line 66 of file MSLCM_SL2015.cpp.

◆ SPEEDGAIN_DECAY_FACTOR

#define SPEEDGAIN_DECAY_FACTOR   0.5

Definition at line 77 of file MSLCM_SL2015.cpp.

◆ SPEEDGAIN_MEMORY_FACTOR

#define SPEEDGAIN_MEMORY_FACTOR   0.5

Definition at line 79 of file MSLCM_SL2015.cpp.

◆ TURN_LANE_DIST

#define TURN_LANE_DIST   200.0

Definition at line 63 of file MSLCM_SL2015.cpp.

◆ URGENCY

#define URGENCY   2.0

Definition at line 57 of file MSLCM_SL2015.cpp.