Interface ChannelMental
- All Superinterfaces:
Mental
- All Known Implementing Classes:
ChannelFuller
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 -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAttention(Object obj) Returns the level of attention of a perception channel.getPerceptionDelay(Object obj) Returns the perception delay belonging to a perception channel.voidmapToChannel(Object obj, Object channel) Maps an object to a channel key.
-
Field Details
-
X0_D
Distance discount.
-
-
Method Details
-
getPerceptionDelay
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
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
Maps an object to a channel key.- Parameters:
obj- object.channel- channel key.
-