5#ifndef LINE_SOLVERS_NC_SOLVER_NC_CACHEQN_RETRIEVAL_H
6#define LINE_SOLVERS_NC_SOLVER_NC_CACHEQN_RETRIEVAL_H
70 "solver_nc_cacheqn_retrieval_analyzer: the closed delayed-hit decomposition alternates "
71 "two tolerance-stopped solves and needs transcendental arithmetic");
74 const std::size_t K =
sn.nclasses;
92 out.
sol.sol.iter =
static_cast<int>(r.
iter);
96 out.
sol.sol.method =
"fpi";
97 out.
sol.actualmethod =
"fpi";
103 for (
const auto& kv :
sn.nodeparam)
104 if (kv.second.itemcap.size() > h) h = kv.second.itemcap.size();
UnsupportedError(const std::string &what)
A network plus its refreshed NetworkStruct.
Decomposition-aggregation driver for a CLOSED integrated cache-queueing model whose Cache carries a d...
The exception types the port throws.
CacheqnRetrievalResult< T > da_cacheqn_retrieval(qn::NetworkStruct< T > sn, const std::function< mva::MvaSolution< T >(const qn::NetworkStruct< T > &)> &netfun, const mva::MvaOptions &opt)
Port of da_cacheqn_retrieval.
NcCacheqnRetrievalSolution< T > solver_nc_cacheqn_retrieval_analyzer(const qn::NetworkStruct< T > &sn, const NcSolverOptions &opt)
Port of solver_nc_cacheqn_retrieval_analyzer.m.
NcSolution< T > nc_dispatch(const qn::NetworkStruct< T > &sn, const NcSolverOptions &opt)
Port of @@SolverNC/ncDispatch.m: the inner solve of the fork-join fixed point, which is the load-depe...
Port of solver_nc_analyzer.m, solver_ncld_analyzer.m and @@SolverNC/ncDispatch.m: one inner solve,...
Controls and result shape shared by the normalizing-constant analyzers.
A queueing network and its refreshed NetworkStruct.
What the delayed-hit decomposition returns.
std::vector< T > hitprob
(K) P(item cached), read class only
std::vector< T > delayedprob
(K) zero on this path; see the header
mva::MvaSolution< T > res
std::vector< T > missprob
(K)
The options SolverMVA reads.
Class-level results, the [Q,U,R,T,C,X] of the MATLAB analyzers.
What the closed delayed-hit analyzer returns.
std::vector< T > delayedprob
(K) zero on this path, by the reference's convention
std::vector< T > missprob
(K) the delayed fraction is folded in here
std::vector< T > hitprob
(K) P(item cached)
std::vector< T > latency
(K) NaN: not computed on this path
Matrix< T > hitproblist
(K x h) NaN: not computed on this path
The [Q,U,R,T,C,X,lG] of the reference, plus the algorithm that ran.
Controls, defaulting to SolverOptions('NC') in the reference.