![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Heavy-traffic gamma approximation of the M/G/1/1 retrial orbit size. More...
#include "line/api/qsys/qsys_mg11_retrial.h"#include "line/api/qsys/qsys_retrial_policy.h"#include "line/num/number.h"Go to the source code of this file.
Classes | |
| struct | line::qsys::Mg11RetrialHtResult< T > |
| The outputs [shape, scale, meanOrb, varOrb] of qsys_mg11_retrial_ht. More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::qsys |
Functions | |
| template<class T> | |
| Mg11RetrialHtResult< T > | line::qsys::qsys_mg11_retrial_ht (const T &lambda, const T &mu, const T &cs, const T &nu, RetrialPolicy policy=RetrialPolicy::LINEAR) |
| See the file comment; the arguments are those of qsys_mg11_retrial. | |
Heavy-traffic gamma approximation of the M/G/1/1 retrial orbit size.
Port of matlab/src/api/qsys/qsys_mg11_retrial_ht.m. As rho -> 1 the scaled orbit size of the LINEAR M/G/1/1 retrial queue converges to a gamma law (Falin and Templeton 1997, Sec. 3.7) with scale = lambda^2 b2 / (2(1-rho)), shape = 1 + 2 rho / (nu lambda b2), where b2 = (1+cs^2)/mu^2. Under CONSTANT retrial the orbit is approximately geometric, returned as a gamma with shape 1 and the exact mean of qsys_mg11_retrial as scale. meanOrb = shape*scale, varOrb = shape*scale^2. The function first calls qsys_mg11_retrial, which validates the input and refuses an unstable queue (LINE:input:Unstable).
Definition in file qsys_mg11_retrial_ht.h.