![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The patience (time-to-abandon) law, in the three forms the algorithm accepts. More...
#include <line/api/qsys/qsys_mgisrgi_whitt.h>
Static Public Member Functions | |
| static Patience | exponential (const T &theta) |
| Exponential patience of rate theta, h(t) = theta, the Erlang A case. | |
| static Patience | hazard (std::function< T(const T &)> h) |
| Patience given by its hazard rate h = f/(1-F). | |
| static Patience | ccdf (std::function< T(const T &)> g) |
| Patience given by its complementary cdf G(t) = 1-F(t). | |
Public Attributes | |
| PatienceForm | form = PatienceForm::Exponential |
| T | theta = num_traits<T>::from_int(0) |
| std::function< T(const T &)> | fun |
The patience (time-to-abandon) law, in the three forms the algorithm accepts.
The engineering solution needs it only through its hazard rate near the origin, so these three carry exactly that.
Definition at line 83 of file qsys_mgisrgi_whitt.h.
|
inlinestatic |
Patience given by its complementary cdf G(t) = 1-F(t).
Definition at line 107 of file qsys_mgisrgi_whitt.h.
References line::qsys::Ccdf, form, and fun.
|
inlinestatic |
Exponential patience of rate theta, h(t) = theta, the Erlang A case.
Definition at line 89 of file qsys_mgisrgi_whitt.h.
References line::qsys::Exponential, form, line::InputError::InputError(), and theta.
Referenced by line::api::PatienceHandles< T >::as_patience(), and line::qsys::qsys_erlanga().
|
inlinestatic |
Patience given by its hazard rate h = f/(1-F).
Definition at line 99 of file qsys_mgisrgi_whitt.h.
References form, fun, and line::qsys::Hazard.
Referenced by line::api::PatienceHandles< T >::as_patience().
| PatienceForm line::qsys::Patience< T >::form = PatienceForm::Exponential |
Definition at line 84 of file qsys_mgisrgi_whitt.h.
Referenced by ccdf(), exponential(), hazard(), and line::qsys::qsys_mgisrgi_whitt().
| std::function<T(const T&)> line::qsys::Patience< T >::fun |
Definition at line 86 of file qsys_mgisrgi_whitt.h.
| T line::qsys::Patience< T >::theta = num_traits<T>::from_int(0) |
Definition at line 85 of file qsys_mgisrgi_whitt.h.
Referenced by exponential(), and line::qsys::qsys_mgisrgi_whitt().