![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
MAP(2) matching mean, SCV, skewness and the index of dispersion for counts (matlab/lib/kpctoolbox/mmpp/mmpp2_fit1.m). More...
#include "line/api/mam/map2_fit.h"#include "line/api/mam/map_fit_detail.h"#include "line/api/mam/map_moment.h"#include "line/num/number.h"#include "line/util/error.h"Go to the source code of this file.
Namespaces | |
| namespace | line |
| namespace | line::mam |
Functions | |
| template<class T> | |
| Map2FitResult< T > | line::mam::mmpp2_fit1 (const T &mean, const T &scv, const T &skew, const T &idc) |
| MAP(2) with the given mean, SCV, skewness and IDC. | |
MAP(2) matching mean, SCV, skewness and the index of dispersion for counts (matlab/lib/kpctoolbox/mmpp/mmpp2_fit1.m).
The four characteristics are converted to the (e1, e2, e3, g2) coordinates of map2_fit: E2 = (1 + scv) E1^2, g2 = -(scv - idc)/(idc - 1), E3 = -(2 E1^3 - 3 E1 E2 - skew (E2 - E1^2)^(3/2)), with skew = -1 acting as the sentinel that lets map2_fit choose E3 itself.
Gated on transcendental arithmetic: the third moment needs (E2 - E1^2)^(3/2) and map2_fit is itself gated.
Definition in file mmpp2_fit1.h.