Interface LanePerception
-
- All Superinterfaces:
Perception<LaneBasedGTU>
,Serializable
- All Known Implementing Classes:
AbstractLanePerception
,CategoricalLanePerception
public interface LanePerception extends Perception<LaneBasedGTU>
Interface for perception in a lane-based model. The following information can be perceived:Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Jan 30, 2016
BSD-style license. See OpenTrafficSim License.- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaneBasedGTU
getGtu()
LaneStructure
getLaneStructure()
Mental
getMental()
Returns the mental module of perception.-
Methods inherited from interface org.opentrafficsim.core.gtu.perception.Perception
addPerceptionCategory, contains, getPerceptionCategory, getPerceptionCategoryOrNull, perceive, removePerceptionCategory
-
-
-
-
Method Detail
-
getGtu
LaneBasedGTU getGtu() throws GTUException
- Specified by:
getGtu
in interfacePerception<LaneBasedGTU>
- Throws:
GTUException
-
getLaneStructure
LaneStructure getLaneStructure() throws ParameterException
- Returns:
- lane structure to perform perception
- Throws:
ParameterException
- if parameter is not defined
-
getMental
Mental getMental()
Returns the mental module of perception.- Returns:
- Mental; mental module of perception, may be
null
if not used
-
-