Class Qsys_mxm1Kt
-
- All Implemented Interfaces:
public final class Qsys_mxm1Kt
-
-
Method Summary
Modifier and Type Method Description final static Ret.qsysqsys_mxm1(Double lambdaBatch, Double mu, Double meanBatchSize, Double secondMomentBatchSize)Analyzes an MX/M/1 queueing system using batch arrival moments. final static Ret.qsysqsys_mxm1(Double lambdaBatch, Double mu, IntArray batchSizes, DoubleArray pmf)Analyzes an MX/M/1 queueing system using batch sizes and PMF. final static Ret.qsysqsys_mxm1_var(Double lambdaBatch, Double mu, Double meanBatchSize, Double varianceBatchSize)Analyzes an MX/M/1 queueing system using mean and variance of batch size. -
-
Method Detail
-
qsys_mxm1
final static Ret.qsys qsys_mxm1(Double lambdaBatch, Double mu, Double meanBatchSize, Double secondMomentBatchSize)
Analyzes an MX/M/1 queueing system using batch arrival moments.
Uses the correct MX/M/1 formula that accounts for both queueing delay and internal batch delay (jobs within the same batch wait for each other):
Effective arrival rate: λ = λ_b * EX
Utilization: ρ = λ / μ
Mean waiting time in queue: W_q = ρ/(μ(1-ρ)) + (EX² - EX)/(2μE1-ρ) \_________/ \__________________________/ M/M/1 term Internal batch delay
Mean time in system: W = W_q + 1/μ
- Parameters:
lambdaBatch- Batch arrival rate (λ_b)mu- Service ratemeanBatchSize- Mean batch size EXsecondMomentBatchSize- Second moment of batch size EX²- Returns:
qsys containing average time in system (W) and utilization (rho)
-
qsys_mxm1
final static Ret.qsys qsys_mxm1(Double lambdaBatch, Double mu, IntArray batchSizes, DoubleArray pmf)
Analyzes an MX/M/1 queueing system using batch sizes and PMF.
- Parameters:
lambdaBatch- Batch arrival rate (λ_b)mu- Service ratebatchSizes- Array of possible batch sizespmf- Probability mass function for batch sizes (will be normalized)- Returns:
qsys containing average time in system (W) and utilization (rho)
-
qsys_mxm1_var
final static Ret.qsys qsys_mxm1_var(Double lambdaBatch, Double mu, Double meanBatchSize, Double varianceBatchSize)
Analyzes an MX/M/1 queueing system using mean and variance of batch size.
- Parameters:
lambdaBatch- Batch arrival rate (λ_b)mu- Service ratemeanBatchSize- Mean batch size EXvarianceBatchSize- Variance of batch size Var(X)- Returns:
qsys containing average time in system (W) and utilization (rho)
-
-
-
-