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

Everything applyCompression computes, plus the compressed environment. More...

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

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

Public Attributes

MacroPartition MS
std::shared_ptr< Environment< T > > env
 The compressed environment.
Matrix< T > E0
Matrix< T > Eutil
Matrix< T > macro_rate
 computeMacroRate(i,j)
std::vector< T > p
 micro stationary vector from the decomposition
std::vector< T > pmicro
 within-macro-state conditional probabilities
std::vector< T > pmacro
 pMacro, the macro-state probabilities
Matrix< double > prob_orig
 the macro embedding weights newEmbweight
eps
epsMAX
q
bool compressible = false
 eps <= epsMAX: below this the aggregation is meaningful, above it is not.

Detailed Description

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

Everything applyCompression computes, plus the compressed environment.

Definition at line 367 of file solver_env_meanfield.h.

Member Data Documentation

◆ compressible

template<class T>
bool line::env::EnvCompression< T >::compressible = false

eps <= epsMAX: below this the aggregation is meaningful, above it is not.

Definition at line 385 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ E0

template<class T>
Matrix<T> line::env::EnvCompression< T >::E0

Definition at line 377 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ env

template<class T>
std::shared_ptr<Environment<T> > line::env::EnvCompression< T >::env

The compressed environment.

HELD BY SHARED POINTER because SolverEnv<T> stores a reference to the environment it solves, so the compressed one has to outlive the solver; returning it by value would make that the caller's problem to get right, and getting it wrong is a dangling reference rather than a wrong number.

Definition at line 376 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ eps

template<class T>
T line::env::EnvCompression< T >::eps

Definition at line 383 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ epsMAX

template<class T>
T line::env::EnvCompression< T >::epsMAX

Definition at line 383 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ Eutil

template<class T>
Matrix<T> line::env::EnvCompression< T >::Eutil

Definition at line 377 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ macro_rate

template<class T>
Matrix<T> line::env::EnvCompression< T >::macro_rate

computeMacroRate(i,j)

Definition at line 378 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ MS

◆ p

template<class T>
std::vector<T> line::env::EnvCompression< T >::p

micro stationary vector from the decomposition

Definition at line 379 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ pmacro

template<class T>
std::vector<T> line::env::EnvCompression< T >::pmacro

pMacro, the macro-state probabilities

Definition at line 381 of file solver_env_meanfield.h.

Referenced by line::env::env_apply_macro_probabilities(), and line::env::env_compress().

◆ pmicro

template<class T>
std::vector<T> line::env::EnvCompression< T >::pmicro

within-macro-state conditional probabilities

Definition at line 380 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().

◆ prob_orig

template<class T>
Matrix<double> line::env::EnvCompression< T >::prob_orig

the macro embedding weights newEmbweight

Definition at line 382 of file solver_env_meanfield.h.

Referenced by line::env::env_apply_macro_probabilities(), and line::env::env_compress().

◆ q

template<class T>
T line::env::EnvCompression< T >::q

Definition at line 383 of file solver_env_meanfield.h.

Referenced by line::env::env_compress().


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