![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
LINE Agent Language (LAL): QBD analysis restricted to the states reachable from the initial support (solver_mam/lal_reachable_qbd.py). More...
#include <cmath>#include <map>#include <optional>#include <string>#include <tuple>#include <vector>#include "line/lang/lal/mam_qbd.h"Go to the source code of this file.
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::lal |
Functions | |
| MamResult | line::lal::reachable_qbd (const Composition &model, double max_phases=64, double max_states=50000, const std::optional< std::string > &level_name=std::nullopt) |
| Reachable QBD solution of a composition (lal_reachable_qbd.solve_composition). | |
LINE Agent Language (LAL): QBD analysis restricted to the states reachable from the initial support (solver_mam/lal_reachable_qbd.py).
Each closed class is solved by block elimination over its contiguous levels and weighted by the probability of absorption into it.
Divergences from Python, both forced by the absence of a sparse solver in the C++ tree: the absorption probabilities come from a dense LU of the transient generator, so the transient block itself is held to the same 256 MiB budget Python applies to the weight matrix; and the closed classes are taken in ascending order of their smallest reachable-state index, where scipy numbers them in its own component order (closed_class_weights is reported in that class order).
Definition in file mam_reachable_qbd.h.