1
2
3
4
5
6
7
8
9
10
11 package nl.tudelft.simulation.traffic.controlpoint.real;
12
13 import nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface;
14
15 /***
16 * This interface is used to signify that the implementing class can be seen by
17 * the VehicleControl. A vehicleControl bases his behavior on the objects it can
18 * see. The only objects a vehicleControl can see, are instances of a class that
19 * implements the VisibleControlPointInterface. If a class does not implement
20 * this interface, then it won't be seen by a vehicleControl, hence a
21 * vehicleControl will not base it's behavior on it. <br>
22 */
23 public interface VisibleControlPointInterface extends ControlPointInterface
24 {
25 /***
26 * The visibleDistance parameter defines the distance from which the
27 * ControlPoint becomes visible. This distance is defined along the
28 * infrastructure, in the opposite direction for which the visible defines a
29 * rule.
30 *
31 * @return the visible distance
32 */
33 public double getVisibleDistance();
34 }