Package jasima.shopSim.prioRules.batch
Class MaxBatchSize
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.batch.MaxBatchSize
-
- All Implemented Interfaces:
Serializable,Cloneable
public class MaxBatchSize extends PR
This class implements the Largest Relative Batch rule, which chooses the batch that uses most of the available capacity of the machine.- Author:
- Christoph Pickardt, 2011-11-14
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxBatchSize()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcPrio(PrioRuleTarget b)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 b)
Description copied from class:PRReturns the priority value ofentry. This method has to be overwritten by a priority rule.
-
-