![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
What the ENV entry reports: the environment-blended metrics, and the whole result of whichever coupling produced them. More...
#include <line/solvers/env/env_dispatch.h>
Public Attributes | |
| Matrix< T > | QN |
| Environment-averaged metrics, (nstations x nclasses). | |
| Matrix< T > | UN |
| Matrix< T > | TN |
| std::string | method |
| What ran: meanfield, statevec, or the limit avg / dec. | |
| bool | compressed = false |
| True when the environment was aggregated before the coupling ran. | |
| EnvCompression< T > | compression {} |
| The aggregation, when there was one; its eps against epsMAX says whether it was meaningful. | |
| EnvMeanfieldSolution< T > | meanfield {} |
| Populated on the mean-field path. | |
| EnvStatevecSolution< T > | statevec {} |
| Populated on the state-vector path. | |
| EnvLimitSolution | limit {} |
| Populated on the closed-form limit path (avg, dec). | |
| int | iterations = 0 |
| ZERO ON THE LIMIT PATH, and that is the answer rather than a gap: a limit reads the environment once and iterates nothing, so reporting an iteration count would describe a fixed point that never ran. | |
| bool | converged = false |
| True on the limit path: a closed form has converged by construction. | |
What the ENV entry reports: the environment-blended metrics, and the whole result of whichever coupling produced them.
The sub-result is kept rather than reduced away because the two couplings report different things beside the means – the mean-field one the per-stage exit metrics and the entry queue lengths its fixed point converged to, the state-vector one the entry and sojourn-end DISTRIBUTIONS and the cache blend – and a caller who chose a coupling chose it for those.
Definition at line 86 of file env_dispatch.h.
| bool line::env::EnvAnalyzerSolution< T >::compressed = false |
True when the environment was aggregated before the coupling ran.
Definition at line 92 of file env_dispatch.h.
Referenced by line::env::solver_env().
| EnvCompression<T> line::env::EnvAnalyzerSolution< T >::compression {} |
The aggregation, when there was one; its eps against epsMAX says whether it was meaningful.
Definition at line 94 of file env_dispatch.h.
Referenced by line::env::solver_env().
| bool line::env::EnvAnalyzerSolution< T >::converged = false |
True on the limit path: a closed form has converged by construction.
The flag says whether the numbers can be trusted as the method's own answer, not whether a loop ended, and a limit's answer is always its own.
Definition at line 112 of file env_dispatch.h.
| int line::env::EnvAnalyzerSolution< T >::iterations = 0 |
ZERO ON THE LIMIT PATH, and that is the answer rather than a gap: a limit reads the environment once and iterates nothing, so reporting an iteration count would describe a fixed point that never ran.
Definition at line 106 of file env_dispatch.h.
| EnvLimitSolution line::env::EnvAnalyzerSolution< T >::limit {} |
Populated on the closed-form limit path (avg, dec).
Definition at line 100 of file env_dispatch.h.
Referenced by line::env::solver_env(), and line::env::solver_env().
| EnvMeanfieldSolution<T> line::env::EnvAnalyzerSolution< T >::meanfield {} |
Populated on the mean-field path.
Definition at line 96 of file env_dispatch.h.
Referenced by line::env::solver_env(), and line::env::solver_env().
| std::string line::env::EnvAnalyzerSolution< T >::method |
What ran: meanfield, statevec, or the limit avg / dec.
Definition at line 90 of file env_dispatch.h.
| Matrix<T> line::env::EnvAnalyzerSolution< T >::QN |
Environment-averaged metrics, (nstations x nclasses).
Definition at line 88 of file env_dispatch.h.
| EnvStatevecSolution<T> line::env::EnvAnalyzerSolution< T >::statevec {} |
Populated on the state-vector path.
Definition at line 98 of file env_dispatch.h.
Referenced by line::env::solver_env(), and line::env::solver_env().
| Matrix<T> line::env::EnvAnalyzerSolution< T >::TN |
Definition at line 88 of file env_dispatch.h.
| Matrix<T> line::env::EnvAnalyzerSolution< T >::UN |
Definition at line 88 of file env_dispatch.h.