Package jasima.shopSim.prioRules.basic
Class SI
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.basic.SI
-
- All Implemented Interfaces:
Serializable,Cloneable
public class SI extends PR
This rule implements a truncated version of SPT, often referred to as SI^x, see e.g. Blackstone (1982). The SI^x rule first distinguishes between jobs with positive and negative slack with the latter group receiving priority. Jobs within a group are sequenced according to SPT.- Author:
- Christoph Pickardt, 2011-11-15
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcPrio(PrioRuleTarget j)Returns the priority value ofentry.StringgetName()voidsetTieBreaker(PR tieBreaker)Sets the tie breaker rule to use.-
Methods inherited from class jasima.shopSim.core.PR
arrivesTooLate, beforeCalc, clone, getOwner, getTieBreaker, init, keepIdle, primaryRule, setFinalTieBreaker, setOwner, toString
-
-
-
-
Method Detail
-
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.
-
setTieBreaker
public void setTieBreaker(PR tieBreaker)
Description copied from class:PRSets the tie breaker rule to use.- Overrides:
setTieBreakerin classPR- Parameters:
tieBreaker- The tie-breaker to use.
-
-