Class TaskSupplier.Constant

    • Constructor Detail

      • Constant

        public Constant​(String id,
                        double taskDemand)
        Constructor.
        Parameters:
        id - String; id
        taskDemand - double; task demand
    • Method Detail

      • getTask

        public Task getTask​(LaneBasedGTU gtu)
        Returns a task for the given GTU.
        Specified by:
        getTask in interface TaskSupplier
        Parameters:
        gtu - LaneBasedGTU; gtu
        Returns:
        Task; task for given GTU