Uses of Class
org.opentrafficsim.road.gtu.lane.perception.mental.sdm.DefaultDistraction
| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.lane.perception.mental.sdm |
Package for the Stochastic Distraction Model by and in cooperation with Manuel Lindorfer (manuel.lindorfer@fh-ooe.at).
|
-
Uses of DefaultDistraction in org.opentrafficsim.road.gtu.lane.perception.mental.sdm
Methods in org.opentrafficsim.road.gtu.lane.perception.mental.sdm that return DefaultDistraction Modifier and Type Method Description static DefaultDistractionDefaultDistraction. getFromId(String id)Returns a default distraction from the id.static DefaultDistractionDefaultDistraction. valueOf(String name)Returns the enum constant of this type with the specified name.static DefaultDistraction[]DefaultDistraction. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.opentrafficsim.road.gtu.lane.perception.mental.sdm with parameters of type DefaultDistraction Modifier and Type Method Description DistractionFactoryDistractionFactory. addDistraction(DefaultDistraction defaultDistraction, double taskDemand)Adds a default distraction.DistractionFactoryDistractionFactory. addDistraction(DefaultDistraction defaultDistraction, TaskSupplier taskSupplier)Adds a default distraction.