Package jasima.shopSim.prioRules.basic
Class SRPT
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.basic.SRPT
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SRPT extends PR
This class implements the Shortest Remaining Processing Time rule, which equals SPT for problems with only one work center.- Author:
- Torsten Hildebrandt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SRPT()
-
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.
-
-