Class Qsys_mmapg1k
Port of matlab/src/api/qsys/qsys_mmapg1k.m. Two classes of equal
arrival rate but different interarrival variability or autocorrelation receive
DIFFERENT loss ratios, which is the effect that motivates [1].
Aggregate-only finite-buffer analyses cannot express it: they return a single
blocking probability p and set T_k = lambda_k (1-p), making the loss ratio
identical across classes by construction.
METHOD. The aggregate MAP {D0, sum_k D1c(k)} drives Qsys_mapg1k,
whose embedded chain returns the joint law of buffer level and MAP phase. A
class-k arrival leaves phase i at rate (D1c(k) e)_i, so the rate of class-k
arrivals meeting a full buffer is pKvec D1c(k) e, and
lambda_k = pi D1c(k) e, L_k = (pKvec D1c(k) e)/lambda_k.This is exact: no independence between classes is assumed and no PASTA argument is used, the phase resolution of pKvec doing that work.
Assumes a single server and a service law that is iid and independent of
class. Per-class service would make the departure rate depend on which class
holds the server, which this model does not represent; build the
arrival-weighted mixture instead (see
jline.solvers.mam.handlers.Mam_svc_mixture).
References:
[1] Chydzinski, A. Per-Flow Throughput of a FIFO Buffer. Applied System
Innovation 2026, 9, 112.
-
Method Summary
Modifier and TypeMethodDescriptionstatic QsysMmapG1kResultqsys_mmapg1k(Matrix D0, List<Matrix> D1c, QsysServiceLaw svc, int K) qsys_mmapg1k with the reference defaults tol = 1e-12, nmax = 200000.static QsysMmapG1kResultqsys_mmapg1k(Matrix D0, List<Matrix> D1c, QsysServiceLaw svc, int K, double tol, int nmaxCap) MMAP[K]/G/1/K with tail drop.
-
Method Details
-
qsys_mmapg1k
public static QsysMmapG1kResult qsys_mmapg1k(Matrix D0, List<Matrix> D1c, QsysServiceLaw svc, int K) qsys_mmapg1k with the reference defaults tol = 1e-12, nmax = 200000. -
qsys_mmapg1k
public static QsysMmapG1kResult qsys_mmapg1k(Matrix D0, List<Matrix> D1c, QsysServiceLaw svc, int K, double tol, int nmaxCap) MMAP[K]/G/1/K with tail drop.- Parameters:
D0- M x M hidden transition matrix of the arrival MMAPD1c- per-class arrival matrices; D0 + sum_k D1c(k) irreduciblesvc- service law, common to every classK- buffer size in packets, K >= 1tol- uniformization truncation tolerancenmaxCap- cap on the uniformization order
-