Package jline.api.qsys
Class Qsys_mmck
java.lang.Object
jline.api.qsys.Qsys_mmck
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classResult container for the M/M/c/K metrics. -
Method Summary
Modifier and TypeMethodDescriptionstatic Qsys_mmck.Resultqsys_mmck(double lambda, double mu, int c, int K) Analyzes an M/M/c/K queueing system exactly.static Qsys_mmck.Resultqsys_mmck(double lambda, double mu, int c, int K, double[] tPoints, double[] percentiles) Analyzes an M/M/c/K queueing system exactly, with the FCFS waiting and sojourn time laws of an admitted arrival.
-
Method Details
-
qsys_mmck
Analyzes an M/M/c/K queueing system exactly. Stationary distribution (truncated Erlang form): with a = lambda/mu and rho = a/c, p_n prop a^n/n! for n <= c and a^c/c! * rho^(n-c) for c <= n <= K, normalized over the K+1 levels.- Parameters:
lambda- Poisson arrival rate (> 0)mu- Per-server exponential service rate (> 0)c- Number of servers (>= 1)K- System capacity, total jobs allowed (K >= c)- Returns:
- Result with mean counts, times, utilization, throughput and loss
-
qsys_mmck
public static Qsys_mmck.Result qsys_mmck(double lambda, double mu, int c, int K, double[] tPoints, double[] percentiles) Analyzes an M/M/c/K queueing system exactly, with the FCFS waiting and sojourn time laws of an admitted arrival.- Parameters:
tPoints- time points of the waiting/sojourn cdfs, or nullpercentiles- percentiles in (0, 100) of the waiting/sojourn time, or null
-