Package jline.api.qsys
Class Qsys_mg1k_loss_mgs
java.lang.Object
jline.api.qsys.Qsys_mg1k_loss_mgs
-
Method Summary
Modifier and TypeMethodDescriptionqsys_mg1k_loss_mgs(double lambda, double mu, double mu_scv, int K) M/G/1/K loss probability using MacGregor Smith approximation.
-
Method Details
-
qsys_mg1k_loss_mgs
public static HashMap<String,Object> qsys_mg1k_loss_mgs(double lambda, double mu, double mu_scv, int K) M/G/1/K loss probability using MacGregor Smith approximation. Calculates the loss probability for an M/G/1/K queue using the MacGregor Smith approximation method. Reference: J. MacGregor Smith - Optimal Design and Performance Modelling of M/G/1/K Queueing Systems- Parameters:
lambda- arrival ratemu- mean service rate (1/mean service time)mu_scv- squared coefficient of variation of service timeK- system capacity (maximum number of customers)- Returns:
- HashMap containing lossprob (loss probability) and rho (utilization)
-