Package jasima.shopSim.prioRules.basic
Class MDD
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.basic.MDD
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class MDD extends PR
This class implements the Modified Due Date rule, developed by Baker and Bertrand (1982) and Baker and Kanet (1983). The rule represents a compromise between the EDD and SRPT rules.- Author:
- Christoph Pickardt, 2011-11-15
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MDD()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calcPrio(PrioRuleTarget job)
Returns the priority value ofentry
.-
Methods inherited from class jasima.shopSim.core.PR
arrivesTooLate, beforeCalc, clone, getName, getOwner, getTieBreaker, init, keepIdle, primaryRule, setFinalTieBreaker, setOwner, setTieBreaker, toString
-
-
-
-
Method Detail
-
calcPrio
public double calcPrio(PrioRuleTarget job)
Description copied from class:PR
Returns the priority value ofentry
. This method has to be overwritten by a priority rule.
-
-