Package jline.api.qsys
Class Qsys_mer1
java.lang.Object
jline.api.qsys.Qsys_mer1
Exact M/E_r/1 queue by the method of phases: the number of phases in the
system has p_n = sum_k c_k x_k^n, where x_1..x_r are the roots inside the
unit disk of mu x^(r+1) - (lambda + mu) x^r + lambda = 0 and
c_k = (1 - rho) / prod_{j != k} (1 - x_j / x_k). Waiting and sojourn time
laws follow from the same roots.
Java twin of matlab/src/api/qsys/qsys_mer1.m. The fields
"roots" and "coeffs" hold Complex[] arrays.
-
Method Summary
-
Method Details
-
qsys_mer1
-
qsys_mer1
public static Map<String,Object> qsys_mer1(double lambda, double mu, int r, double[] tPoints, double[] percentiles, Integer nmax) - Parameters:
tPoints- time points of the waiting/sojourn cdfs, or nullpercentiles- percentiles in (0, 100) of W and T, or nullnmax- last level of queueLengthDist, or null (tail below 1e-14)
-