![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The patience law of one station-class pair, in the forms the solvers consume. More...
#include <line/api/sn/sn_patience_handles.h>
Public Member Functions | |
| qsys::Patience< T > | as_patience () const |
| This law as the Patience argument of the abandonment solvers. | |
Public Attributes | |
| bool | present = false |
| Whether the pair declares reneging at all; everything below is unset when false. | |
| std::function< T(const T &)> | ccdf |
| F^c(t) = P(patience > t). | |
| std::function< T(const T &)> | |
| The patience density. | |
| std::function< T(const T &)> | hazard |
| The hazard rate h = f/(1-F). | |
| T | mean = num_traits<T>::from_int(0) |
| Mean patience. | |
| bool | isExponential = false |
| Whether the law is exponential, in which case the analysis is exact. | |
| T | rate = num_traits<T>::from_int(0) |
| The abandonment rate 1/mean. | |
The patience law of one station-class pair, in the forms the solvers consume.
Definition at line 43 of file sn_patience_handles.h.
|
inline |
This law as the Patience argument of the abandonment solvers.
Definition at line 60 of file sn_patience_handles.h.
References line::qsys::Patience< T >::exponential(), hazard, line::qsys::Patience< T >::hazard(), isExponential, and rate.
Referenced by line::mva::solver_mva_qsys_analyzer().
| std::function<T(const T&)> line::api::PatienceHandles< T >::ccdf |
F^c(t) = P(patience > t).
Definition at line 47 of file sn_patience_handles.h.
Referenced by line::api::sn_patience_handles(), and line::fluid::solver_fluid_qsys().
| std::function<T(const T&)> line::api::PatienceHandles< T >::hazard |
The hazard rate h = f/(1-F).
Definition at line 51 of file sn_patience_handles.h.
Referenced by as_patience(), and line::api::sn_patience_handles().
| bool line::api::PatienceHandles< T >::isExponential = false |
Whether the law is exponential, in which case the analysis is exact.
Definition at line 55 of file sn_patience_handles.h.
Referenced by as_patience(), line::mva::resolve_method(), line::api::sn_patience_handles(), and line::mva::solver_mva_qsys_analyzer().
| T line::api::PatienceHandles< T >::mean = num_traits<T>::from_int(0) |
Mean patience.
Definition at line 53 of file sn_patience_handles.h.
Referenced by line::api::sn_patience_handles().
| std::function<T(const T&)> line::api::PatienceHandles< T >::pdf |
The patience density.
Definition at line 49 of file sn_patience_handles.h.
Referenced by line::api::sn_patience_handles(), and line::fluid::solver_fluid_qsys().
| bool line::api::PatienceHandles< T >::present = false |
Whether the pair declares reneging at all; everything below is unset when false.
Definition at line 45 of file sn_patience_handles.h.
Referenced by line::mva::resolve_method(), line::api::sn_patience_handles(), line::fluid::solver_fluid_qsys(), and line::mva::solver_mva_qsys_analyzer().
| T line::api::PatienceHandles< T >::rate = num_traits<T>::from_int(0) |
The abandonment rate 1/mean.
Definition at line 57 of file sn_patience_handles.h.
Referenced by as_patience(), line::api::sn_patience_handles(), and line::mva::solver_mva_qsys_analyzer().