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

What the state-vector coupling reports. More...

#include <line/solvers/env/solver_env_statevec.h>

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

Public Attributes

Matrix< T > QN
 Environment-averaged metrics, (nstations x nclasses).
Matrix< T > UN
Matrix< T > TN
std::vector< Matrix< T > > QStage
 Per-stage, sojourn-averaged metrics.
std::vector< Matrix< T > > UStage
std::vector< Matrix< T > > TStage
std::vector< std::vector< T > > pi_enter
 The entry distributions the fixed point converged to, per stage.
std::vector< std::vector< T > > pi_timeavg
 The sojourn-end distributions the blend was taken over, per stage.
std::map< std::size_t, std::vector< T > > hit_prob
 aggregateCacheBlend_: environment-blended hit and miss probabilities, keyed by the 1-based node index of each Cache.
std::map< std::size_t, std::vector< T > > miss_prob
int iterations = 0
bool converged = false

Detailed Description

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

What the state-vector coupling reports.

Definition at line 172 of file solver_env_statevec.h.

Member Data Documentation

◆ converged

template<class T>
bool line::env::EnvStatevecSolution< T >::converged = false

Definition at line 190 of file solver_env_statevec.h.

Referenced by line::env::SolverEnvStatevec< T >::solve().

◆ hit_prob

template<class T>
std::map<std::size_t, std::vector<T> > line::env::EnvStatevecSolution< T >::hit_prob

aggregateCacheBlend_: environment-blended hit and miss probabilities, keyed by the 1-based node index of each Cache.

The reference writes these onto the stage-one node objects with setResultHitProb; a struct-level port has no node object to write to, so they are reported here instead. An entry is NaN for a class the cache never serves.

Definition at line 188 of file solver_env_statevec.h.

◆ iterations

template<class T>
int line::env::EnvStatevecSolution< T >::iterations = 0

Definition at line 189 of file solver_env_statevec.h.

Referenced by line::env::SolverEnvStatevec< T >::solve().

◆ miss_prob

template<class T>
std::map<std::size_t, std::vector<T> > line::env::EnvStatevecSolution< T >::miss_prob

Definition at line 188 of file solver_env_statevec.h.

◆ pi_enter

template<class T>
std::vector<std::vector<T> > line::env::EnvStatevecSolution< T >::pi_enter

The entry distributions the fixed point converged to, per stage.

Definition at line 178 of file solver_env_statevec.h.

◆ pi_timeavg

template<class T>
std::vector<std::vector<T> > line::env::EnvStatevecSolution< T >::pi_timeavg

The sojourn-end distributions the blend was taken over, per stage.

Definition at line 180 of file solver_env_statevec.h.

◆ QN

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

Environment-averaged metrics, (nstations x nclasses).

Definition at line 174 of file solver_env_statevec.h.

◆ QStage

template<class T>
std::vector<Matrix<T> > line::env::EnvStatevecSolution< T >::QStage

Per-stage, sojourn-averaged metrics.

Definition at line 176 of file solver_env_statevec.h.

◆ TN

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

Definition at line 174 of file solver_env_statevec.h.

◆ TStage

template<class T>
std::vector<Matrix<T> > line::env::EnvStatevecSolution< T >::TStage

Definition at line 176 of file solver_env_statevec.h.

◆ UN

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

Definition at line 174 of file solver_env_statevec.h.

◆ UStage

template<class T>
std::vector<Matrix<T> > line::env::EnvStatevecSolution< T >::UStage

Definition at line 176 of file solver_env_statevec.h.


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