![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
M3PP(2, m) fitted to the counting process of a multi-class TRACE (matlab/lib/m3a/m3a/m3pp/m3pp2m_fitc_trace.m), and the analogous MMPP(2) entry point for a given MAP (matlab/lib/kpctoolbox/mmpp/mmpp2_fitc_theoretical.m). More...
#include <cstddef>#include <string>#include <vector>#include "line/api/mam/m3pp22_fitc_cov.h"#include "line/api/mam/m3pp2m_fitc.h"#include "line/api/mam/m3pp2m_fitc_approx.h"#include "line/api/mam/m3pp_superpos_fitc.h"#include "line/api/mam/map_count_mean.h"#include "line/api/mam/map_count_moment.h"#include "line/api/mam/map_count_var.h"#include "line/api/trace/mtrace_iat2counts.h"#include "line/num/number.h"#include "line/util/error.h"#include "line/util/matrix.h"Go to the source code of this file.
Classes | |
| struct | line::mam::M3pp2mFitcTraceResult< T > |
| Result of m3pp2m_fitc_trace. More... | |
Namespaces | |
| namespace | line |
| namespace | line::mam |
Functions | |
| template<class T> | |
| M3pp2mFitcTraceResult< T > | line::mam::m3pp2m_fitc_trace (const std::vector< T > &Tv, const std::vector< int > &A, const std::string &method, const T &t1, const T &tinf) |
| Fit a multi-class trace with an M3PP(2, m) on its counting process. | |
| template<class T> | |
| M3pp2mFitcTraceResult< T > | line::mam::m3pp2m_fitc_trace (const std::vector< T > &Tv, const std::vector< int > &A, const std::string &method) |
| m3pp2m_fitc_trace with the reference's default time scales. | |
| template<class T> | |
| Mmpp2FitcResult< T > | line::mam::mmpp2_fitc_theoretical (const Map< T > &mp, const T &t1, const T &t2, const T &tinf) |
| MMPP(2) fitted to the counting characteristics of a GIVEN MAP (matlab/lib/kpctoolbox/mmpp/mmpp2_fitc_theoretical.m). | |
| template<class T> | |
| Mmpp2FitcResult< T > | line::mam::mmpp2_fitc_theoretical (const Map< T > &mp) |
| mmpp2_fitc_theoretical with the reference's default time scales 1, 10, 1e8. | |
M3PP(2, m) fitted to the counting process of a multi-class TRACE (matlab/lib/m3a/m3a/m3pp/m3pp2m_fitc_trace.m), and the analogous MMPP(2) entry point for a given MAP (matlab/lib/kpctoolbox/mmpp/mmpp2_fitc_theoretical.m).
The trace is reduced to counting windows with mtrace_iat2counts at two resolutions, and the aggregate characteristics (rate, IDC at t1 and at tinf, third central moment at t2) plus the per-class ones are read off those windows; the four methods then differ only in WHICH per-class statistic they feed to the corresponding fitter:
Two conventions of the reference are load-bearing and are kept verbatim. First, bt2 is set EQUAL to bt1 rather than measured at t2: the reference counts at t1 and reuses the window (mNt2 = mNt1), so the second time scale enters only through t2 = t1 + mean(T) in the fitter's own algebra. Second, t3 = tinf and not t1; the reference carries a comment recording that change, and it is what sets how far out the per-class characteristics are matched.
MATLAB's var normalizes by n - 1 and its cov likewise; both are used here with the same denominator, since the fitted characteristics are compared against the reference's.
Gated on transcendental arithmetic, through the fitters.
Definition in file m3pp2m_fitc_trace.h.