Class Qsys_mg1kk

java.lang.Object
jline.api.qsys.Qsys_mg1kk

public final class Qsys_mg1kk extends Object
Exact M/G/1/K/K finite-source queue (Takacs 1962): K sources with Exp(alpha) operating times and one FCFS server with a general service law. The idle probability P0 is Takacs' closed form in the LST values B*(k alpha); the queue-length distribution comes from the chain embedded at departures, whose transition probabilities are alternating sums of the same LST values.

Java twin of matlab/src/api/qsys/qsys_mg1kk.m.

  • Method Details

    • qsys_mg1kk

      public static Map<String,Object> qsys_mg1kk(double alpha, int K, Distribution svc)
      Service law given as a Distribution.
    • qsys_mg1kk

      public static Map<String,Object> qsys_mg1kk(double alpha, int K, DoubleUnaryOperator lst, double ES)
      Service law given by its LST and mean ES.
    • qsys_mg1kk

      public static Map<String,Object> qsys_mg1kk(double alpha, int K, DoubleUnaryOperator lst, double ES, boolean meansOnly)
      Service law given by its LST and mean ES; with meansOnly the departure-epoch chain is skipped. The means are the Takacs sum and never read it, so a caller wanting only them (the MVA finite-source analyzer) pays O(K) rather than O(K^3) and gets no accuracy warning; queueLengthDist, arrivalDist and varQueueLength are then NaN, as when the chain is withdrawn.