Package jline.api.pfqn.nc
Class Pfqn_oi_open
java.lang.Object
jline.api.pfqn.nc.Pfqn_oi_open
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}).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMeans of the open OI station. -
Method Summary
Modifier and TypeMethodDescriptionstatic Pfqn_oi_open.Resultpfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu) static Pfqn_oi_open.Resultpfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu, double tol, int taumax, double maxstates) static Pfqn_oi_open.Resultpfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu, double tol, int taumax, double maxstates, Predicate<int[]> admissible) static Pfqn_oi_open.Resultpfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu, Predicate<int[]> admissible) Aspfqn_oi_open(double[], ToDoubleFunction, double, int, double)with default options and an admissible set.
-
Method Details
-
pfqn_oi_open
-
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 vectortol- relative tolerance of theoi.truncbranchtaumax- per-class cutoff search limitmaxstates- macrostate budget of theoi.truncbranch- Returns:
- the station means
-
pfqn_oi_open
public static Pfqn_oi_open.Result pfqn_oi_open(double[] lambda, ToDoubleFunction<int[]> mu, Predicate<int[]> admissible) Aspfqn_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 vectortol- relative tolerance of theoi.truncbranchtaumax- per-class cutoff search limitmaxstates- macrostate budget of theoi.truncbranchadmissible- 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. SeePfqn_oi_mixed.- Returns:
- the station means
-