Package jasima.shopSim.prioRules.setup
Class MASP
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.setup.MMS
-
- jasima.shopSim.prioRules.setup.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 Summary
Fields Modifier and Type Field Description protected Map<String,Double>sumProcTimePerFamily-
Fields inherited from class jasima.shopSim.prioRules.setup.MMS
jobsPerFamily
-
-
Constructor Summary
Constructors Constructor Description MASP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeCalc(PriorityQueue<?> q)This method is called by a queue before evaluating it's elements.doublecalcPrio(PrioRuleTarget j)Returns the priority value ofentry.doublesumFamilyProcessingTime(PrioRuleTarget j)-
Methods inherited from class jasima.shopSim.core.PR
arrivesTooLate, clone, getName, getOwner, getTieBreaker, init, keepIdle, primaryRule, setFinalTieBreaker, setOwner, setTieBreaker, toString
-
-
-
-
Method Detail
-
beforeCalc
public void beforeCalc(PriorityQueue<?> q)
Description copied from class:PRThis method is called by a queue before evaluating it's elements. Use it to do some initialization prior to calcPrio().- Overrides:
beforeCalcin classMMS- Parameters:
q- The current queue.
-
calcPrio
public double calcPrio(PrioRuleTarget j)
Description copied from class:PRReturns the priority value ofentry. This method has to be overwritten by a priority rule.
-
sumFamilyProcessingTime
public double sumFamilyProcessingTime(PrioRuleTarget j)
-
-