![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
LINE Agent Language (LAL): SolverCTMC and SolverSSA on a finite composition (the _lal_composition arms of Python's SolverCTMC and SolverSSA). More...
#include <cctype>#include <cmath>#include <functional>#include <limits>#include <optional>#include <set>#include <sstream>#include <string>#include <utility>#include <vector>#include "line/lang/lal/builder.h"#include "line/lang/lal/ctmc.h"#include "line/lang/lal/ssa.h"#include "line/lang/lal/tables.h"#include "line/solvers/method_registry.h"#include "line/util/expm.h"Go to the source code of this file.
Classes | |
| struct | line::lal::CTMCOptions |
| Options of the LAL arm of SolverCTMC. More... | |
| class | line::lal::SolverCTMC |
| Exact finite CTMC enumeration or MDD aggregation of a composition. More... | |
| struct | line::lal::SSAOptions |
| Options of the LAL arm of SolverSSA. More... | |
| class | line::lal::SolverSSA |
| Serial Gillespie (serial, ssa, default) and next-reaction (nrm) simulation of a composition. More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::lal |
Functions | |
| Result | line::lal::solve_composition (const Composition &model, std::size_t max_states=0, std::size_t max_dense_bytes=kDefaultMaxDenseBytes) |
| Solve a composition by exact finite CTMC (lal.ctmc.solve_composition(model)). | |
LINE Agent Language (LAL): SolverCTMC and SolverSSA on a finite composition (the _lal_composition arms of Python's SolverCTMC and SolverSSA).
Python dispatches on the model type inside the network solvers; the C++ network solvers take a NetworkStruct, so the LAL arms are separate classes here, line::lal::SolverCTMC and line::lal::SolverSSA, with the same method names, option names, refusals and cache rule. A result is recomputed whenever the composition signature, its truncation flag or the options change.
Definition in file solvers.h.