Package jline.lib.qmam
Class Q_DT_SMK_PHK_1
java.lang.Object
jline.lib.qmam.Q_DT_SMK_PHK_1
-
Method Summary
-
Method Details
-
qDtSmkPhk1
public static DTMMAPKPHK1Result qDtSmkPhk1(List<Matrix> D, List<Matrix> alpha, List<Matrix> S, String mode, int maxNumComp, int verbose, String gim1Algor, Object... gim1Opts) Queue length, waiting time and sojourn time distributions, per type and overall.THE REFERENCE PASSES ITS MODE WHERE GIM1_R EXPECTS ITS DUAL. Q_DT_SMK_PHK_1.m calls GIM1_R(A, Mode, OptGIM1_R{:}), and Mode is never 'R' or 'A', so GIM1_R always takes its Bright dual and reads its algorithm from the first entry of OptGIM1_R; without one the reference stops for want of an argument. This port keeps that contract:
gim1Algoris that first entry (FI, CR, NI, RR or IS) andgim1Optsthe name/value pairs that follow it.modeis validated and otherwise unused, as in the reference.- Parameters:
D- the K arrival matrices D_k = [D_k(1) ... D_k(Imax_k)] (m x m*Imax_k): entry (j,j') of D_k(i) is the probability of a type-k arrival after i slots with the phase moving from j to j'alpha- the K initial vectors of the discrete PH service timesS- the K transient matrices of the discrete PH service timesmode- CR (default), FI, IS or RRmaxNumComp- maximum number of components of the stationary vectorverbose- k > 0 prints the accumulated mass every k iterationsgim1Algor- algorithm GIM1_R solves the dual chain withgim1Opts- name/value options of that solver- Returns:
- the six distributions; ql trailing entries at or below 1e-14 are dropped
-