Package jline.api.mam
Class Qbd_rap
java.lang.Object
jline.api.mam.Qbd_rap
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault number of levels reported when the caller does not choose one. -
Method Summary
Modifier and TypeMethodDescriptionstatic QbdRapResultstatic QbdRapResultstatic QbdRapResultEquilibrium analysis of a QBD with RAP components.static MatrixSolves A0*G^2 + A1*G + A2 = 0 for the matrix G, using the exact rank-one closed form when A2 has rank one and otherwise functional iteration followed by Newton's method.
-
Field Details
-
DEFAULT_NUM_LEVELS
public static final int DEFAULT_NUM_LEVELSDefault number of levels reported when the caller does not choose one.- See Also:
-
-
Method Details
-
qbd_rap
public static QbdRapResult qbd_rap(Matrix A0, Matrix A1, Matrix A2, Matrix B0, Matrix B1, int numLevels) Equilibrium analysis of a QBD with RAP components.- Parameters:
A0- level-up block (m x m)A1- local block (m x m)A2- level-down block (m x m)B0- boundary level-up block, null for A0B1- boundary local block, null for A1numLevels- highest level reported- Returns:
- the level distribution, mean queue length, R, G, U, Sp(R) and pi_0
-
qbd_rap
-
qbd_rap
-
qbd_rap_g
Solves A0*G^2 + A1*G + A2 = 0 for the matrix G, using the exact rank-one closed form when A2 has rank one and otherwise functional iteration followed by Newton's method. Never returns an unconverged iterate.
-