Class Pfqn_oi_respt

java.lang.Object
jline.api.pfqn.nc.Pfqn_oi_respt

public final class Pfqn_oi_respt extends Object
Exact per-class sojourn-time distribution at an OPEN order-independent (OI) station whose rate is that of a NESTED collaborative server pool, as a phase-type law.

Port of matlab/src/api/pfqn/pfqn_oi_respt.m. A collaborative pool (SnCompatRate) has a rate that depends only on which classes are present, mu(n) = mu(S(supp n)) with S(A) the servers compatible with some class of A. It is NESTED when any two classes have server sets that are disjoint or contained one in the other. For such a station fed by Poisson traffic (in isolation, or anywhere in an open product-form network, since an OI queue is quasi-reversible), Gardner and Righter (2020, Thm 4.5) give, for every class i,

   T_i ~ Exp(mu(S_i) - lambda(R(S_i)))
         + sum_{g : S_i strictly in S_g} Bernoulli(lambda_g / muh_g) * Exp(muh_g - lambda_g),
 
muh_g = mu(S_g) - lambda(R(S_g)) + lambda_g, all terms independent, where R(S) are the classes whose server set lies in S and classes with equal server sets are merged into one group g (served FCFS among themselves).

Everything is read off the rate function on CLASS SETS, m(A) = mu(1_A): S_j in S_i iff m({i,j}) = m({i}); S_i, S_j disjoint iff m({i,j}) = m({i}) + m({j}); the structure is then CHECKED on every class subset: m(A) must equal the sum of m over the most flexible classes of A.

Reference: K. Gardner, R. Righter, "Product forms for FCFS queueing models with arbitrary server-job compatibilities: an overview", Queueing Systems 96:3-51, 2020, Sec. 4.1 (Thm 4.5).

  • Method Details

    • pfqn_oi_respt

      public static Pfqn_oi_respt.Result pfqn_oi_respt(double[] lambda, ToDoubleFunction<int[]> mu)
    • pfqn_oi_respt

      public static Pfqn_oi_respt.Result pfqn_oi_respt(double[] lambda, ToDoubleFunction<int[]> mu, double tol, int taumax, double maxstates)
      Parameters:
      lambda - (R) class traffic offered to the station (>= 0)
      mu - rate mu(n) on the per-class count vector
      tol - relative tolerance passed to Pfqn_oi_open
      taumax - per-class cutoff search limit passed to Pfqn_oi_open
      maxstates - macrostate budget passed to Pfqn_oi_open
      Returns:
      the per-class phase-type laws, or the refusal reason