![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
MMPP(2) matching mean, SCV, skewness and the autocorrelation decay rate (matlab/lib/kpctoolbox/mmpp/mmpp2_fit2.m). More...
#include "line/api/mam/map_fit_detail.h"#include "line/api/mam/map_moment.h"#include "line/api/mam/map_transform.h"#include "line/api/mam/mmpp2_fit3.h"#include "line/num/number.h"#include "line/util/error.h"Go to the source code of this file.
Classes | |
| struct | line::mam::Mmpp2FitResult< T > |
| Result of the (mean, scv, skew)-parameterized MMPP(2) fits. More... | |
Namespaces | |
| namespace | line |
| namespace | line::mam |
Functions | |
| template<class T> | |
| Mmpp2FitResult< T > | line::mam::mmpp2_fit2 (const T &mean, const T &scv, const T &skew, const T &g2) |
| MMPP(2) with the given mean, SCV, skewness and decay rate g2. | |
MMPP(2) matching mean, SCV, skewness and the autocorrelation decay rate (matlab/lib/kpctoolbox/mmpp/mmpp2_fit2.m).
Converts (mean, scv, skew) to raw moments and delegates to mmpp2_fit3. A unit SCV short-circuits to a Poisson process, where the MMPP(2) closed form is degenerate. MATLAB then warns when the result fails map_isfeasible; this port reports it through the result struct instead, since a warning printed from a library is invisible to a caller that only has the return value.
Gated on transcendental arithmetic: the third moment needs (E2 - E1^2)^(3/2) and mmpp2_fit3 is itself gated.
Definition in file mmpp2_fit2.h.