Package jline.api.qsys
Class QsysAbandonResult
java.lang.Object
jline.api.qsys.QsysAbandonResult
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
FieldsModifier and TypeFieldDescriptionfinal doubleRate 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 booleanWhether the patience law was exponential, in which case the answer is exact.final doubleE[N], the mean number in system.final doubleE[Q] with Q = (N-s)^+, the mean number waiting.final doubleE[W] over entering customers, the zero waits included.final doubleE[W|A], the mean time in queue of a customer who abandons.final doubleE[W|S], the mean wait of a customer who is served.final intWaiting spaces actually used, which is the truncation level when r is infinite.final doubleThe exponential patience rate, NaN for a general patience law.final doubleP(A) = 1 - P(S), an entering customer eventually abandons.final doubleP(an arrival is blocked) = p_{s+r}; zero when the waiting room is infinite.final doubleP(W = 0) among entering customers.final doubleP(S), an entering customer is eventually served.final double[]P(N = k) for k = 0..s+r, N the number in system.final doubleE[W^2] over entering customers.final doubleRate 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 doubleE[min(N,s)]/s, the fraction of servers busy.final doubleVar[N].final doubleVar[Q].final doubleVar[W|A].final doubleVar[W|S].final double[]The times at which the waiting-time cdfs were evaluated, null when not requested. -
Constructor Summary
ConstructorsConstructorDescriptionQsysAbandonResult(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
-
Field Details
-
queueLengthDist
public final double[] queueLengthDistP(N = k) for k = 0..s+r, N the number in system. -
probLoss
public final double probLossP(an arrival is blocked) = p_{s+r}; zero when the waiting room is infinite. -
probNoWait
public final double probNoWaitP(W = 0) among entering customers. -
probServed
public final double probServedP(S), an entering customer is eventually served. -
probAbandon
public final double probAbandonP(A) = 1 - P(S), an entering customer eventually abandons. -
meanNumber
public final double meanNumberE[N], the mean number in system. -
varNumber
public final double varNumberVar[N]. -
meanQueueLength
public final double meanQueueLengthE[Q] with Q = (N-s)^+, the mean number waiting. -
varQueueLength
public final double varQueueLengthVar[Q]. -
utilization
public final double utilizationE[min(N,s)]/s, the fraction of servers busy. -
throughput
public final double throughputRate of served customers, lambda(1-P_loss)P(S). -
abandonRate
public final double abandonRateRate of abandoning customers, lambda(1-P_loss)P(A). -
meanWaitServed
public final double meanWaitServedE[W|S], the mean wait of a customer who is served. -
varWaitServed
public final double varWaitServedVar[W|S]. -
meanWaitAbandon
public final double meanWaitAbandonE[W|A], the mean time in queue of a customer who abandons. -
varWaitAbandon
public final double varWaitAbandonVar[W|A]. -
meanWait
public final double meanWaitE[W] over entering customers, the zero waits included. -
secondMomentWait
public final double secondMomentWaitE[W^2] over entering customers. -
abandonRates
public final double[] abandonRatesdelta_j, the abandonment rate of the customer jth from the end of the queue. -
totalAbandonRates
public final double[] totalAbandonRatesDelta_k, the total abandonment rate with k waiting; index k, so Delta_0 = 0. -
numWaitingSpaces
public final int numWaitingSpacesWaiting spaces actually used, which is the truncation level when r is infinite. -
exponentialPatience
public final boolean exponentialPatienceWhether the patience law was exponential, in which case the answer is exact. -
patienceRate
public final double patienceRateThe exponential patience rate, NaN for a general patience law. -
waitPoints
public final double[] waitPointsThe times at which the waiting-time cdfs were evaluated, null when not requested. -
cdfWaitServed
public final double[] cdfWaitServedP(W <= t | S) at those times, null when not requested. -
cdfWaitAbandon
public final double[] cdfWaitAbandonP(W <= t | A) at those times, null when not requested. -
cdfWait
public final double[] cdfWaitP(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