Class Task


  • public class Task
    extends Object
    Container representing a task: It ensures that: start + duration = end
    Since:
    04/02/2013
    Author:
    Jean-Guillaume Fages
    • Constructor Detail

      • Task

        public Task​(Model model,
                    int est,
                    int lst,
                    int d,
                    int ect,
                    int lct)
        Container representing a task: It ensures that: start + duration = end, end being an offset view of start + duration.
        Parameters:
        model - the Model of the variables
        est - earliest starting time
        lst - latest starting time
        d - duration
        ect - earliest completion time
        lct - latest completion time time
      • Task

        public Task​(IntVar s,
                    int d)
        Container representing a task: It ensures that: start + duration = end, end being an offset view of start + duration.
        Parameters:
        s - start variable
        d - duration value
      • Task

        public Task​(IntVar s,
                    int d,
                    IntVar e)
        Container representing a task: It ensures that: start + duration = end, end being an offset view of start + duration.
        Parameters:
        s - start variable
        d - duration value
        e - end variable
      • Task

        public Task​(IntVar s,
                    IntVar d,
                    IntVar e)
        Container representing a task: It ensures that: start + duration = end
        Parameters:
        s - start variable
        d - duration variable
        e - end variable