Class Mam_svc_mixture

java.lang.Object
jline.solvers.mam.handlers.Mam_svc_mixture

public final class Mam_svc_mixture extends Object
Arrival-weighted phase-type mixture of the per-class service laws at a station, as the service descriptor accepted by Qsys_mapg1k and Qsys_mmapg1k.

Port of matlab/src/solvers/MAM/mam_svc_mixture.m. The mixture is PH(alpha_mix, T_mix) with alpha_mix = [w_1 pie_1, ...], T_mix = blkdiag(D0_1, ...), and w_k = lambda_k/sum_j lambda_j the fraction of arrivals belonging to class k. It is therefore the service law of an arbitrary packet, and it reduces to the common law exactly, as a distribution, when every class shares one.

This is the same construction Mam_truncate_renorm already applied inline when a station carries more than one class, factored out so that the exact finite-buffer branch and the truncate-and-renormalize fallback rest on identical service assumptions and stay comparable.

  • Method Details

    • mam_svc_mixture

      public static Mam_svc_mixture.Result mam_svc_mixture(MatrixCell D_arr, Map<Integer,Matrix> pie_cell, Map<Integer,Matrix> D0_cell)
      Parameters:
      D_arr - {D0, D_class1, ..., D_classR} arrival MMAP
      pie_cell - per-class PH initial distributions, keyed 0..R-1
      D0_cell - per-class PH subgenerators, keyed 0..R-1