View Javadoc
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      LaneBasedGTU getGtu() throws GTUException;
25      
26      /**
27       * @return lane structure to perform perception 
28       * @throws ParameterException if parameter is not defined 
29       */
30      LaneStructure getLaneStructure() throws ParameterException;
31      
32      /**
33       * @return state of the environment 
34       */
35      EnvironmentState getEnvironmentState();
36      
37  }