Class AbstractTask

    • Constructor Detail

      • AbstractTask

        public AbstractTask​(String id)
        Constructor.
        Parameters:
        id - String; id
    • Method Detail

      • setTaskDemand

        public final void setTaskDemand​(double taskDemand)
        Sets (gross) task demand.
        Specified by:
        setTaskDemand in interface Task
        Parameters:
        taskDemand - double; set task demand
      • getTaskDemand

        public final double getTaskDemand()
        Returns the gross demand of this task, i.e without considering anticipation reliance.
        Specified by:
        getTaskDemand in interface Task
        Returns:
        double; gross demand of this task, i.e. without considering anticipation reliance
      • setAnticipationReliance

        public final void setAnticipationReliance​(double anticipationReliance)
        Set anticipation reliance.
        Specified by:
        setAnticipationReliance in interface Task
        Parameters:
        anticipationReliance - double; set anticipation reliance
      • getAnticipationReliance

        public final double getAnticipationReliance()
        Returns the level of anticipation reliance.
        Specified by:
        getAnticipationReliance in interface Task
        Returns:
        double; anticipation reliance