View Javadoc
1   package org.opentrafficsim.road.gtu.strategical;
2   
3   import org.opentrafficsim.road.gtu.lane.driver.LaneBasedBehavioralCharacteristics;
4   
5   /**
6    * <p>
7    * Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
8    * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
9    * </p>
10   * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
11   * initial version Nov 26, 2015 <br>
12   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
13   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
14   */
15  public abstract class AbstractLaneBasedStrategicalPlanner implements LaneBasedStrategicalPlanner
16  {
17      /** The personal driving characteristics, which contain settings for the tactical planner. */
18      protected LaneBasedBehavioralCharacteristics drivingCharacteristics;
19  
20      /**
21       * @param drivingCharacteristics the personal driving characteristics, which contain settings for the tactical planner
22       */
23      public AbstractLaneBasedStrategicalPlanner(LaneBasedBehavioralCharacteristics drivingCharacteristics)
24      {
25          super();
26          this.drivingCharacteristics = drivingCharacteristics;
27      }
28  
29      /** {@inheritDoc} */
30      @Override
31      public final LaneBasedBehavioralCharacteristics getDrivingCharacteristics()
32      {
33          return this.drivingCharacteristics;
34      }
35  
36      /** {@inheritDoc} */
37      @Override
38      public final void setDrivingCharacteristics(final LaneBasedBehavioralCharacteristics drivingCharacteristics)
39      {
40          this.drivingCharacteristics = drivingCharacteristics;
41      }
42  
43  }