Class MASP

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class MASP
    extends MMS
    This class implements the Minimum Average Setup plus Processing time rule, developed by Russell and Philipoom (1991), which assigns highest priority to all jobs that belong to the family with the shortest processing time per job, see also Pickardt and Branke (2012).

    This rule should be used with another rule to distinguish jobs of the selected family.

    Author:
    Christoph Pickardt, 2011-11-15
    See Also:
    Serialized Form
    • Field Detail

      • sumProcTimePerFamily

        protected Map<String,​Double> sumProcTimePerFamily
    • Constructor Detail

      • MASP

        public MASP()
    • 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 MMS
        Parameters:
        q - The current queue.
      • calcPrio

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

        public double sumFamilyProcessingTime​(PrioRuleTarget j)