![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Exact steady-state means of an OPEN order-independent (OI) station fed by Poisson traffic. More...
#include <cmath>#include <functional>#include <limits>#include <string>#include <vector>#include "line/api/pfqn/pfqn_oi_mixed.h"#include "line/num/number.h"#include "line/util/error.h"Go to the source code of this file.
Classes | |
| struct | line::pfqn::OiOpenResult< T > |
| Return value of pfqn_oi_open, mirroring [Q, Usir, P0, stable, tau, method]. More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::pfqn |
Functions | |
| template<class T> | |
| OiOpenResult< T > | line::pfqn::pfqn_oi_open (const std::vector< T > &lambda, const std::function< T(const std::vector< int > &)> &mu, const OiMixedOptions &opt=OiMixedOptions()) |
| Exact means of an open OI station. | |
Exact steady-state means of an OPEN order-independent (OI) station fed by Poisson traffic.
Templated port of matlab/src/api/pfqn/pfqn_oi_open.m. An OI queue is quasi-reversible (Berezner, Kriel and Krzesinski 1995, Thm 1), so in an open network of OI and BCMP stations each OI station has the isolated product-form marginal
pi(n) = P0 * Phi(n) * prod_r lambda_r^{n_r}, Phi(0) = 1, Phi(n) = (1/mu(n)) sum_{r: n_r>0} Phi(n - e_r),
with lambda_r the class-r traffic offered to the station. P0 is an INFINITE sum, evaluated exactly by the saturation recursion of pfqn_oi_mixed whenever the rate saturates (the open station is the mixed table with no closed class, a one-point lattice), and by the 'oi.trunc' doubling-cutoff branch when it does not.
References: Berezner, Kriel, Krzesinski (1995), Queueing Systems 19:345-359; Bonald, Comte, Mathieu (2017), POMACS 1(2), Art. 41.
ARITHMETIC. Field arithmetic, as pfqn_oi_mixed. An UNSTABLE station reports Q = Usir = Inf for the classes with traffic, which exists only in floating point: under exact arithmetic that case raises instead.
Definition in file pfqn_oi_open.h.