1 package org.opentrafficsim.road.gtu.lane.perception;
2
3 import org.opentrafficsim.core.gtu.GTUException;
4 import org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException;
5 import org.opentrafficsim.core.gtu.perception.Perception;
6 import org.opentrafficsim.road.gtu.lane.LaneBasedGTU;
7
8 /**
9 * Interface for perception in a lane-based model. The following information can be perceived:
10 * <p>
11 * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
12 * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
13 * </p>
14 * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
15 * initial version Jan 30, 2016 <br>
16 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
17 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
18 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
19 */
20 public interface LanePerception extends Perception
21 {
22
23 /** {@inheritDoc} */
24 @Override
25 LaneBasedGTU getGtu() throws GTUException;
26
27 /**
28 * @return lane structure to perform perception
29 * @throws ParameterException if parameter is not defined
30 */
31 LaneStructure getLaneStructure() throws ParameterException;
32
33 }