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

The fields of sn.nodeparam{cache} that da_cache_isolate reads. More...

#include <line/api/da/da_cache_isolate.h>

Collaboration diagram for line::da::CacheParam< T >:

Public Attributes

std::vector< int > itemcap
 (h) list capacities
std::size_t nitems = 0
 n
std::vector< std::vector< T > > pread
 (u) x (n), empty row = NaN
std::vector< std::vector< Matrix< T > > > accost
 (u) x (n) of (h+1)x(h+1), or empty

Detailed Description

template<class T>
struct line::da::CacheParam< T >

The fields of sn.nodeparam{cache} that da_cache_isolate reads.

pread[v] is the read distribution of class v over the n items; an EMPTY vector encodes MATLAB's NaN placeholder, i.e. "class v does not read this cache", and leaves that class's rates at zero.

accost[v][k] is the ((h+1) x (h+1)) list-to-list routing matrix of class v on item k. Leaving accost empty selects the reference default, the linear cache in which an item moves from list l to list l+1 on a hit and stays in the last list once it gets there.

Definition at line 60 of file da_cache_isolate.h.

Member Data Documentation

◆ accost

template<class T>
std::vector<std::vector<Matrix<T> > > line::da::CacheParam< T >::accost

◆ itemcap

template<class T>
std::vector<int> line::da::CacheParam< T >::itemcap

◆ nitems

template<class T>
std::size_t line::da::CacheParam< T >::nitems = 0

◆ pread

template<class T>
std::vector<std::vector<T> > line::da::CacheParam< T >::pread

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