Package jline.api.qsys
Class Qsys_mmc_prio_tardiness
java.lang.Object
jline.api.qsys.Qsys_mmc_prio_tardiness
Exact stationary expected tardiness E[(T_i - d_i)^+] and tardiness
probability P(T_i > d_i) of each class of a multiclass M/M/c queue with a
common exponential service rate, FCFS within a class and static priorities
(class 1 highest), under head-of-line ("np") or preemptive-resume ("pr")
priority (Hafizoglu, Gel and Keskinocak, INFORMS J. Comput. 25(2), 2013).
A class-i order that finds all servers busy waits q+1 busy periods of an M/M/1 queue with the higher-priority rate and service rate c mu (Theorem 2); under preemption the in-service states solve the tridiagonal system of Theorem 4. Mixing over the stationary state seen on arrival gives the response-time transform f(s); tardiness and its probability are the inverses at d of (s E[T] - 1 + f(s))/s^2 and (1 - f(s))/s. Classes with no higher-priority traffic use a closed form.
Java twin of matlab/src/api/qsys/qsys_mmc_prio_tardiness.m.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPer-class results, in the order of the input rates. -
Method Summary
Modifier and TypeMethodDescriptionqsys_mmc_prio_tardiness(double[] lambda, double mu, int c, double[] d) qsys_mmc_prio_tardiness(double[] lambda, double mu, int c, double[] d, String type, String method) qsys_mmc_prio_tardiness(double[] lambda, double mu, int c, double d, String type, String method)
-
Method Details
-
qsys_mmc_prio_tardiness
public static Qsys_mmc_prio_tardiness.Result qsys_mmc_prio_tardiness(double[] lambda, double mu, int c, double[] d) -
qsys_mmc_prio_tardiness
public static Qsys_mmc_prio_tardiness.Result qsys_mmc_prio_tardiness(double[] lambda, double mu, int c, double d, String type, String method) -
qsys_mmc_prio_tardiness
public static Qsys_mmc_prio_tardiness.Result qsys_mmc_prio_tardiness(double[] lambda, double mu, int c, double[] d, String type, String method) - Parameters:
lambda- per-class arrival rates in priority order (class 1 highest)mu- common service ratec- number of serversd- one due date, or one per class; infinity means nonetype- "np" head-of-line or "pr" preemptive resumemethod- Laplace inversion method ofLaplace_invert.laplace_invert(java.util.function.UnaryOperator<org.apache.commons.math3.complex.Complex>, double, java.lang.String, int)
-