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

Options of the state-vector coupling. More...

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

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

Public Attributes

int iter_max = 100
double iter_tol = 1e-4
std::string stage_solver = "ctmc"
 Which solver runs each stage: "ctmc", the enumerated chain, or "mam", which flattens a level-dependent QBD into a generator over its level/phase states.
std::size_t mam_cutoff = 10
 cutoff handed to solver_mam_ldqbd for an OPEN stage, which is where the level count comes from; a closed stage takes its population instead and ignores this.
std::string sojourn = "stochastic"
 options.sojourn: stochastic (default) or deterministic.
ctmc::CtmcOptions stage
 Options handed to each stage's SolverCTMC.
std::vector< std::vector< ResetStateVec< T > > > reset_state
 resetStateFun[h][e], an OVERRIDE of the environment's own: a non-empty entry here is applied in place of envObj.arc(h, e).reset_state.

Detailed Description

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

Options of the state-vector coupling.

Definition at line 117 of file solver_env_statevec.h.

Member Data Documentation

◆ iter_max

template<class T>
int line::env::EnvStatevecOptions< T >::iter_max = 100

Definition at line 118 of file solver_env_statevec.h.

◆ iter_tol

template<class T>
double line::env::EnvStatevecOptions< T >::iter_tol = 1e-4

Definition at line 119 of file solver_env_statevec.h.

◆ mam_cutoff

template<class T>
std::size_t line::env::EnvStatevecOptions< T >::mam_cutoff = 10

cutoff handed to solver_mam_ldqbd for an OPEN stage, which is where the level count comes from; a closed stage takes its population instead and ignores this.

Definition at line 134 of file solver_env_statevec.h.

◆ reset_state

template<class T>
std::vector<std::vector<ResetStateVec<T> > > line::env::EnvStatevecOptions< T >::reset_state

resetStateFun[h][e], an OVERRIDE of the environment's own: a non-empty entry here is applied in place of envObj.arc(h, e).reset_state.

An empty entry, or an empty table, defers to the arc, whose empty function is the identity.

Definition at line 145 of file solver_env_statevec.h.

◆ sojourn

template<class T>
std::string line::env::EnvStatevecOptions< T >::sojourn = "stochastic"

options.sojourn: stochastic (default) or deterministic.

Definition at line 136 of file solver_env_statevec.h.

◆ stage

template<class T>
ctmc::CtmcOptions line::env::EnvStatevecOptions< T >::stage

Options handed to each stage's SolverCTMC.

Definition at line 138 of file solver_env_statevec.h.

◆ stage_solver

template<class T>
std::string line::env::EnvStatevecOptions< T >::stage_solver = "ctmc"

Which solver runs each stage: "ctmc", the enumerated chain, or "mam", which flattens a level-dependent QBD into a generator over its level/phase states.

The MAM backend only accepts what solver_mam_ldqbd accepts – one class and either Delay+Queue or Source+Queue – and it carries NO cache state, so the hit/miss blend is skipped there, as the reference skips it.

Definition at line 128 of file solver_env_statevec.h.


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