LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::mapqn::QrBasIndex Struct Reference

Variable layout: p2(j,nj,kj,i,ni,hi,m) then e(i,ki). More...

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

Collaboration diagram for line::mapqn::QrBasIndex:

Public Member Functions

 QrBasIndex ()
 QrBasIndex (int m, int n, const std::vector< int > &k, int mr)
std::size_t half (int i, int ni, int h) const
std::size_t p2 (int j, int nj, int kj, int i, int ni, int hi, int m) const
std::size_t e (int i, int ki) const
std::size_t num_vars () const

Public Attributes

int M = 0
int N = 0
int MR = 0
std::vector< int > K
std::vector< int > cumK
std::size_t sumK = 0
std::size_t block = 0
std::size_t off_e = 0
std::size_t total = 0

Detailed Description

Variable layout: p2(j,nj,kj,i,ni,hi,m) then e(i,ki).

The pairwise half-index is the one the rest of the mapqn family uses, so the blocking configuration is the FASTEST varying subscript here. The reference nests it differently (j, nj, kj, i, m, ni, hi); order does not affect the polytope, only how the two assemblies diff.

Definition at line 165 of file mapqn_qr_bounds_bas.h.

Constructor & Destructor Documentation

◆ QrBasIndex() [1/2]

line::mapqn::QrBasIndex::QrBasIndex ( )
inline

Definition at line 171 of file mapqn_qr_bounds_bas.h.

◆ QrBasIndex() [2/2]

line::mapqn::QrBasIndex::QrBasIndex ( int m,
int n,
const std::vector< int > & k,
int mr )
inline

Definition at line 172 of file mapqn_qr_bounds_bas.h.

References block, cumK, K, M, MR, N, off_e, sumK, and total.

Member Function Documentation

◆ e()

std::size_t line::mapqn::QrBasIndex::e ( int i,
int ki ) const
inline

Definition at line 190 of file mapqn_qr_bounds_bas.h.

References cumK, and off_e.

Referenced by line::mapqn::mapqn_qr_bounds_bas(), and line::mapqn::mapqn_qrf_bas().

◆ half()

std::size_t line::mapqn::QrBasIndex::half ( int i,
int ni,
int h ) const
inline

Definition at line 181 of file mapqn_qr_bounds_bas.h.

References cumK, K, and N.

Referenced by p2().

◆ num_vars()

std::size_t line::mapqn::QrBasIndex::num_vars ( ) const
inline

Definition at line 193 of file mapqn_qr_bounds_bas.h.

References total.

Referenced by line::mapqn::qrfbas::bas_polytope(), and line::mapqn::mapqn_qr_bounds_bas().

◆ p2()

std::size_t line::mapqn::QrBasIndex::p2 ( int j,
int nj,
int kj,
int i,
int ni,
int hi,
int m ) const
inline

Member Data Documentation

◆ block

std::size_t line::mapqn::QrBasIndex::block = 0

Definition at line 169 of file mapqn_qr_bounds_bas.h.

Referenced by p2(), and QrBasIndex().

◆ cumK

std::vector<int> line::mapqn::QrBasIndex::cumK

Definition at line 168 of file mapqn_qr_bounds_bas.h.

Referenced by e(), half(), and QrBasIndex().

◆ K

std::vector<int> line::mapqn::QrBasIndex::K

◆ M

int line::mapqn::QrBasIndex::M = 0

◆ MR

int line::mapqn::QrBasIndex::MR = 0

◆ N

int line::mapqn::QrBasIndex::N = 0

Definition at line 166 of file mapqn_qr_bounds_bas.h.

Referenced by half(), and QrBasIndex().

◆ off_e

std::size_t line::mapqn::QrBasIndex::off_e = 0

Definition at line 169 of file mapqn_qr_bounds_bas.h.

Referenced by e(), and QrBasIndex().

◆ sumK

std::size_t line::mapqn::QrBasIndex::sumK = 0

Definition at line 169 of file mapqn_qr_bounds_bas.h.

Referenced by QrBasIndex().

◆ total

std::size_t line::mapqn::QrBasIndex::total = 0

Definition at line 169 of file mapqn_qr_bounds_bas.h.

Referenced by num_vars(), and QrBasIndex().


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