![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Parameters of the BAS bound, mirroring the reference's params. More...
#include <line/api/mapqn/mapqn_qr_bounds_bas.h>
Public Member Functions | |
| void | validate () const |
Public Attributes | |
| int | M = 0 |
| number of queues | |
| int | N = 0 |
| total population | |
| int | f = 0 |
| index of the finite-capacity queue, 0-based | |
| std::vector< int > | F |
| (M) capacity of each queue | |
| std::vector< int > | K |
| (M) number of phases of each queue | |
| std::vector< Matrix< T > > | mu |
| mu[i] is K(i) x K(i), completion rates | |
| std::vector< Matrix< T > > | v |
| v[i] is K(i) x K(i), background rates | |
| Matrix< T > | r |
| (M x M) routing probabilities | |
| int | MR = 0 |
| number of blocking configurations | |
| std::vector< std::vector< int > > | BB |
| (MR x M) 1 if queue i is blocked in m | |
| std::vector< std::vector< int > > | MM |
| (MR x 2) blocking order, 0-based queue indices | |
| std::vector< int > | ZZ |
| (MR) number of blocked queues in m | |
| int | ZM = 0 |
| maximum blocking depth | |
| std::vector< std::vector< int > > | MM1 |
| (MR x M) extended order; negative means absent | |
Parameters of the BAS bound, mirroring the reference's params.
Queues, phases and blocking configurations are 0-based here; the reference is 1-based in all three, so f, the entries of MM and the entries of MM1 all drop by one relative to a MATLAB script. MM1 keeps the reference's "absent" marker as a negative entry rather than 0.
Definition at line 80 of file mapqn_qr_bounds_bas.h.
|
inline |
Definition at line 96 of file mapqn_qr_bounds_bas.h.
References BB, line::Matrix< T >::cols(), F, f, line::InputError::InputError(), K, M, MM, MM1, MR, mu, N, r, line::Matrix< T >::rows(), v, ZM, and ZZ.
Referenced by line::mapqn::mapqn_qr_bounds_bas(), and line::mapqn::mapqn_qrf_bas().
| std::vector<std::vector<int> > line::mapqn::QrBasParams< T >::BB |
(MR x M) 1 if queue i is blocked in m
Definition at line 90 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| std::vector<int> line::mapqn::QrBasParams< T >::F |
(M) capacity of each queue
Definition at line 84 of file mapqn_qr_bounds_bas.h.
Referenced by line::mapqn::mapqn_qr_bounds_bas(), line::mapqn::mapqn_qrf_bas(), and validate().
| int line::mapqn::QrBasParams< T >::f = 0 |
index of the finite-capacity queue, 0-based
Definition at line 83 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| std::vector<int> line::mapqn::QrBasParams< T >::K |
(M) number of phases of each queue
Definition at line 85 of file mapqn_qr_bounds_bas.h.
Referenced by line::mapqn::mapqn_qr_bounds_bas(), line::mapqn::mapqn_qrf_bas(), and validate().
| int line::mapqn::QrBasParams< T >::M = 0 |
number of queues
Definition at line 81 of file mapqn_qr_bounds_bas.h.
Referenced by line::mapqn::mapqn_qr_bounds_bas(), line::mapqn::mapqn_qrf_bas(), and validate().
| std::vector<std::vector<int> > line::mapqn::QrBasParams< T >::MM |
(MR x 2) blocking order, 0-based queue indices
Definition at line 91 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| std::vector<std::vector<int> > line::mapqn::QrBasParams< T >::MM1 |
(MR x M) extended order; negative means absent
Definition at line 94 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| int line::mapqn::QrBasParams< T >::MR = 0 |
number of blocking configurations
Definition at line 89 of file mapqn_qr_bounds_bas.h.
Referenced by line::mapqn::mapqn_qr_bounds_bas(), line::mapqn::mapqn_qrf_bas(), and validate().
| std::vector<Matrix<T> > line::mapqn::QrBasParams< T >::mu |
mu[i] is K(i) x K(i), completion rates
Definition at line 86 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| int line::mapqn::QrBasParams< T >::N = 0 |
total population
Definition at line 82 of file mapqn_qr_bounds_bas.h.
Referenced by line::mapqn::mapqn_qr_bounds_bas(), line::mapqn::mapqn_qrf_bas(), and validate().
| Matrix<T> line::mapqn::QrBasParams< T >::r |
(M x M) routing probabilities
Definition at line 88 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| std::vector<Matrix<T> > line::mapqn::QrBasParams< T >::v |
v[i] is K(i) x K(i), background rates
Definition at line 87 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| int line::mapqn::QrBasParams< T >::ZM = 0 |
maximum blocking depth
Definition at line 93 of file mapqn_qr_bounds_bas.h.
Referenced by validate().
| std::vector<int> line::mapqn::QrBasParams< T >::ZZ |
(MR) number of blocked queues in m
Definition at line 92 of file mapqn_qr_bounds_bas.h.
Referenced by validate().