Class SNSPT

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class SNSPT
    extends PR
    This class implements the Shortest Normalized Setup and Processing Time rule, see Pickardt and Branke (2012).
    Author:
    Christoph Pickardt, 2011-11-15
    See Also:
    Serialized Form
    • Field Detail

      • setupMatrix

        protected double[][] setupMatrix
      • procNorm

        protected double procNorm
      • setupNorm

        protected double setupNorm
    • Constructor Detail

      • SNSPT

        public SNSPT()
    • Method Detail

      • beforeCalc

        public void beforeCalc​(PriorityQueue<?> q)
        Description copied from class: PR
        This method is called by a queue before evaluating it's elements. Use it to do some initialization prior to calcPrio().
        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