Package jasima.shopSim.prioRules.basic
Class FCFS
- java.lang.Object
-
- jasima.shopSim.core.PR
-
- jasima.shopSim.prioRules.basic.FCFS
-
- All Implemented Interfaces:
Serializable,Cloneable
public class FCFS extends PR
This class implements the First Come First Served rule, also known as FIFO (First In (buffer) First Out).- Author:
- Christoph Pickardt, 2011-11-16
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FCFS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecalcPrio(PrioRuleTarget j)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 j)
Description copied from class:PRReturns the priority value ofentry. This method has to be overwritten by a priority rule.
-
-