Class TieBreakerFASFS

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class TieBreakerFASFS
    extends PR
    This class implements a rule that sequences job in increasing order of their job number. As this attribute strongly correlates to the time of arrival, the rule operates similarly to FASFS. However, there are subtle differences between the two implementations. With the FASFS rule, jobs can have equal priorities if they arrived at exactly the same instant. Therefore, this rule is preferred as a final tie-breaker as it ensures a deterministic order.
    Author:
    Torsten Hildebrandt
    See Also:
    FASFS, Serialized Form
    • Constructor Detail

      • TieBreakerFASFS

        public TieBreakerFASFS()
    • Method Detail

      • calcPrio

        public double calcPrio​(PrioRuleTarget j)
        Description copied from class: PR
        Returns the priority value of entry. This method has to be overwritten by a priority rule.
        Specified by:
        calcPrio in class PR