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

MMPP(2) matching three moments and the lag-1 autocorrelation (matlab/lib/kpctoolbox/mmpp/mmpp2_fit.m). More...

Include dependency graph for mmpp2_fit.h:

Go to the source code of this file.

Namespaces

namespace  line
namespace  line::mam

Functions

template<class T>
Map< T > line::mam::mmpp2_fit (const T &E1, const T &E2, const T &E3, const T &ACFLAG1)
 MMPP(2) with moments (E1, E2, E3) and lag-1 autocorrelation ACFLAG1.

Detailed Description

MMPP(2) matching three moments and the lag-1 autocorrelation (matlab/lib/kpctoolbox/mmpp/mmpp2_fit.m).

The reference duplicates the closed form of mmpp2_fit3 verbatim, differing only in that it converts the lag-1 autocorrelation into the decay rate first, G2 = ACFLAG1 / ((1 - 1/SCV)/2); the denominator is the lag-0 autocorrelation of an MMPP(2), so ACFLAG1 is representable only in [0, (1 - 1/SCV)/2]. The port calls mmpp2_fit3 rather than repeating the expression, which keeps the two in step by construction.

Gated on transcendental arithmetic through mmpp2_fit3.

Definition in file mmpp2_fit.h.