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 in order to adhere to keeping right or left. Such desire only exists if the route and 8 * speed (considered within an anticpation distance) are not affected on the adjacent lane. The level of lane change 9 * desire is only sufficient to overcome the lowest threshold for free lane changes. 10 * @author Wouter Schakel 11 */ 12 public class IncentiveKeep implements VoluntaryIncentive { 13 14 /** {@inheritDoc} */ 15 @Override 16 public Desire determineDesire(final LaneBasedGTU gtu, final LanePerception perception, Desire mandatory) { 17 return new Desire(0, 0); 18 } 19 20 }