![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Exact analysis of an OPEN queueing network mixing order-independent (OI) stations with BCMP product-form stations, and the premise check every OI route shares. More...
#include <cmath>#include <functional>#include <limits>#include <string>#include <vector>#include "line/api/pfqn/pfqn_oi_open.h"#include "line/api/qsys/qsys_oi_loss.h"#include "line/lang/qn/network_struct.h"#include "line/solvers/mva/mva_types.h"#include "line/util/error.h"Go to the source code of this file.
Classes | |
| struct | line::nc::OiOpenTraffic< T > |
| Return value of oi_open_traffic, mirroring [L, lam] (plus the visits it is built from). More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::nc |
Functions | |
| template<class T> | |
| std::string | line::nc::nc_oi_refusal (const qn::NetworkStruct< T > &sn, const std::string &route="oi") |
| Port of nc_oi_refusal.m: may the order-independent route ROUTE run on this model? | |
| template<class T> | |
| mva::MvaSolution< T > | line::nc::solver_oi_loss_station (const qn::NetworkStruct< T > &sn, std::size_t qist) |
| Port of the oi_loss_station branch of solver_oi_open_analyzer.m: the isolated OI loss queue, offered traffic at the Source row, carried traffic at the queue (the M/M/1/K convention of SolverNC's mm1k.loss branch). | |
| template<class T> | |
| OiOpenTraffic< T > | line::nc::oi_open_traffic (const qn::NetworkStruct< T > &sn) |
| Port of oi_open_traffic.m: the station traffic of an OPEN network. | |
| template<class T> | |
| mva::MvaSolution< T > | line::nc::solver_oi_open_analyzer (const qn::NetworkStruct< T > &sn, double tol) |
| Port of solver_oi_open_analyzer.m. | |
Exact analysis of an OPEN queueing network mixing order-independent (OI) stations with BCMP product-form stations, and the premise check every OI route shares.
Ports solver_oi_open_analyzer.m and nc_oi_refusal.m. Shared by SolverNC (solver_nc_oi_analyzer) and SolverMVA (solver_mva_oi_analyzer), as in the reference: an open product-form network decomposes station by station and both solvers would otherwise carry the same code under two names. The header depends on nothing NC-specific (only mva_types.h and the api layer), which is what lets the MVA dispatch include it.
An OI queue is quasi-reversible (Berezner, Kriel, Krzesinski 1995), so with Poisson arrivals and Markov routing the joint law is the product of the isolated station marginals, each fed by its traffic-equation load lambda_ir = lambda_r * V(i,r):
An unstable station follows the getAvg instability convention (open-class QN/RN Inf, UN split to a station total of 1, TN untouched). OI stations are exempt from the runner's own rho test (cap_unstable_open_stations), which reads sn.rates, the single-job rate mu([r]) of an OI station, so the decision is taken here from the OI rate itself.
Arithmetic: the Erlang-C length, lG and the Inf of an unstable station are transcendental, so the analyzer is guarded on has_transcendental; the OI kernels it calls are field arithmetic in T.
Definition in file solver_oi_open.h.