public static class TaskSupplier.Constant extends Object implements TaskSupplier
TaskSupplier.Constant| Constructor and Description |
|---|
Constant(String id,
double taskDemand)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Task |
getTask(LaneBasedGTU gtu)
Returns a task for the given GTU.
|
public Constant(String id, double taskDemand)
id - String; idtaskDemand - double; task demandpublic Task getTask(LaneBasedGTU gtu)
getTask in interface TaskSuppliergtu - LaneBasedGTU; gtuCopyright © 2014–2019 Delft University of Technology. All rights reserved.