![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Extract the delayed-hit retrieval-algorithm inputs from a NetworkStruct, a port of matlab/src/api/retrieval/cache_retrieval_inputs.m. More...
#include <cmath>#include <cstddef>#include <string>#include <vector>#include "line/api/cache/cache_gamma_lp.h"#include "line/api/retrieval/retrieval_fpi_latency.h"#include "line/lang/distribution.h"#include "line/lang/qn/network_struct.h"#include "line/num/number.h"#include "line/util/error.h"#include "line/util/linalg.h"#include "line/util/matrix.h"Go to the source code of this file.
Classes | |
| struct | line::retrieval::RetrievalInputs< T > |
| The [m, lambda, gamma, eta, alpha/T (station), R] the retrieval algorithms read. More... | |
Namespaces | |
| namespace | line |
| namespace | line::retrieval |
Functions | |
| template<class T> | |
| RetrievalInputs< T > | line::retrieval::cache_retrieval_inputs (const qn::NetworkStruct< T > &sn, double lambda_override=-1.0) |
| Extract the delayed-hit retrieval-algorithm inputs from a NetworkStruct, a port of matlab/src/api/retrieval/cache_retrieval_inputs.m. | |
Extract the delayed-hit retrieval-algorithm inputs from a NetworkStruct, a port of matlab/src/api/retrieval/cache_retrieval_inputs.m.
Given a Cache equipped with a retrieval system (set_retrieval_system), rebuilds the inputs the retrieval_* algorithms read: the list capacities m, the per-item arrival rates lambda (readRate * pread), the access factors gamma (cache_gamma_lp), the fetching demands eta, the per-station phase-type service (alpha, T -> RetrievalStationPH), and the per-item routing R over the cache and the retrieval stations. Single read class (IRM); IS / PS / SIRO / FCFS / LCFSPR stations only, with SIRO/FCFS requiring exponential, class-independent service.
ARITHMETIC: transcendental (the downstream FPI does), so this refuses under Rational at the analyzer's guard; here it is field arithmetic plus PH means.
Definition in file cache_retrieval_inputs.h.