Package jasima.shopSim.prioRules.setup
Class FFCFS
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.setup.FFCFS
-
- All Implemented Interfaces:
Serializable,Cloneable
public class FFCFS extends PR
This class implements the Family First Come First Served rule, developed by Flynn (1987), which assigns highest priority to all jobs that belong to the family which includes the job that arrived first to the queue, see also Pickardt and Branke (2012).This rule should be used with another rule to distinguish jobs of the selected family.
- Author:
- Christoph Pickardt, 2011-11-15
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FFCFS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcPrio(PrioRuleTarget j)Returns the priority value ofentry.doubleearliestFamilyArrival(PrioRuleTarget j)-
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 j)
Description copied from class:PRReturns the priority value ofentry. This method has to be overwritten by a priority rule.
-
earliestFamilyArrival
public double earliestFamilyArrival(PrioRuleTarget j)
-
-