Package jasima.shopSim.prioRules.basic
Class CR
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.basic.CR
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CR extends PR
This class implements the Critical Ratio rule and some of its variants, developed by Rose (2002), doi:10.1109/WSC.2002.1166410.- Author:
- Torsten Hildebrandt, Christoph Pickardt, 2011-11-15
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCR.Variant1static classCR.Variant2
-
Constructor Summary
Constructors Constructor Description CR()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcPrio(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:PRReturns the priority value ofentry. This method has to be overwritten by a priority rule.
-
-