Class Qsys_mmk

java.lang.Object
jline.api.qsys.Qsys_mmk

public final class Qsys_mmk extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    ErlangC(double nu, int C)
    Calculates the probability that an arriving customer is forced to join the queue (i.e., all servers are occupied) in an M/M/k system.
    static Ret.qsys
    qsys_mmk(double lambda, double mu, int k)
    Analyzes an M/M/k queueing system.
    static Map<String,Object>
    qsys_mmk(double lambda, double mu, int k, double[] tPoints, double[] percentiles, Integer nmax)
    Full M/M/k measures (the MATLAB third output res of qsys_mmk).

    Methods inherited from class java.lang.Object

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

    • qsys_mmk

      public static Ret.qsys qsys_mmk(double lambda, double mu, int k)
      Analyzes an M/M/k queueing system.
      Parameters:
      lambda - Arrival rate.
      mu - Service rate.
      k - Number of servers.
      Returns:
      qsysReturn containing average waiting time (W) and utilization (rho).
    • qsys_mmk

      public static Map<String,Object> qsys_mmk(double lambda, double mu, int k, double[] tPoints, double[] percentiles, Integer nmax)
      Full M/M/k measures (the MATLAB third output res of qsys_mmk).
      Parameters:
      tPoints - time points of the waiting/sojourn cdfs, or null
      percentiles - percentiles of the waiting/sojourn time, or null
      nmax - last level of queueLengthDist, or null (tail below 1e-14)
      Returns:
      the res struct, with the MATLAB field names
    • ErlangC

      public static double ErlangC(double nu, int C)
      Calculates the probability that an arriving customer is forced to join the queue (i.e., all servers are occupied) in an M/M/k system.
      Parameters:
      nu - Utilization.
      C - The number of servers.
      Returns:
      Probability that an arriving customer is forced to join the queue.