Package jline.api.qsys
Class Qsys_mm1
java.lang.Object
jline.api.qsys.Qsys_mm1
M/M/1 queueing system analysis.
Implements exact analytical solutions for the M/M/1 queue (Poisson arrivals, exponential service times, single server). This fundamental queueing model provides closed-form expressions for key performance metrics used in capacity planning and system design.
- Since:
- LINE 3.0
-
Method Details
-
qsys_mm1
Analyzes an M/M/1 queueing system.- Parameters:
lambda- Arrival rate.mu- Service rate.- Returns:
- qsysReturn containing average waiting time (W) and utilization (rho).
-
qsys_mm1
public static Map<String,Object> qsys_mm1(double lambda, double mu, double[] tPoints, double[] percentiles, Integer nmax) Full M/M/1 measures (the MATLAB third output res of qsys_mm1).- Parameters:
tPoints- time points of the waiting/sojourn cdfs and busy-period pdf, or nullpercentiles- percentiles of the waiting/sojourn time, or nullnmax- last level of queueLengthDist, or null (tail below 1e-14)- Returns:
- the res struct, with the MATLAB field names
-