LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
solver_mva_polling.h File Reference

The multiclass open polling analyzer (ladder branch 5). More...

Include dependency graph for solver_mva_polling.h:

Go to the source code of this file.

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::mva

Functions

template<class T>
std::string line::mva::polling_reason (const qn::NetworkStruct< T > &L, const std::string &method)
 Why SolverMVA cannot answer a model holding a POLLING station under method, or "" when it can (or there is no polling station).
template<class T>
std::string line::mva::polling_poisson_warning (const qn::NetworkStruct< T > &L)
 The reference's line_warning for method 'default' when a polled class has a non-Poisson arrival process (SCV != 1): the station-time formulas use only the arrival rate, so the answer treats it as Poisson.
template<class T>
MvaSolution< T > line::mva::solver_mva_polling_analyzer (const qn::NetworkStruct< T > &L, const MvaOptions &opt)
 Port of solver_mva_polling_analyzer.m.

Detailed Description

The multiclass open polling analyzer (ladder branch 5).

Templated port of matlab/src/solvers/MVA/solver_mva_polling_analyzer.m.

A polling system is a single server that visits each class's buffer in turn, switching over between them. Each CLASS is a queue of the polling model, and the mean waiting time of every class follows from the pseudo-conservation laws of its discipline: EXHAUSTIVE (serve until the buffer empties), GATED (serve exactly what was present at the visit), 1-limited (one job per visit) and DECREMENTING. The polling_qsys_* routines carry those laws; this analyzer builds their two-moment inputs from the arrival, service and switchover distributions and maps the resulting waiting times back onto the per-class [Q,U,R,T] block.

SUPPORTED. One server and one polling type: EXHAUSTIVE, GATED, K-limited (the polling_qsys_1limited law at K = 1, Fuhrmann's relation polling_qsys_klimited for K > 1, default method only) and DECREMENTING (symmetric systems exactly, asymmetric ones by the pseudo-conservation-law approximation), and G-limited with K = 1 (which is 1-limited). A polling table is answered exactly by polling_qsys_table for EXHAUSTIVE / GATED with Poisson arrivals; a load-dependent order or a visit timer is refused. exact is available only for EXHAUSTIVE / GATED with Poisson arrivals on the polled classes. polling_reason is the one gate, read by solver_mva_run_analyzer ahead of the dispatch and again here.

Arithmetic: TRANSCENDENTAL. The pseudo-conservation laws are field arithmetic, but the input SCVs come from distribution moments that are only defined at a transcendental T.

Definition in file solver_mva_polling.h.