![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The [Q,U,R,T,C,X,lG] of the reference, plus the algorithm that ran. More...
#include <line/solvers/nc/nc_types.h>
Public Attributes | |
| mva::MvaSolution< T > | sol |
| std::string | actualmethod |
| Matrix< T > | STeff |
| the service times of the last pass, MATLAB's STeff | |
| std::shared_ptr< qn::NetworkStruct< T > > | refreshed_struct |
| Set only by the integrated cacheqn branch: the converged struct whose routing carries the ACTUAL hit/miss probabilities, from which the runner derives ArvR and ResidT. | |
| std::string | warning |
| The reference's warning text, verbatim, empty when it did not warn. | |
| std::vector< T > | listcost |
| (h) mean storage cost held by each cache list, K_j = sum_i sigma_i pi_ij. | |
| solvers::CacheMetrics< T > | cache |
| What the cache branches observed, EMPTY on a model with no Cache node. | |
| Matrix< int > | cftp_states |
| Set only by the cftp / cftp.approx route (solver_nc_cftp.h), EMPTY for every other method: the sampled states one draw per row (cftpSamples), the per-draw coalescence horizon or mixing steps (cftpHorizon), the distinct sampled states (space / spaceAggr) and the empirical probability of each (the sampled pi). | |
| std::vector< long > | cftp_horizon |
| std::vector< std::vector< int > > | cftp_space |
| std::vector< T > | cftp_prob |
| solvers::LossnInfo | lossn |
| Set only by the loss-network analyzer (solver_nc_lossn.h), EMPTY for every other model: the inputs getAvgLinkTable re-solves with the same method, MATLAB's self.result.LossN. | |
The [Q,U,R,T,C,X,lG] of the reference, plus the algorithm that ran.
Definition at line 134 of file nc_types.h.
| std::string line::nc::NcSolution< T >::actualmethod |
Definition at line 136 of file nc_types.h.
Referenced by line::nc::solver_nc(), line::nc::solver_nc_avg_table(), line::nc::solver_nc_cftp_solution(), line::nc::solver_nc_conv(), line::nc::solver_nc_dps_analyzer(), line::nc::solver_nc_dt(), line::nc::solver_nc_lcfsqn(), line::nc::solver_nc_mem(), line::nc::solver_nc_oi_analyzer(), line::nc::solver_nc_oi_mixed(), line::nc::solver_nc_pas_is_analyzer(), line::nc::solver_nc_sdr(), line::nc::solver_nc_solve(), and line::nc::solver_ncld().
| solvers::CacheMetrics<T> line::nc::NcSolution< T >::cache |
What the cache branches observed, EMPTY on a model with no Cache node.
It rides here rather than being recomputed by the caller because the analyzers already have it and throwing it away would mean solving the cache twice to answer getAvgCacheTable – and the second solve, being a different call, would be free to disagree with the first.
Definition at line 169 of file nc_types.h.
Referenced by line::nc::solver_nc_avg_table(), and line::nc::solver_nc_solve().
| std::vector<long> line::nc::NcSolution< T >::cftp_horizon |
Definition at line 178 of file nc_types.h.
Referenced by line::nc::solver_nc_cftp_solution().
| std::vector<T> line::nc::NcSolution< T >::cftp_prob |
Definition at line 180 of file nc_types.h.
Referenced by line::nc::solver_nc_cftp_solution().
| std::vector<std::vector<int> > line::nc::NcSolution< T >::cftp_space |
Definition at line 179 of file nc_types.h.
Referenced by line::nc::solver_nc_cftp_solution().
| Matrix<int> line::nc::NcSolution< T >::cftp_states |
Set only by the cftp / cftp.approx route (solver_nc_cftp.h), EMPTY for every other method: the sampled states one draw per row (cftpSamples), the per-draw coalescence horizon or mixing steps (cftpHorizon), the distinct sampled states (space / spaceAggr) and the empirical probability of each (the sampled pi).
Definition at line 177 of file nc_types.h.
Referenced by line::nc::solver_nc_cftp_solution().
| std::vector<T> line::nc::NcSolution< T >::listcost |
(h) mean storage cost held by each cache list, K_j = sum_i sigma_i pi_ij.
EMPTY for every model without item sizes, which is every model but a cache carrying sn.nodeparam.itemsize (ton21cache Sec. IX).
Definition at line 160 of file nc_types.h.
Referenced by line::nc::solver_nc_avg_table().
| solvers::LossnInfo line::nc::NcSolution< T >::lossn |
Set only by the loss-network analyzer (solver_nc_lossn.h), EMPTY for every other model: the inputs getAvgLinkTable re-solves with the same method, MATLAB's self.result.LossN.
Definition at line 186 of file nc_types.h.
Referenced by line::nc::solver_nc_avg_table().
| std::shared_ptr<qn::NetworkStruct<T> > line::nc::NcSolution< T >::refreshed_struct |
Set only by the integrated cacheqn branch: the converged struct whose routing carries the ACTUAL hit/miss probabilities, from which the runner derives ArvR and ResidT.
Empty for every other model. Same role as mva::DispatchResult::refreshed_struct.
Definition at line 144 of file nc_types.h.
Referenced by line::nc::solver_nc_avg_table(), and line::nc::solver_nc_solve().
| mva::MvaSolution<T> line::nc::NcSolution< T >::sol |
Definition at line 135 of file nc_types.h.
Referenced by line::nc::nc_dispatch(), line::nc::solver_nc(), line::nc::solver_nc_analyzer(), line::nc::solver_nc_avg_table(), line::nc::solver_nc_cftp_solution(), line::nc::solver_nc_conv(), line::nc::solver_nc_dps_analyzer(), line::nc::solver_nc_dt(), line::nc::solver_nc_jointaggr(), line::nc::solver_nc_lcfsqn(), line::nc::solver_nc_mem(), line::nc::solver_nc_oi_analyzer(), line::nc::solver_nc_oi_mixed(), line::nc::solver_nc_pas_is_analyzer(), line::nc::solver_nc_sdr(), line::nc::solver_nc_solve(), and line::nc::solver_ncld().
| Matrix<T> line::nc::NcSolution< T >::STeff |
the service times of the last pass, MATLAB's STeff
Definition at line 137 of file nc_types.h.
Referenced by line::nc::solver_nc(), line::nc::solver_nc_jointaggr(), line::nc::solver_nc_sdr(), and line::nc::solver_ncld().
| std::string line::nc::NcSolution< T >::warning |
The reference's warning text, verbatim, empty when it did not warn.
Same role as mva::AvgResult::warning, which solver_nc_run_analyzer copies it into: a statement about HOW the numbers were produced. The cache branch uses it for the two cost-cap conditions – a promotion path the caps block, and a method that has no cost-capped counterpart and was switched – because the port has no line_warning channel and a FLAG no caller reads is the same as saying nothing.
Definition at line 154 of file nc_types.h.
Referenced by line::nc::solver_nc_avg_table(), and line::nc::solver_nc_solve().