Package jline.api.qsys
Class QsysBmapM1Result
java.lang.Object
jline.api.qsys.QsysBmapM1Result
Result of the matrix-analytic (M/G/1-type) analysis of a BMAP/M/1 queue.
Beyond the usual performance measures it exposes the intermediate matrix-analytic quantities themselves, so that the algorithm can be inspected and taught rather than only its output. Port of MATLAB qsys_bmapm1.m.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MatrixA = A0 + A1 + sum_k Bk[k], the phase process of the randomized chain.final MatrixRandomized block A0 = (mu/q)I: a service completion, level down by one.final MatrixRandomized block A1 = (1/q)(D0 - mu*I) + I: level unchanged.final MatrixStationary vector of A.final StringName of the analyzer.final MatrixBoundary local block B0 = (1/q)D0 + I, used at level 0 where no service can complete.final Matrix[]Randomized blocks Bk[k] = (1/q)D_k, raising the level by k; index 1..K.final doubleGeometric decay rate of the level probabilities, measured as the limiting ratio pi_(n+1)/pi_n.final doublealpha*(sum_k k*Bk[k])*e - alpha*A0*e; the queue is stable iff this is negative.final MatrixMinimal non-negative solution of G = A0 + A1*G + sum_k Bk[k]*G^(k+1).final doubleMean arrival rate, theta * sum_k k*D_k * e.final MatrixLevel probabilities pi_n as rows (level 0 first).final doubleMean number in system.final doubleProbability the system is empty (equals 1-rho exactly).final doubleUniformization constant actually used.final doubleOffered load lambda/mu.final MatrixStationary vector of the BMAP phase process, generator sum_k D_k.final doubleThroughput, equal to lambda.final doubleRelative truncation residual at truncLevel.final intLevel truncation used for the level distribution.final doubleServer utilization, equal to rho. -
Constructor Summary
ConstructorsConstructorDescriptionQsysBmapM1Result(Matrix theta, double lambda, double rho, double q, Matrix A0, Matrix A1, Matrix B0, Matrix[] Bk, Matrix A, Matrix alpha, Matrix G, double drift, double decayRate, Matrix levelProb, double pi0, double meanQueueLength, double utilization, double throughput, int truncLevel, double truncError, String analyzer) -
Method Summary
-
Field Details
-
theta
Stationary vector of the BMAP phase process, generator sum_k D_k. -
lambda
public final double lambdaMean arrival rate, theta * sum_k k*D_k * e. -
rho
public final double rhoOffered load lambda/mu. -
q
public final double qUniformization constant actually used. -
A0
Randomized block A0 = (mu/q)I: a service completion, level down by one. -
A1
Randomized block A1 = (1/q)(D0 - mu*I) + I: level unchanged. -
B0
Boundary local block B0 = (1/q)D0 + I, used at level 0 where no service can complete. -
Bk
Randomized blocks Bk[k] = (1/q)D_k, raising the level by k; index 1..K. -
A
A = A0 + A1 + sum_k Bk[k], the phase process of the randomized chain. -
alpha
Stationary vector of A. -
G
Minimal non-negative solution of G = A0 + A1*G + sum_k Bk[k]*G^(k+1). -
drift
public final double driftalpha*(sum_k k*Bk[k])*e - alpha*A0*e; the queue is stable iff this is negative. -
decayRate
public final double decayRateGeometric decay rate of the level probabilities, measured as the limiting ratio pi_(n+1)/pi_n. Reported rather than derived from a spectral convention so that it is unambiguous. -
levelProb
Level probabilities pi_n as rows (level 0 first). -
pi0
public final double pi0Probability the system is empty (equals 1-rho exactly). -
meanQueueLength
public final double meanQueueLengthMean number in system. -
utilization
public final double utilizationServer utilization, equal to rho. -
throughput
public final double throughputThroughput, equal to lambda. -
truncLevel
public final int truncLevelLevel truncation used for the level distribution. -
truncError
public final double truncErrorRelative truncation residual at truncLevel. -
analyzer
Name of the analyzer.
-
-
Constructor Details
-
QsysBmapM1Result
public QsysBmapM1Result(Matrix theta, double lambda, double rho, double q, Matrix A0, Matrix A1, Matrix B0, Matrix[] Bk, Matrix A, Matrix alpha, Matrix G, double drift, double decayRate, Matrix levelProb, double pi0, double meanQueueLength, double utilization, double throughput, int truncLevel, double truncError, String analyzer)
-