Package jasima.shopSim.prioRules.basic
Class SRPTPerSLK
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.basic.SRPTPerSLK
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SRPTPerSLK extends PR
This rule implements the "remaining processing time per slack" rule. This is rule 17 (S/WKR, the smallest ratio of slack per work remaining) in Haupt (1989): "A Survey of Priority Rule-Based Scheduling".- Author:
- Torsten Hildebrandt, 2013-08-10
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SRPTPerSLK()
-
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.
-
-