Class TaskSupplier.Constant
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.sdm.TaskSupplier.Constant
- All Implemented Interfaces:
TaskSupplier
- Enclosing interface:
- TaskSupplier
Class that supplies a constant task.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opentrafficsim.road.gtu.lane.perception.mental.sdm.TaskSupplier
TaskSupplier.Constant -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Constant
Constructor.- Parameters:
id- idtaskDemand- task demand
-
-
Method Details
-
getTask
Description copied from interface:TaskSupplierReturns a task for the given GTU.- Specified by:
getTaskin interfaceTaskSupplier- Parameters:
gtu- gtu- Returns:
- task for given GTU
-