Class StochasticDistractionModel

java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.sdm.StochasticDistractionModel
All Implemented Interfaces:
EventListener, nl.tudelft.simulation.event.EventListenerInterface

public class StochasticDistractionModel
extends Object
implements nl.tudelft.simulation.event.EventListenerInterface
Stochastic Distraction Model by Manuel Lindorfer.

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

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version 28 jun. 2018
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

    • StochasticDistractionModel

      public StochasticDistractionModel​(boolean allowMultiTasking, List<Distraction> distractions, DEVSSimulatorInterface.TimeDoubleUnit simulator, OTSRoadNetwork network)
      Constructor. This model will react to GTU's being created in simulation and apply distractions.
      Parameters:
      allowMultiTasking - boolean; whether to allow multi-tasking
      distractions - List<Distraction>; list of distractions
      simulator - DEVSSimulatorInterface.TimeDoubleUnit; simulator
      network - OTSRoadNetwork; network
  • Method Details