Class ATC

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class ATC
    extends PR
    This class implements the Apparent Tardiness Costs rule by Vepsalainen and Morton (1987).
    Author:
    Torsten Hildebrandt
    See Also:
    Serialized Form
    • Field Detail

      • slackNorm

        protected double slackNorm
    • Constructor Detail

      • ATC

        public ATC()
      • ATC

        public ATC​(double k)
    • Method Detail

      • beforeCalc

        public void beforeCalc​(PriorityQueue<?> q)
        Update procAvg and setupAvg before inherited method is called which in turn calls calcPrio(job).
        Overrides:
        beforeCalc in class PR
        Parameters:
        q - The current queue.
      • calcPrio

        public double calcPrio​(PrioRuleTarget job)
        Description copied from class: PR
        Returns the priority value of entry. This method has to be overwritten by a priority rule.
        Specified by:
        calcPrio in class PR
      • getK

        public double getK()
      • setK

        public void setK​(double k)