![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
M/G/1 and M^X/G/1 exhaustive service with server vacations. More...
Go to the source code of this file.
Classes | |
| struct | line::qsys::Mg1VacationOptions< T > |
| The MATLAB name-value options of qsys_mg1_vacation. More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::qsys |
Enumerations | |
| enum class | line::qsys::VacationPolicy { line::qsys::Multiple , line::qsys::Single } |
| Vacation policy: MATLAB's 'policy' option. More... | |
Functions | |
| template<class T> | |
| MeanValueResult< T > | line::qsys::qsys_mg1_vacation (const T &lambda, const T &mu, const T &cs, const T &EV, const T &EV2, const Mg1VacationOptions< T > &opt=Mg1VacationOptions< T >()) |
| Exhaustive-service M/G/1 (or M^X/G/1) with vacations. | |
M/G/1 and M^X/G/1 exhaustive service with server vacations.
Templated port of matlab/src/api/qsys/qsys_mg1_vacation.m, cross-checked against jar/src/main/java/jline/api/qsys/Qsys_mg1_vacation.java.
multiple vacations (Haverkort 1998, eq. 5.38, 5.41): Wq = E[V^2]/(2E[V]) + Wq(M^X/G/1) single vacation (Haverkort 1998, eq. 5.39): Wq = lambda E[V^2] / (2 (V*(lambda) + lambda E[V])) + Wq(M^X/G/1)
with lambda the batch rate, V*(lambda) the vacation LST at lambda, and Wq(M^X/G/1) the arbitrary-job wait of qsys_mxg1. W = Wq + 1/mu, U = lambda E[X]/mu, Q = lambda E[X] W. Rational in the inputs (the LST enters as a number), so exact for T = Rational.
Definition in file qsys_mg1_vacation.h.