![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
LINE Agent Language (LAL): lowering of embedded LINE networks to the agents SolverMAM's LAL methods read. More...
#include <algorithm>#include <cctype>#include <cmath>#include <map>#include <optional>#include <set>#include <string>#include <utility>#include <vector>#include "line/lang/lal/builder.h"#include "line/lang/lal/ctmc.h"#include "line/solvers/ctmc/solver_ctmc_analyzer.h"Go to the source code of this file.
Classes | |
| struct | line::lal::LoweredComposition |
| A composition lowered for SolverMAM, with the map of lowered action labels to node-event labels. More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::lal |
Functions | |
| LoweredComposition | line::lal::lower (const Composition &composition) |
| A Composition of plain agents equivalent to composition, or itself (lower). | |
| ActionTable | line::lal::relabel_action_table (const ActionTable &table, const std::map< std::string, std::string > &mapping) |
| Rename lowered action rows to their node-event labels, summing rows that share one (relabel_action_table). | |
LINE Agent Language (LAL): lowering of embedded LINE networks to the agents SolverMAM's LAL methods read.
Port of python/line_solver/lal/mam_lowering.py.
SolverMAM's composition methods (finite and infinite QBDs, Jackson, parallel QBDs, the source decomposition and marked thinning) recognize a level agent whose states count the jobs of a queue, and source agents whose states are the phases of a MAP or MMAP. An embedded Network is lowered to exactly those agents when its structure allows it, so that the matrix-analytic methods solve the network itself rather than its truncated enumeration:
The lowered transitions keep route-specific names (Q.to_Q2, Q.out), so the solvers' raw rows stay distinct per route, which getQueueTable needs; labels maps them to LINE's node-event labels (Q.DEP[Jobs], the service clock's phase moves as Q.PHASE[Jobs], a Source's emissions as Src.DEP[cls]) for the presented action table. A network outside this structure is refused by name, and SolverCTMC remains the method for it.
Definition in file mam_lowering.h.