Class ChannelTaskRoadSideDistraction

java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.AbstractTask
org.opentrafficsim.road.gtu.lane.perception.mental.channel.ChannelTaskRoadSideDistraction
All Implemented Interfaces:
Identifiable, ChannelTask, Task

public class ChannelTaskRoadSideDistraction extends AbstractTask implements ChannelTask
Channel implementation of task due to road side distraction.

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

Author:
Wouter Schakel
  • Constructor Details

    • ChannelTaskRoadSideDistraction

      public ChannelTaskRoadSideDistraction(DistractionField distractionField, LateralDirectionality direction)
      Constructor. This task applies to a subset of distractions depending on the direction:
      • LEFT: distractions on left lanes with NONE direction, and distractions on current lane with LEFT direction
      • RIGHT: distractions on right lanes with NONE direction, and distractions on current lane with RIGHT direction
      • NONE: distractions on current lane with NONE direction
      Parameters:
      distractionField - distraction field, which should be shared amongst instances
      direction - direction of applicable distractions
  • Method Details