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

Kobayashi diffusion approximation for the G/I/G/1 queue. More...

Include dependency graph for qsys_gig1_approx_kobayashi.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::qsys

Functions

template<class T>
QsysResult< T > line::qsys::qsys_gig1_approx_kobayashi (const T &lambda, const T &mu, const T &ca, const T &cs)
 Kobayashi diffusion approximation for the G/I/G/1 queue.

Detailed Description

Kobayashi diffusion approximation for the G/I/G/1 queue.

Templated port of matlab/src/api/qsys/qsys_gig1_approx_kobayashi.m, cross-checked against jar/src/main/java/jline/api/qsys/Qsys_gig1_approx_kobayashi.java (identical).

rhohat = exp(-2(1-rho)/(rho(ca^2 + cs^2/rho))) W = rhohat/(1-rhohat)/lambda

The geometric fit carries an exp, so this requires transcendental arithmetic and cannot be instantiated at T = Rational.

Definition in file qsys_gig1_approx_kobayashi.h.