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

Variable layout: UN, then QN, then B, in the reference's declaration order. More...

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

Public Member Functions

 LrMvaIndex ()
 LrMvaIndex (int m, int k)
std::size_t UN (int i, int k) const
std::size_t QN (int i, int k) const
std::size_t B (int j, int k, int i) const
std::size_t num_vars () const

Public Attributes

int M = 0
int K = 0
std::size_t off_UN = 0
std::size_t off_QN = 0
std::size_t off_B = 0
std::size_t total = 0

Detailed Description

Variable layout: UN, then QN, then B, in the reference's declaration order.

Definition at line 119 of file mapqn_bnd_lr_mva.h.

Constructor & Destructor Documentation

◆ LrMvaIndex() [1/2]

line::mapqn::LrMvaIndex::LrMvaIndex ( )
inline

Definition at line 123 of file mapqn_bnd_lr_mva.h.

◆ LrMvaIndex() [2/2]

line::mapqn::LrMvaIndex::LrMvaIndex ( int m,
int k )
inline

Definition at line 124 of file mapqn_bnd_lr_mva.h.

References K, M, off_B, off_QN, off_UN, and total.

Member Function Documentation

◆ B()

std::size_t line::mapqn::LrMvaIndex::B ( int j,
int k,
int i ) const
inline

Definition at line 139 of file mapqn_bnd_lr_mva.h.

References K, M, and off_B.

◆ num_vars()

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

Definition at line 146 of file mapqn_bnd_lr_mva.h.

References total.

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

◆ QN()

std::size_t line::mapqn::LrMvaIndex::QN ( int i,
int k ) const
inline

Definition at line 135 of file mapqn_bnd_lr_mva.h.

References K, and off_QN.

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

◆ UN()

std::size_t line::mapqn::LrMvaIndex::UN ( int i,
int k ) const
inline

Definition at line 131 of file mapqn_bnd_lr_mva.h.

References K, and off_UN.

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

Member Data Documentation

◆ K

int line::mapqn::LrMvaIndex::K = 0

Definition at line 120 of file mapqn_bnd_lr_mva.h.

Referenced by B(), LrMvaIndex(), QN(), and UN().

◆ M

int line::mapqn::LrMvaIndex::M = 0

Definition at line 120 of file mapqn_bnd_lr_mva.h.

Referenced by B(), and LrMvaIndex().

◆ off_B

std::size_t line::mapqn::LrMvaIndex::off_B = 0

Definition at line 121 of file mapqn_bnd_lr_mva.h.

Referenced by B(), and LrMvaIndex().

◆ off_QN

std::size_t line::mapqn::LrMvaIndex::off_QN = 0

Definition at line 121 of file mapqn_bnd_lr_mva.h.

Referenced by LrMvaIndex(), and QN().

◆ off_UN

std::size_t line::mapqn::LrMvaIndex::off_UN = 0

Definition at line 121 of file mapqn_bnd_lr_mva.h.

Referenced by LrMvaIndex(), and UN().

◆ total

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

Definition at line 121 of file mapqn_bnd_lr_mva.h.

Referenced by LrMvaIndex(), and num_vars().


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