Package jasima.shopSim.prioRules.meta
Class LookaheadThreshold
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.meta.LookaheadThreshold
-
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
AdaptiveLAThreshold,FixedLAThreshold
public abstract class LookaheadThreshold extends PR
This class implements a method to distinguish lookahead jobs that arrive later than a given threshold value.- Author:
- Christoph Pickardt, 2011-11-15
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LookaheadThreshold()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanarrivesTooLate(PrioRuleTarget prt)booleanarrivesTooLate(PrioRuleTarget prt, double maxWait)doublecalcPrio(PrioRuleTarget t)Returns the priority value ofentry.-
Methods inherited from class jasima.shopSim.core.PR
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.
-
arrivesTooLate
public abstract boolean arrivesTooLate(PrioRuleTarget prt)
- Overrides:
arrivesTooLatein classPR
-
arrivesTooLate
public boolean arrivesTooLate(PrioRuleTarget prt, double maxWait)
-
-