All Superinterfaces:
Mental
All Known Implementing Classes:
ChannelFuller

public interface ChannelMental extends Mental
Interface for mental modules that implement perception channels.

Copyright (c) 2024-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ParameterTypeLength
    Distance discount.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the level of attention of a perception channel.
    Returns the perception delay belonging to a perception channel.
    void
    mapToChannel(Object obj, Object channel)
    Maps an object to a channel key.

    Methods inherited from interface org.opentrafficsim.road.gtu.lane.perception.mental.Mental

    apply
  • Field Details

  • Method Details

    • getPerceptionDelay

      Duration getPerceptionDelay(Object obj)
      Returns the perception delay belonging to a perception channel.
      Parameters:
      obj - object that is a channel key, or that is mapped to a channel key.
      Returns:
      perception delay belonging to a perception channel.
    • getAttention

      double getAttention(Object obj)
      Returns the level of attention of a perception channel.
      Parameters:
      obj - object that is a channel key, or that is mapped to a channel key.
      Returns:
      level of attention of a perception channel.
    • mapToChannel

      void mapToChannel(Object obj, Object channel)
      Maps an object to a channel key.
      Parameters:
      obj - object.
      channel - channel key.