![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Turn a raw per-class trace into the sample set MINPS estimates from. More...
#include <algorithm>#include <cstddef>#include <vector>#include "line/api/infer/infer_get_qlen_arrival.h"#include "line/api/infer/infer_mlps.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::api::MinpsClassTrace |
| One class's raw trace: when its jobs arrived, and how long they took. More... | |
| struct | line::api::MinpsSetup |
| The prepared sample set, plus what the preparation had to decide. More... | |
Namespaces | |
| namespace | line |
| namespace | line::api |
Functions | |
| MinpsSetup | line::api::infer_minps_setup (const std::vector< MinpsClassTrace > &traces, std::size_t initSample, std::size_t sampleSize) |
| Turn a raw per-class trace into the sample set MINPS estimates from. | |
| std::vector< double > | line::api::infer_minps_from_trace (const std::vector< MinpsClassTrace > &traces, std::size_t initSample, std::size_t sampleSize, double nCores) |
| Prepare the trace and run MINPS on it, as the reference's last line does. | |
Turn a raw per-class trace into the sample set MINPS estimates from.
Port of matlab/src/api/infer/infer_minps_setup.m, which is MATLAB-ONLY – there is no JAR or native-Python twin.
WHAT IT DOES, in the reference's order, because each step changes what the estimator sees:
ARITHMETIC: double, following the estimator it feeds.
Definition in file infer_minps_setup.h.