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

The limit solver. More...

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

Classes

class  CacheAccum
 The RATE accumulator behind the cache blend, SolverENV.accumCacheMetric. More...

Public Member Functions

 SolverEnvLimit (Environment< T > &e, const EnvOptions &o)
 SolverEnvLimit (Environment< T > &e, const EnvOptions &o, EnvStageAvgFn< T > stage_fn)
 With an injected stage solver: stage_fn runs every stage, exactly as the reference calls its factory.
EnvLimitSolution solve ()

Static Public Member Functions

static EnvStageAvg< T > ctmc_stage_steady (const qn::NetworkStruct< T > &sn, double cutoff)
 One stage in steady state under the enumerated CTMC at cutoff, with its cache split, which is exact (read off the chain).

Detailed Description

template<class T>
class line::env::SolverEnvLimit< T >

The limit solver.

envObj must already carry a model per stage; init() is called here, as solveEnvLimit calls self.init() before reading probEnv.

Definition at line 139 of file solver_env_limit.h.

Constructor & Destructor Documentation

◆ SolverEnvLimit() [1/2]

template<class T>
line::env::SolverEnvLimit< T >::SolverEnvLimit ( Environment< T > & e,
const EnvOptions & o )
inline

Definition at line 141 of file solver_env_limit.h.

◆ SolverEnvLimit() [2/2]

template<class T>
line::env::SolverEnvLimit< T >::SolverEnvLimit ( Environment< T > & e,
const EnvOptions & o,
EnvStageAvgFn< T > stage_fn )
inline

With an injected stage solver: stage_fn runs every stage, exactly as the reference calls its factory.

opt.stage_solver is then not consulted, since the caller has already named the solver by handing one over.

Definition at line 148 of file solver_env_limit.h.

Member Function Documentation

◆ ctmc_stage_steady()

template<class T>
EnvStageAvg< T > line::env::SolverEnvLimit< T >::ctmc_stage_steady ( const qn::NetworkStruct< T > & sn,
double cutoff )
inlinestatic

◆ solve()


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