LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::mapqn::QrBasParams< T > Struct Template Reference

Parameters of the BAS bound, mirroring the reference's params. More...

#include <line/api/mapqn/mapqn_qr_bounds_bas.h>

Collaboration diagram for line::mapqn::QrBasParams< T >:

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

Detailed Description

template<class T>
struct line::mapqn::QrBasParams< T >

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.

Member Function Documentation

◆ validate()

template<class T>
void line::mapqn::QrBasParams< T >::validate ( ) const
inline

Member Data Documentation

◆ BB

template<class T>
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().

◆ F

template<class T>
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().

◆ f

template<class T>
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().

◆ K

template<class T>
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().

◆ M

template<class T>
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().

◆ MM

template<class T>
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().

◆ MM1

template<class T>
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().

◆ MR

template<class T>
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().

◆ mu

template<class T>
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().

◆ N

template<class T>
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().

◆ r

template<class T>
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().

◆ v

template<class T>
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().

◆ ZM

template<class T>
int line::mapqn::QrBasParams< T >::ZM = 0

maximum blocking depth

Definition at line 93 of file mapqn_qr_bounds_bas.h.

Referenced by validate().

◆ ZZ

template<class T>
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().


The documentation for this struct was generated from the following file: