Class Qsys_gg1

java.lang.Object
jline.api.qsys.Qsys_gg1

public final class Qsys_gg1 extends Object
  • Method Details

    • qsys_gg1

      public static HashMap<String,Object> qsys_gg1(double lambda, double mu, double ca2, double cs2)
      G/G/1 queue analysis (general arrivals and service).

      Uses exact methods for the special cases (M/M/1, M/G/1, G/M/1) and the Allen-Cunneen approximation for the general case. In the G/M/1 case the interarrival-time distribution is fitted from (lambda, ca2) by a two-moment renewal process (H2 with balanced means for ca2>1, mixed Erlang for ca2<1) and sigma is the root of sigma = A*(mu*(1-sigma)), with A* the interarrival-time LST.

      Parameters:
      lambda - arrival rate
      mu - service rate
      ca2 - squared coefficient of variation of inter-arrival time
      cs2 - squared coefficient of variation of service time
      Returns:
      HashMap containing L, Lq, W, Wq, p0
    • qsys_gg1

      public static HashMap<String,Object> qsys_gg1(double lambda, double mu, double ca2, double cs2, int k)
      G/G/1 with state probability for k.