Class Solver_mam_ldqbd_statevec
Mirrors matlab/src/solvers/MAM/solver_mam_ldqbd.m (block construction and
the ld struct), solver_mam_ldqbd_flatten.m and solver_mam_ldqbd_avg.m.
Handles single-class Delay+Queue (closed) or Source+Queue (open) models, with
exact M/M/c boundary, PH service at any number of servers (the busy-server
phase multiset of LdqbdMphc), and load-dependent scaling. The open
regime truncates the level space (options.cutoff or a negligible-tail bound).
This is the CANONICAL builder for both consumers: the steady-state
Solver_mam_ldqbd solver and the SolverENV state-vector analyzer's MAM
backend. Keeping one construction is what stops the two from drifting -- the
steady-state path carried its own copy until 2026-08-18 and silently ignored
sn.lldscaling and the open regime as a result.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPer-(station,class) mean metrics derived from a flat LD-QBD distribution.static final classFlattened generator together with the queue level of each flat state.static final classBlock-tridiagonal LD-QBD representation plus the parameters the avg mapping needs. -
Method Summary
Modifier and TypeMethodDescriptionsolver_mam_ldqbd_avg(Solver_mam_ldqbd_statevec.Ld ld, Matrix piflat, int[] levelOf) Map a flat LD-QBD distribution to per-(station,class) mean metrics.Assemble a dense generator from the block-tridiagonal LD-QBD representation.static Solver_mam_ldqbd_statevec.Ldsolver_mam_ldqbd_ld(NetworkStruct sn, SolverOptions options) Build the LD-QBD blocks and parameters (theldstruct) for a single-class Delay/Queue (closed) or Source/Queue (open) model.
-
Method Details
-
solver_mam_ldqbd_ld
public static Solver_mam_ldqbd_statevec.Ld solver_mam_ldqbd_ld(NetworkStruct sn, SolverOptions options) Build the LD-QBD blocks and parameters (theldstruct) for a single-class Delay/Queue (closed) or Source/Queue (open) model. -
solver_mam_ldqbd_flatten
public static Solver_mam_ldqbd_statevec.Flat solver_mam_ldqbd_flatten(Solver_mam_ldqbd_statevec.Ld ld) Assemble a dense generator from the block-tridiagonal LD-QBD representation. -
solver_mam_ldqbd_avg
public static Solver_mam_ldqbd_statevec.Avg solver_mam_ldqbd_avg(Solver_mam_ldqbd_statevec.Ld ld, Matrix piflat, int[] levelOf) Map a flat LD-QBD distribution to per-(station,class) mean metrics.
-