Class Qsys_oi_loss

java.lang.Object
jline.api.qsys.Qsys_oi_loss

public final class Qsys_oi_loss extends Object
Exact steady state of an order-independent (OI) LOSS queue.

Port of matlab/src/api/qsys/qsys_oi_loss.m. Poisson arrivals of R classes at rates lambda, a permutation-invariant total service rate mu(n) of the per-class count vector, at most K jobs in total and at most Kr[r] of class r; an arrival that would breach a limit is lost.

Truncating an OI queue destroys quasi-reversibility but not the product form of the truncated chain: the stationary law is the unrestricted OI law renormalized over the admissible set A = {n : sum(n) <= K, n <= Kr} (Berezner, Kriel, Krzesinski 1995, Sec. 6, total limit; Berezner and Krzesinski 1996, per-type limits). With g(n) = Phi(n) prod_r lambda_r^{n_r},

   g(0) = 1,  g(n) = (1/mu(n)) sum_{r: n_r>0} lambda_r g(n - e_r),  n in A,
 
and by PASTA the class-r blocking probability is B_r = P(sum(n) = K or n_r = Kr[r]). The queue is exact only IN ISOLATION: a loss OI queue is not quasi-reversible, so it does not compose into a product-form network.
  • Method Details

    • qsys_oi_loss

      public static Qsys_oi_loss.Result qsys_oi_loss(double[] lambda, ToDoubleFunction<int[]> mu, double K)
      Total limit only (no per-class limits).
    • qsys_oi_loss

      public static Qsys_oi_loss.Result qsys_oi_loss(double[] lambda, ToDoubleFunction<int[]> mu, double K, double[] Kr)
      Parameters:
      lambda - (R) arrival rates (>= 0)
      mu - total rate mu(n) on the per-class count vector
      K - total limit (infinite for none)
      Kr - (R) per-class limits (infinite for none); null for none. At least one limit must make A finite for every class with lambda_r > 0.
      Returns:
      the loss-queue measures