Package jline.solvers.mam.handlers
Class Solver_mam_ldqbd_statevec
java.lang.Object
jline.solvers.mam.handlers.Solver_mam_ldqbd_statevec
LD-QBD block exposure, flattening and metric mapping for the SolverENV
state-vector analyzer's MAM backend.
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, and load-dependent scaling. The open regime
truncates the level space (options.cutoff or a negligible-tail bound).
The existing steady-state Solver_mam_ldqbd closed-path solver is
left untouched; this class provides only the block/flatten/avg pieces the
state-vector analyzer needs.
-
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.
-