Class XWINQ
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.upDownStream.XWINQ
-
- All Implemented Interfaces:
Serializable,Cloneable
public class XWINQ extends PR
The class implements the Extended Least Work content In Next Queue rule, see Haupt (1989). The work content of all jobs waiting or arriving soon at the work centre which a job visits for its next operation defines the priority of a job. For its last operation, the work content in the next queue of a job is zero.The lookahead needs to be enabled in the simulation for this rule to work properly.
- Author:
- Torsten Hildebrandt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XWINQ()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcPrio(PrioRuleTarget job)Returns the priority value ofentry.static doublexwinq(PrioRuleTarget job)Computes the work in next queue of the jobs currently waiting in front of the next machine plus future jobs.-
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 job)
Description copied from class:PRReturns the priority value ofentry. This method has to be overwritten by a priority rule.
-
xwinq
public static double xwinq(PrioRuleTarget job)
Computes the work in next queue of the jobs currently waiting in front of the next machine plus future jobs.
-
-