Package jasima.shopSim.prioRules.setup
Class MMS
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.setup.MMS
-
- All Implemented Interfaces:
Serializable,Cloneable
public class MMS extends PR
This class implements the Minimum Marginal Setup time rule, developed by Arzi and Raviv (1998), which assigns highest priority to all jobs that belong to the family with the shortest setup 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
-
-
Constructor Summary
Constructors Constructor Description MMS()
-
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.-
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 classPR- 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.
-
-