Package jline.lib.qmam
Class Q_DT_MMAPK_PHK_1
java.lang.Object
jline.lib.qmam.Q_DT_MMAPK_PHK_1
-
Method Summary
Modifier and TypeMethodDescriptionstatic DTMMAPKPHK1ResultDefault options: Mode 'CR', MaxNumComp 1000, Verbose 0, as in the reference.static DTMMAPKPHK1ResultqDtMmapkPhk1(Matrix D0, List<Matrix> D, List<Matrix> alpha, List<Matrix> S, String mode, int maxNumComp, int verbose) Queue length, waiting time and sojourn time distributions, per type and overall.static DTMMAPKPHK1ResultqDtMmapkPhk1(Matrix D0, List<Matrix> D, List<Matrix> alpha, List<Matrix> S, String mode, int maxNumComp, int verbose, Object... qbdOpts) As above, with the options of the R solver selected bymode: the reference's OptQBD_CR, OptQBD_FI, OptQBD_IS, OptQBD_LR or OptQBD_NI, of which only the one matching Mode is ever read.
-
Method Details
-
qDtMmapkPhk1
public static DTMMAPKPHK1Result qDtMmapkPhk1(Matrix D0, List<Matrix> D, List<Matrix> alpha, List<Matrix> S) Default options: Mode 'CR', MaxNumComp 1000, Verbose 0, as in the reference. -
qDtMmapkPhk1
public static DTMMAPKPHK1Result qDtMmapkPhk1(Matrix D0, List<Matrix> D, List<Matrix> alpha, List<Matrix> S, String mode, int maxNumComp, int verbose) Queue length, waiting time and sojourn time distributions, per type and overall.- Parameters:
D0- m x m matrix of the MMAP[K] transitions without arrivalD- the K arrival matrices D_k, entry D_k(i,j) the probability of a type-k arrival and a move i to jalpha- the K initial vectors of the discrete PH service timesS- the K transient matrices of the discrete PH service timesmode- solver of R: CR (default), FI, IS, LR or NImaxNumComp- maximum number of components of the stationary vectorverbose- 1 prints the progress of the computation- Returns:
- the six distributions; ql and qlT trailing entries at or below 1e-10 are dropped
-
qDtMmapkPhk1
public static DTMMAPKPHK1Result qDtMmapkPhk1(Matrix D0, List<Matrix> D, List<Matrix> alpha, List<Matrix> S, String mode, int maxNumComp, int verbose, Object... qbdOpts) As above, with the options of the R solver selected bymode: the reference's OptQBD_CR, OptQBD_FI, OptQBD_IS, OptQBD_LR or OptQBD_NI, of which only the one matching Mode is ever read. They are name/value pairs handed to that solver: Mode, MaxNumIt, Verbose and RAPComp for every solver, plus StartValue (a Matrix) for FI. An unknown name or a value of the wrong type is warned about and ignored, as QBD_ParseOptPara does in the reference.- Parameters:
qbdOpts- name/value options of the QBD solver selected bymode
-