1 package org.opentrafficsim.road.gtu.perception.mental.ar;
2
3 import org.opentrafficsim.road.gtu.perception.mental.AbstractTask;
4
5
6
7
8
9
10
11
12
13
14
15 public abstract class AbstractArTask extends AbstractTask implements ArTask
16 {
17
18
19 private double anticipationReliance;
20
21
22
23
24
25 public AbstractArTask(final String id)
26 {
27 super(id);
28 }
29
30 @Override
31 public void setAnticipationReliance(final double anticipationReliance)
32 {
33 this.anticipationReliance = anticipationReliance;
34 }
35
36 @Override
37 public double getAnticipationReliance()
38 {
39 return this.anticipationReliance;
40 }
41
42 @Override
43 public String toString()
44 {
45 return "ArTask (" + getId() + ")";
46 }
47 }