Class Pfqn_oi_respt
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).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSojourn laws of the station, or the reason the theorem does not apply. -
Method Summary
Modifier and TypeMethodDescriptionstatic Pfqn_oi_respt.Resultpfqn_oi_respt(double[] lambda, ToDoubleFunction<int[]> mu) static Pfqn_oi_respt.Resultpfqn_oi_respt(double[] lambda, ToDoubleFunction<int[]> mu, double tol, int taumax, double maxstates)
-
Method Details
-
pfqn_oi_respt
-
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 vectortol- relative tolerance passed toPfqn_oi_opentaumax- per-class cutoff search limit passed toPfqn_oi_openmaxstates- macrostate budget passed toPfqn_oi_open- Returns:
- the per-class phase-type laws, or the refusal reason
-