LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
solver_mam.h File Reference

LINE Agent Language (LAL): the SolverMAM binding of a Composition (the _lal_composition branches of python/line_solver/solvers/solver_mam/__init__.py). More...

#include <cmath>
#include <functional>
#include <limits>
#include <map>
#include <memory>
#include <optional>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "json.hpp"
#include "line/lang/lal/builder.h"
#include "line/lang/lal/core.h"
#include "line/lang/lal/ctmc.h"
#include "line/lang/lal/mam_common.h"
#include "line/lang/lal/mam_infinite_qbd.h"
#include "line/lang/lal/mam_jackson.h"
#include "line/lang/lal/mam_lowering.h"
#include "line/lang/lal/mam_map_network.h"
#include "line/lang/lal/mam_marked_network.h"
#include "line/lang/lal/mam_qbd.h"
#include "line/lang/lal/mam_reachable_qbd.h"
#include "line/lang/lal/mam_reduced.h"
#include "line/lang/lal/mam_traffic.h"
#include "line/lang/lal/tables.h"
#include "line/lang/lal/mam_parallel_qbd.h"
Include dependency graph for solver_mam.h:

Go to the source code of this file.

Classes

struct  line::lal::MAMOptions
 The options of SolverMAM on a LAL composition (SolverMAMOptions). More...
class  line::lal::SolverMAM
 SolverMAM on a LAL composition. More...

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::lal

Functions

MamResult line::lal::parallel_qbd (const Composition &model, double max_phases=64, double max_states=50000, long max_iter=100, double tol=1e-4)
 Exact marginal QBDs of independent stations sharing marked sources (mam_parallel_qbd.h).

Detailed Description

LINE Agent Language (LAL): the SolverMAM binding of a Composition (the _lal_composition branches of python/line_solver/solvers/solver_mam/__init__.py).

The solver selects one of the LAL lowerings:

with the same dispatch order, fallbacks and refusal messages as Python. Dictionaries Python returns (getCompositionCapabilities, getMAMDiagnostics, the traffic dictionary inside them) are nlohmann::json objects, whose keys are sorted rather than kept in insertion order.

Definition in file solver_mam.h.