Package jline.api.qsys
Class Qsys_mmkKt
-
- All Implemented Interfaces:
public final class Qsys_mmkKt
-
-
Method Summary
Modifier and Type Method Description final static Ret.qsys
qsys_mmk(Double lambda, Double mu, Integer k)
Analyzes an M/M/k queueing system. final static Double
ErlangC(Double nu, Integer C)
Calculates the probability that an arriving customer is forced to join the queue (i.e., all servers are occupied) in an M/M/k system. -
-
Method Detail
-
qsys_mmk
final static Ret.qsys qsys_mmk(Double lambda, Double mu, Integer k)
Analyzes an M/M/k queueing system.
- Parameters:
lambda
- Arrival rate.mu
- Service rate.k
- Number of servers.- Returns:
qsysReturn containing average waiting time (W) and utilization (rho).
-
ErlangC
final static Double ErlangC(Double nu, Integer C)
Calculates the probability that an arriving customer is forced to join the queue (i.e., all servers are occupied) in an M/M/k system.
- Parameters:
nu
- Utilization.C
- The number of servers.- Returns:
Probability that an arriving customer is forced to join the queue.
-
-
-
-