Class Qsys_mg1_sjf

java.lang.Object
jline.api.qsys.Qsys_mg1_sjf

public final class Qsys_mg1_sjf extends Object
Exact M/G/1 queue with non-preemptive shortest-job-first scheduling (Phipps 1956): a job of size x waits W(x) = (lambda E[S^2] / 2) / (1 - rho(x))^2, rho(x) = lambda int_0^x t dF(t), and the class waiting time is W(x) averaged over its size law. Each class size law is the two-moment fit (exponential, balanced H2 or Erlang mixture) of its mean 1/mu and scv cs^2; the integrals use the trapezoid rule on a fine grid.

Java twin of matlab/src/api/qsys/qsys_mg1_sjf.m.

  • Method Details

    • qsys_mg1_sjf

      public static QsysPrioRes qsys_mg1_sjf(double[] lambda, double[] mu, double[] cs)