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

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>

Collaboration diagram for line::env::EnvAnalyzerSolution< T >:

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.

Detailed Description

template<class T>
struct line::env::EnvAnalyzerSolution< T >

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.

Member Data Documentation

◆ compressed

template<class T>
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().

◆ compression

template<class T>
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().

◆ converged

template<class T>
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.

◆ iterations

template<class T>
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.

◆ limit

template<class T>
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().

◆ meanfield

template<class T>
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().

◆ method

template<class T>
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.

◆ QN

template<class T>
Matrix<T> line::env::EnvAnalyzerSolution< T >::QN

Environment-averaged metrics, (nstations x nclasses).

Definition at line 88 of file env_dispatch.h.

◆ statevec

template<class T>
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().

◆ TN

template<class T>
Matrix<T> line::env::EnvAnalyzerSolution< T >::TN

Definition at line 88 of file env_dispatch.h.

◆ UN

template<class T>
Matrix<T> line::env::EnvAnalyzerSolution< T >::UN

Definition at line 88 of file env_dispatch.h.


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