Package jline.api.qsys
Class Qsys_mg1_lrptKt
-
- All Implemented Interfaces:
public final class Qsys_mg1_lrptKt
-
-
Method Summary
Modifier and Type Method Description final static Ret.qsys_prioqsys_mg1_lrpt(Matrix lambda, Matrix mu, Matrix cs)Analyzes an M/G/1 queueing system with LRPT (Longest Remaining Processing Time) scheduling. -
-
Method Detail
-
qsys_mg1_lrpt
final static Ret.qsys_prio qsys_mg1_lrpt(Matrix lambda, Matrix mu, Matrix cs)
Analyzes an M/G/1 queueing system with LRPT (Longest Remaining Processing Time) scheduling.
Under LRPT, jobs with the longest remaining processing time share the processor evenly. This prioritizes large jobs over small jobs.
- Parameters:
lambda- Matrix (column vector) of arrival rates per class.mu- Matrix (column vector) of service rates per class.cs- Matrix (column vector) of coefficients of variation per class.- Returns:
qsys_prio containing:
W (Matrix): Vector of mean response times per class
rho (Double): Overall system utilization
-
-
-
-