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-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Details

    • getGtu

      LaneBasedGtu getGtu() throws GtuException
      Specified by:
      getGtu in interface Perception<LaneBasedGtu>
      Throws:
      GtuException
    • getLaneStructure

      LaneStructure getLaneStructure() throws org.opentrafficsim.base.parameters.ParameterException
      Returns:
      lane structure to perform perception
      Throws:
      org.opentrafficsim.base.parameters.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