Package jline.api.qsys
Class Qsys_mmckk
java.lang.Object
jline.api.qsys.Qsys_mmckk
Exact M/M/c/K/K finite-source (machine repair) queue: K sources, each
operating for an Exp(alpha) time before requesting an Exp(mu) service at one
of c servers, FCFS. Birth-death chain in log space; the waiting time of an
arrival is a mixture of Erlang laws of rate c mu weighted by the arrival
distribution Pi_n = (K - n) p_n / (K - L).
Java twin of matlab/src/api/qsys/qsys_mmckk.m.
-
Method Summary
Modifier and TypeMethodDescriptionqsys_mmckk(double alpha, double mu, int c, int K) qsys_mmckk(double alpha, double mu, int c, int K, double[] tPoints, double[] percentiles)
-
Method Details
-
qsys_mmckk
-
qsys_mmckk
public static Map<String,Object> qsys_mmckk(double alpha, double mu, int c, int K, double[] tPoints, double[] percentiles) - Parameters:
alpha- operating (think) rate of one sourcemu- service rate of one serverc- number of serversK- number of sources, K >= ctPoints- time points for the waiting/sojourn cdfs, or nullpercentiles- percentiles in (0, 100) of the waiting/sojourn time, or null- Returns:
- the result struct (same field names as MATLAB)
-