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

LINE Agent Language (LAL): SolverAG on a finite composition (the _lal_composition arm of Python's SolverAG). More...

#include <functional>
#include <iostream>
#include <optional>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "line/lang/lal/ag.h"
#include "line/lang/lal/builder.h"
#include "line/lang/lal/ctmc.h"
#include "line/lang/lal/tables.h"
#include "line/lang/qn/solver_feature_sets.h"
Include dependency graph for solver_ag.h:

Go to the source code of this file.

Classes

struct  line::lal::AGOptions
 Options of the LAL arm of SolverAG (SolverAGOptions). More...
class  line::lal::SolverAG
 SolverAG on a finite LAL composition. More...

Namespaces

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

Detailed Description

LINE Agent Language (LAL): SolverAG on a finite composition (the _lal_composition arm of Python's SolverAG).

The C++ network SolverAG takes a NetworkStruct, so the LAL arm is a separate class, line::lal::SolverAG, with Python's method names, option names, refusals, fallback rule and cache rule. A result is recomputed whenever the composition signature, its truncation flag or the options change.

Methods (listLALMethods, SolverAG's row of doc/line-methods.json restricted to the finite LAL branch): default, inap, inaprc, ctmc, rcat, meanfield, grouped. default and ctmc solve the explicit CTMC bounded by lal_ctmc_max_states; on a state-space refusal default falls back to inaprc when that is structurally supported and to meanfield otherwise, then tries the exact RCAT certificate, and ctmc re-raises.

Definition in file solver_ag.h.