View Javadoc
1   package org.opentrafficsim.road.gtu.lane.tactical.lmrs;
2   
3   import org.opentrafficsim.road.gtu.lane.LaneBasedGTU;
4   import org.opentrafficsim.road.gtu.lane.perception.LanePerception;
5   
6   /**
7    * Determines lane change desire for speed, where the slowest vehicle in the current and adjacent lanes are assessed.
8    * The larger the speed differences between these vehicles, the larger the desire. Negative speed differences result in
9    * negative lane change desire. Only vehicles within a limited anticipation range are considered. The considered speed
10   * difference with an adjacent lane is reduced as the slowest leader in the adjacent lane is further ahead. The desire 
11   * for speed is reduced as acceleration is larger, preventing over-assertive lane changes as acceleration out of 
12   * congestion in the adjacent lane has progressed more.
13   * @author Wouter Schakel
14   */
15  public class IncentiveSpeed implements VoluntaryIncentive {
16  
17  	/** {@inheritDoc} */
18  	@Override
19  	public Desire determineDesire(final LaneBasedGTU gtu, final LanePerception perception, Desire mandatory) {
20  		return new Desire(0, 0);
21  	}
22  
23  }