Package jasima.shopSim.prioRules.setup
Class ATCS
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.setup.ATCS
-
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
BATCS
,BATCS.Variant1
public class ATCS extends PR
This class implements the Apparent Tardiness Costs with Setups rule, developed by Lee and Pinedo (1997). This implementation uses an operation due date computed by ODD instead of the global slack.
The class directly inherits from MaxWaitThresholdRule and the threshold value is also used to calculate queue terminals that only consider jobs which arrive before that the threshold value.
- Author:
- Christoph Pickardt, 2011-11-15, Torsten Hildebrandt
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeCalc(PriorityQueue<?> q)
Update procAvg and setupAvg before inherited method is called which in turn calls calcPrio(job).double
calcPrio(PrioRuleTarget job)
Returns the priority value ofentry
.double
getK1()
double
getK2()
String
getName()
void
setK1(double k1)
void
setK2(double k2)
-
Methods inherited from class jasima.shopSim.core.PR
arrivesTooLate, clone, getOwner, getTieBreaker, init, keepIdle, primaryRule, setFinalTieBreaker, setOwner, setTieBreaker, toString
-
-
-
-
Method Detail
-
beforeCalc
public void beforeCalc(PriorityQueue<?> q)
Update procAvg and setupAvg before inherited method is called which in turn calls calcPrio(job).- Overrides:
beforeCalc
in classPR
- Parameters:
q
- The current queue.
-
calcPrio
public double calcPrio(PrioRuleTarget job)
Description copied from class:PR
Returns the priority value ofentry
. This method has to be overwritten by a priority rule.
-
getK1
public double getK1()
-
setK1
public void setK1(double k1)
-
getK2
public double getK2()
-
setK2
public void setK2(double k2)
-
-