Package jline.api.qsys
Class Qsys_gig1_approx_myskja
java.lang.Object
jline.api.qsys.Qsys_gig1_approx_myskja
-
Method Summary
Modifier and TypeMethodDescriptionqsys_gig1_approx_myskja(double lambda, double mu, double ca, double cs, double q0, double qa) G/G/1 queue approximation using Myskja's third-moment method: Wq = rho/(2*mu*(1-rho))*((1+cs2)+(q0/qa)^(1/rho-rho)*(1/rho)*(ca2-1)), exact for M/G/1 (ca2=1).
-
Method Details
-
qsys_gig1_approx_myskja
public static HashMap<String,Object> qsys_gig1_approx_myskja(double lambda, double mu, double ca, double cs, double q0, double qa) G/G/1 queue approximation using Myskja's third-moment method: Wq = rho/(2*mu*(1-rho))*((1+cs2)+(q0/qa)^(1/rho-rho)*(1/rho)*(ca2-1)), exact for M/G/1 (ca2=1). The returned W adds the mean service time (response time, time in system).- Parameters:
lambda- arrival ratemu- service rateca- squared coefficient of variation of inter-arrival timecs- squared coefficient of variation of service timeq0- lowest value of the relative third moment for a given mean and SCVqa- third relative moment E[X^3]/6/E[X]^3, X=inter-arrival time r.v.- Returns:
- HashMap containing W (mean response time) and rhohat
-