Class Pfqn_oi_open

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

public final class Pfqn_oi_open extends Object
Exact steady-state means of an OPEN order-independent (OI) station fed by Poisson traffic.

Port of matlab/src/api/pfqn/pfqn_oi_open.m. An OI queue is quasi-reversible (Berezner, Kriel and Krzesinski 1995, Thm 1), so in an open network of OI and BCMP stations each OI station has the isolated product-form marginal

   pi(n) = P0 * Phi(n) * prod_r lambda_r^{n_r},
   Phi(0) = 1,  Phi(n) = (1/mu(n)) sum_{r: n_r>0} Phi(n - e_r),
 
with lambda_r the class-r traffic offered to the station. The infinite sum P0 = 1/sum_n Phi(n) lambda^n is evaluated exactly by the saturation recursion of Pfqn_oi_mixed (the open station is its table with no closed class: a one-point lattice) whenever the rate saturates, and by the doubling-cutoff oi.trunc branch otherwise. With unit cutoffs the recursion is the class-subset recursion of Bonald, Comte and Mathieu (2017), G(A)(mu(A) - lambda(A)) = sum_{i in A} lambda_i G(A \ {i}).
  • Method Details

    • pfqn_oi_open

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

      public static Pfqn_oi_open.Result pfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu, double tol, int taumax, double maxstates)
      Parameters:
      lambda - (R) class traffic offered to the station (>= 0)
      mu - permutation-invariant total rate mu(n) on the per-class count vector
      tol - relative tolerance of the oi.trunc branch
      taumax - per-class cutoff search limit
      maxstates - macrostate budget of the oi.trunc branch
      Returns:
      the station means
    • pfqn_oi_open

      public static Pfqn_oi_open.Result pfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu, Predicate<int[]> admissible)
      As pfqn_oi_open(double[], ToDoubleFunction, double, int, double) with default options and an admissible set.
    • pfqn_oi_open

      public static Pfqn_oi_open.Result pfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu, double tol, int taumax, double maxstates, Predicate<int[]> admissible)
      Parameters:
      lambda - (R) class traffic offered to the station (>= 0)
      mu - permutation-invariant total rate mu(n) on the per-class count vector
      tol - relative tolerance of the oi.trunc branch
      taumax - per-class cutoff search limit
      maxstates - macrostate budget of the oi.trunc branch
      admissible - admissible(n) on the per-class count vector, or null. When given, the station holds only the states with admissible(n) true and an arrival that would leave the set is lost (an OI loss queue). The set must contain 0 and be closed under removing a job; the law is the unrestricted one renormalized over it. Example: the FCFM non-bipartite matching model (Comte 2022) is mu(n) = lambda(N(supp n)) with admissible(n) true when supp n is an independent set of the compatibility graph. See Pfqn_oi_mixed.
      Returns:
      the station means