Class QsysAbandonResult

java.lang.Object
jline.api.qsys.QsysAbandonResult

public class QsysAbandonResult extends Object
Steady-state measures of a multiserver queue with customer abandonment, as produced by Qsys_mgisrgi_whitt and Qsys_erlanga.

Port of the struct returned by MATLAB qsys_mgisrgi_whitt.m.

Since:
LINE 3.1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double
    Rate of abandoning customers, lambda(1-P_loss)P(A).
    final double[]
    delta_j, the abandonment rate of the customer jth from the end of the queue.
    final double[]
    P(W <= t) over entering customers, null when not requested.
    final double[]
    P(W <= t | A) at those times, null when not requested.
    final double[]
    P(W <= t | S) at those times, null when not requested.
    final boolean
    Whether the patience law was exponential, in which case the answer is exact.
    final double
    E[N], the mean number in system.
    final double
    E[Q] with Q = (N-s)^+, the mean number waiting.
    final double
    E[W] over entering customers, the zero waits included.
    final double
    E[W|A], the mean time in queue of a customer who abandons.
    final double
    E[W|S], the mean wait of a customer who is served.
    final int
    Waiting spaces actually used, which is the truncation level when r is infinite.
    final double
    The exponential patience rate, NaN for a general patience law.
    final double
    P(A) = 1 - P(S), an entering customer eventually abandons.
    final double
    P(an arrival is blocked) = p_{s+r}; zero when the waiting room is infinite.
    final double
    P(W = 0) among entering customers.
    final double
    P(S), an entering customer is eventually served.
    final double[]
    P(N = k) for k = 0..s+r, N the number in system.
    final double
    E[W^2] over entering customers.
    final double
    Rate of served customers, lambda(1-P_loss)P(S).
    final double[]
    Delta_k, the total abandonment rate with k waiting; index k, so Delta_0 = 0.
    final double
    E[min(N,s)]/s, the fraction of servers busy.
    final double
    Var[N].
    final double
    Var[Q].
    final double
    Var[W|A].
    final double
    Var[W|S].
    final double[]
    The times at which the waiting-time cdfs were evaluated, null when not requested.
  • Constructor Summary

    Constructors
    Constructor
    Description
    QsysAbandonResult(double[] queueLengthDist, double probLoss, double probNoWait, double probServed, double probAbandon, double meanNumber, double varNumber, double meanQueueLength, double varQueueLength, double utilization, double throughput, double abandonRate, double meanWaitServed, double varWaitServed, double meanWaitAbandon, double varWaitAbandon, double meanWait, double secondMomentWait, double[] abandonRates, double[] totalAbandonRates, int numWaitingSpaces, boolean exponentialPatience, double patienceRate, double[] waitPoints, double[] cdfWaitServed, double[] cdfWaitAbandon, double[] cdfWait)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • queueLengthDist

      public final double[] queueLengthDist
      P(N = k) for k = 0..s+r, N the number in system.
    • probLoss

      public final double probLoss
      P(an arrival is blocked) = p_{s+r}; zero when the waiting room is infinite.
    • probNoWait

      public final double probNoWait
      P(W = 0) among entering customers.
    • probServed

      public final double probServed
      P(S), an entering customer is eventually served.
    • probAbandon

      public final double probAbandon
      P(A) = 1 - P(S), an entering customer eventually abandons.
    • meanNumber

      public final double meanNumber
      E[N], the mean number in system.
    • varNumber

      public final double varNumber
      Var[N].
    • meanQueueLength

      public final double meanQueueLength
      E[Q] with Q = (N-s)^+, the mean number waiting.
    • varQueueLength

      public final double varQueueLength
      Var[Q].
    • utilization

      public final double utilization
      E[min(N,s)]/s, the fraction of servers busy.
    • throughput

      public final double throughput
      Rate of served customers, lambda(1-P_loss)P(S).
    • abandonRate

      public final double abandonRate
      Rate of abandoning customers, lambda(1-P_loss)P(A).
    • meanWaitServed

      public final double meanWaitServed
      E[W|S], the mean wait of a customer who is served.
    • varWaitServed

      public final double varWaitServed
      Var[W|S].
    • meanWaitAbandon

      public final double meanWaitAbandon
      E[W|A], the mean time in queue of a customer who abandons.
    • varWaitAbandon

      public final double varWaitAbandon
      Var[W|A].
    • meanWait

      public final double meanWait
      E[W] over entering customers, the zero waits included.
    • secondMomentWait

      public final double secondMomentWait
      E[W^2] over entering customers.
    • abandonRates

      public final double[] abandonRates
      delta_j, the abandonment rate of the customer jth from the end of the queue.
    • totalAbandonRates

      public final double[] totalAbandonRates
      Delta_k, the total abandonment rate with k waiting; index k, so Delta_0 = 0.
    • numWaitingSpaces

      public final int numWaitingSpaces
      Waiting spaces actually used, which is the truncation level when r is infinite.
    • exponentialPatience

      public final boolean exponentialPatience
      Whether the patience law was exponential, in which case the answer is exact.
    • patienceRate

      public final double patienceRate
      The exponential patience rate, NaN for a general patience law.
    • waitPoints

      public final double[] waitPoints
      The times at which the waiting-time cdfs were evaluated, null when not requested.
    • cdfWaitServed

      public final double[] cdfWaitServed
      P(W <= t | S) at those times, null when not requested.
    • cdfWaitAbandon

      public final double[] cdfWaitAbandon
      P(W <= t | A) at those times, null when not requested.
    • cdfWait

      public final double[] cdfWait
      P(W <= t) over entering customers, null when not requested.
  • Constructor Details

    • QsysAbandonResult

      public QsysAbandonResult(double[] queueLengthDist, double probLoss, double probNoWait, double probServed, double probAbandon, double meanNumber, double varNumber, double meanQueueLength, double varQueueLength, double utilization, double throughput, double abandonRate, double meanWaitServed, double varWaitServed, double meanWaitAbandon, double varWaitAbandon, double meanWait, double secondMomentWait, double[] abandonRates, double[] totalAbandonRates, int numWaitingSpaces, boolean exponentialPatience, double patienceRate, double[] waitPoints, double[] cdfWaitServed, double[] cdfWaitAbandon, double[] cdfWait)
  • Method Details