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

Exact mean response time of the M/M/1 queue. More...

Include dependency graph for qsys_mm1.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::qsys

Functions

template<class T>
QsysResult< T > line::qsys::qsys_mm1 (const T &lambda, const T &mu)
 Exact mean response time of the M/M/1 queue.

Detailed Description

Exact mean response time of the M/M/1 queue.

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

rho = lambda/mu, W = rho/(1-rho)/lambda

Pure field arithmetic, so the function is exact for T = Rational.

Definition in file qsys_mm1.h.