1 package org.opentrafficsim.road.gtu.strategical;
2
3 import java.io.Serializable;
4
5 import org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics;
6 import org.opentrafficsim.road.gtu.lane.LaneBasedGTU;
7
8
9
10
11
12
13
14
15
16
17
18 public abstract class AbstractLaneBasedStrategicalPlanner implements LaneBasedStrategicalPlanner, Serializable
19 {
20
21 private static final long serialVersionUID = 20151126L;
22
23
24 private final LaneBasedGTU gtu;
25
26
27 private BehavioralCharacteristics behavioralCharacteristics;
28
29
30
31
32
33 public AbstractLaneBasedStrategicalPlanner(final BehavioralCharacteristics behavioralCharacteristics,
34 final LaneBasedGTU gtu)
35 {
36 super();
37 this.behavioralCharacteristics = behavioralCharacteristics;
38 this.gtu = gtu;
39 }
40
41
42 @Override
43 public final BehavioralCharacteristics getBehavioralCharacteristics()
44 {
45 return this.behavioralCharacteristics;
46 }
47
48
49 @Override
50 public final void setBehavioralCharacteristics(final BehavioralCharacteristics behavioralCharacteristics)
51 {
52 this.behavioralCharacteristics = behavioralCharacteristics;
53 }
54
55
56 @Override
57 public final LaneBasedGTU getGtu()
58 {
59 return this.gtu;
60 }
61
62 }