Package org.jacop.ui

Class PrintSchedule


  • public class PrintSchedule
    extends java.lang.Object
    Prints the computed schedule
    Version:
    4.8
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int[] d  
      (package private) java.util.List<java.lang.String> n  
      (package private) IntVar[] r  
      (package private) IntVar[] t  
    • Constructor Summary

      Constructors 
      Constructor Description
      PrintSchedule​(java.lang.String[] name, IntVar[] t, int[] d, IntVar[] r)
      It constructs PrintSchedule object.
      PrintSchedule​(java.lang.String[] name, IntVar[] t, IntVar[] d, IntVar[] r)
      It constructs PrintSchedule object.
      PrintSchedule​(java.util.List<java.lang.String> name, java.util.List<? extends IntVar> t, int[] d, java.util.List<? extends IntVar> r)
      It constructs PrintSchedule object.
      PrintSchedule​(java.util.List<java.lang.String> name, java.util.List<? extends IntVar> t, java.util.List<java.lang.Integer> d, java.util.List<? extends IntVar> r)
      It constructs PrintSchedule object.
      PrintSchedule​(java.util.List<java.lang.String> name, IntVar[] t, int[] d, IntVar[] r)
      It constructs PrintSchedule object.
      PrintSchedule​(java.util.List<java.lang.String> name, IntVar[] t, IntVar[] d, IntVar[] r)
      It constructs PrintSchedule object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) int findMaxR()  
      (package private) int findMaxT()  
      (package private) int findMinR()  
      (package private) java.lang.String tab​(int i)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • d

        int[] d
      • n

        java.util.List<java.lang.String> n
    • Constructor Detail

      • PrintSchedule

        public PrintSchedule​(java.lang.String[] name,
                             IntVar[] t,
                             int[] d,
                             IntVar[] r)
        It constructs PrintSchedule object.
        Parameters:
        name - name of the operations.
        t - start time of the operations.
        d - duration time of the operations.
        r - resource usage of the operations.
      • PrintSchedule

        public PrintSchedule​(java.lang.String[] name,
                             IntVar[] t,
                             IntVar[] d,
                             IntVar[] r)
        It constructs PrintSchedule object.
        Parameters:
        name - name of the operations.
        t - start time of the operations.
        d - duration time of the operations.
        r - resource usage of the operations.
      • PrintSchedule

        public PrintSchedule​(java.util.List<java.lang.String> name,
                             java.util.List<? extends IntVar> t,
                             java.util.List<java.lang.Integer> d,
                             java.util.List<? extends IntVar> r)
        It constructs PrintSchedule object.
        Parameters:
        name - name of the operations.
        t - start time of the operations.
        d - duration time of the operations.
        r - resource usage of the operations.
      • PrintSchedule

        public PrintSchedule​(java.util.List<java.lang.String> name,
                             java.util.List<? extends IntVar> t,
                             int[] d,
                             java.util.List<? extends IntVar> r)
        It constructs PrintSchedule object.
        Parameters:
        name - name of the operations.
        t - start time of the operations.
        d - duration time of the operations.
        r - resource usage of the operations.
      • PrintSchedule

        public PrintSchedule​(java.util.List<java.lang.String> name,
                             IntVar[] t,
                             int[] d,
                             IntVar[] r)
        It constructs PrintSchedule object.
        Parameters:
        name - name of the operations.
        t - start time of the operations.
        d - duration time of the operations.
        r - resource usage of the operations.
      • PrintSchedule

        public PrintSchedule​(java.util.List<java.lang.String> name,
                             IntVar[] t,
                             IntVar[] d,
                             IntVar[] r)
        It constructs PrintSchedule object.
        Parameters:
        name - name of the operations.
        t - start time of the operations.
        d - duration time of the operations.
        r - resource usage of the operations.
    • Method Detail

      • findMaxR

        int findMaxR()
      • findMaxT

        int findMaxT()
      • findMinR

        int findMinR()
      • tab

        java.lang.String tab​(int i)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object