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

The unflattened decision vector: the pair tensor and the effective rates. More...

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

Public Member Functions

std::size_t p2_at (std::size_t j, std::size_t nj, std::size_t k, std::size_t i, std::size_t ni, std::size_t h, std::size_t m) const
const T & p (std::size_t j, std::size_t nj, std::size_t k, std::size_t i, std::size_t ni, std::size_t h, std::size_t m) const
T & p (std::size_t j, std::size_t nj, std::size_t k, std::size_t i, std::size_t ni, std::size_t h, std::size_t m)

Public Attributes

std::vector< T > p2
 p2[j][nj][k][i][ni][h][m], flattened row-major over the seven indices.
std::vector< T > e
 e[i*Kmax + k]
std::size_t M = 0
std::size_t N = 0
std::size_t Kmax = 0
std::size_t MR = 0

Detailed Description

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

The unflattened decision vector: the pair tensor and the effective rates.

Definition at line 124 of file mapqn_qrf_common.h.

Member Function Documentation

◆ p() [1/2]

template<class T>
T & line::mapqn::QrfVars< T >::p ( std::size_t j,
std::size_t nj,
std::size_t k,
std::size_t i,
std::size_t ni,
std::size_t h,
std::size_t m )
inline

Definition at line 138 of file mapqn_qrf_common.h.

References p2, and p2_at().

◆ p() [2/2]

template<class T>
const T & line::mapqn::QrfVars< T >::p ( std::size_t j,
std::size_t nj,
std::size_t k,
std::size_t i,
std::size_t ni,
std::size_t h,
std::size_t m ) const
inline

◆ p2_at()

template<class T>
std::size_t line::mapqn::QrfVars< T >::p2_at ( std::size_t j,
std::size_t nj,
std::size_t k,
std::size_t i,
std::size_t ni,
std::size_t h,
std::size_t m ) const
inline

Member Data Documentation

◆ e

template<class T>
std::vector<T> line::mapqn::QrfVars< T >::e

e[i*Kmax + k]

Definition at line 127 of file mapqn_qrf_common.h.

Referenced by line::mapqn::sub_qrfcon_noblo(), and line::mapqn::sub_qrfvar().

◆ Kmax

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

◆ M

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

Definition at line 128 of file mapqn_qrf_common.h.

Referenced by p2_at(), line::mapqn::qrf_index_map(), and line::mapqn::sub_qrfvar().

◆ MR

template<class T>
std::size_t line::mapqn::QrfVars< T >::MR = 0

Definition at line 128 of file mapqn_qrf_common.h.

Referenced by p2_at(), line::mapqn::qrf_index_map(), and line::mapqn::sub_qrfvar().

◆ N

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

Definition at line 128 of file mapqn_qrf_common.h.

Referenced by p2_at(), line::mapqn::qrf_index_map(), and line::mapqn::sub_qrfvar().

◆ p2

template<class T>
std::vector<T> line::mapqn::QrfVars< T >::p2

p2[j][nj][k][i][ni][h][m], flattened row-major over the seven indices.

Definition at line 126 of file mapqn_qrf_common.h.

Referenced by p(), p(), and line::mapqn::sub_qrfvar().


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