Class Q_DT_MAP_MAP_1

java.lang.Object
jline.lib.qmam.Q_DT_MAP_MAP_1

public final class Q_DT_MAP_MAP_1 extends Object
  • Method Details

    • qDtMapMap1

      public static DTQueueResult qDtMapMap1(Matrix C0, Matrix C1, Matrix D0, Matrix D1, MAPMAP1Options options)
      Queue length distribution of a discrete-time DMAP/DMAP/1/FCFS queue.

      Convention: late arrival system with delayed access. The QBD blocks encode it directly, A_1 = kron(C1,D0) being the statement that a job arriving at the end of a slot cannot be served within it, and A_0 = kron(C0,D0) + kron(C1,D1) that a simultaneous arrival and completion leave the level unchanged. The boundary row B_k = kron(C_k, I) freezes the service phase while the system is empty. This matches the LDES slotted engine, whose intra-slot order is completion, internal movement, arrival, bookkeeping.

      Only the queue length is returned. The waiting and sojourn pmfs that Q_DT_MAP_MAP_1.m also computes are deliberately not ported: no LINE caller consumes them, and the MATLAB discrete-time solver path reads the queue length alone. They should be added here, not approximated by a caller, when a discrete-time getCdfRespT is wired.

      Parameters:
      C0 - ma x ma matrix of the arrival DMAP, transitions without arrival
      C1 - ma x ma matrix of the arrival DMAP, transitions with arrival
      D0 - ms x ms matrix of the service DMAP, transitions without completion
      D1 - ms x ms matrix of the service DMAP, transitions with completion
      options - mode, maximum number of components and verbosity
      Returns:
      the queue length distribution, entry i being Prob[i in system]