Class Qsys_mmck

java.lang.Object
jline.api.qsys.Qsys_mmck

public final class Qsys_mmck extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Result container for the M/M/c/K metrics.
  • Method Summary

    Modifier and Type
    Method
    Description
    qsys_mmck(double lambda, double mu, int c, int K)
    Analyzes an M/M/c/K queueing system exactly.
    qsys_mmck(double lambda, double mu, int c, int K, double[] tPoints, double[] percentiles)
    Analyzes an M/M/c/K queueing system exactly, with the FCFS waiting and sojourn time laws of an admitted arrival.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • qsys_mmck

      public static Qsys_mmck.Result qsys_mmck(double lambda, double mu, int c, int K)
      Analyzes an M/M/c/K queueing system exactly. Stationary distribution (truncated Erlang form): with a = lambda/mu and rho = a/c, p_n prop a^n/n! for n <= c and a^c/c! * rho^(n-c) for c <= n <= K, normalized over the K+1 levels.
      Parameters:
      lambda - Poisson arrival rate (> 0)
      mu - Per-server exponential service rate (> 0)
      c - Number of servers (>= 1)
      K - System capacity, total jobs allowed (K >= c)
      Returns:
      Result with mean counts, times, utilization, throughput and loss
    • qsys_mmck

      public static Qsys_mmck.Result qsys_mmck(double lambda, double mu, int c, int K, double[] tPoints, double[] percentiles)
      Analyzes an M/M/c/K queueing system exactly, with the FCFS waiting and sojourn time laws of an admitted arrival.
      Parameters:
      tPoints - time points of the waiting/sojourn cdfs, or null
      percentiles - percentiles in (0, 100) of the waiting/sojourn time, or null