Class Q_DT_SMK_PHK_1

java.lang.Object
jline.lib.qmam.Q_DT_SMK_PHK_1

public final class Q_DT_SMK_PHK_1 extends Object
  • 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: gim1Algor is that first entry (FI, CR, NI, RR or IS) and gim1Opts the name/value pairs that follow it. mode is 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 times
      S - the K transient matrices of the discrete PH service times
      mode - CR (default), FI, IS or RR
      maxNumComp - maximum number of components of the stationary vector
      verbose - k > 0 prints the accumulated mass every k iterations
      gim1Algor - algorithm GIM1_R solves the dual chain with
      gim1Opts - name/value options of that solver
      Returns:
      the six distributions; ql trailing entries at or below 1e-14 are dropped