Class LW
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.weighted.LW
-
- All Implemented Interfaces:
Serializable,Cloneable
public class LW extends PR
This class implements the Largest Weight rule, where different weights express different levels of importance of jobs.- Author:
- Christoph Pickardt, 2010-03-16
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LW()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcPrio(PrioRuleTarget t)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 t)
Description copied from class:PRReturns the priority value ofentry. This method has to be overwritten by a priority rule.
-
-