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

The transition rates the constraint inventory reads. More...

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

Public Member Functions

at (std::size_t i, std::size_t j, std::size_t k, std::size_t h, std::size_t n) const
at4 (std::size_t i, std::size_t j, std::size_t k, std::size_t h) const
 The population-free lookup, for the arms that do not carry n.

Public Attributes

bool load_dependent = false
std::size_t M = 0
std::size_t Kmax = 0
std::size_t N = 0
std::vector< T > q4
 [i][j][k][h]
std::vector< T > q5
 [i][j][k][h][n], n the EMITTING station's population

Detailed Description

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

The transition rates the constraint inventory reads.

load_dependent selects the arity: with it false only q4 is read, with it true only q5. They are kept as two members rather than one flattened array because confusing the two is the failure mode the reference documents – a population-free q cannot distinguish the rate at which a station empties at population n from the rate at n', so the polytope stops pinning the utilization at all.

Definition at line 61 of file mapqn_qrf_noblo.h.

Member Function Documentation

◆ at()

template<class T>
T line::mapqn::QrfRates< T >::at ( std::size_t i,
std::size_t j,
std::size_t k,
std::size_t h,
std::size_t n ) const
inline

Definition at line 67 of file mapqn_qrf_noblo.h.

References Kmax, load_dependent, M, N, q4, and q5.

Referenced by line::mapqn::sub_qrfcon_noblo().

◆ at4()

template<class T>
T line::mapqn::QrfRates< T >::at4 ( std::size_t i,
std::size_t j,
std::size_t k,
std::size_t h ) const
inline

The population-free lookup, for the arms that do not carry n.

Definition at line 73 of file mapqn_qrf_noblo.h.

References Kmax, M, and q4.

Referenced by line::mapqn::sub_qrfcon_noblo().

Member Data Documentation

◆ Kmax

template<class T>
std::size_t line::mapqn::QrfRates< T >::Kmax = 0

Definition at line 63 of file mapqn_qrf_noblo.h.

Referenced by at(), at4(), line::mapqn::qrf_build_q(), and line::mapqn::qrf_build_q_ld().

◆ load_dependent

template<class T>
bool line::mapqn::QrfRates< T >::load_dependent = false

◆ M

template<class T>
std::size_t line::mapqn::QrfRates< T >::M = 0

Definition at line 63 of file mapqn_qrf_noblo.h.

Referenced by at(), at4(), line::mapqn::qrf_build_q(), and line::mapqn::qrf_build_q_ld().

◆ N

template<class T>
std::size_t line::mapqn::QrfRates< T >::N = 0

Definition at line 63 of file mapqn_qrf_noblo.h.

Referenced by at(), and line::mapqn::qrf_build_q_ld().

◆ q4

template<class T>
std::vector<T> line::mapqn::QrfRates< T >::q4

[i][j][k][h]

Definition at line 64 of file mapqn_qrf_noblo.h.

Referenced by at(), at4(), and line::mapqn::qrf_build_q().

◆ q5

template<class T>
std::vector<T> line::mapqn::QrfRates< T >::q5

[i][j][k][h][n], n the EMITTING station's population

Definition at line 65 of file mapqn_qrf_noblo.h.

Referenced by at(), and line::mapqn::qrf_build_q_ld().


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