LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::lal::TrafficFitBackend Struct Reference

Replaceable numerical kernels of fit_traffic, so a test can intercept them as the Python tests monkeypatch mmap_ops.mmap_compress and m3a.m3pp2m_fitc_theoretical. More...

#include <line/lang/lal/mam_traffic.h>

Public Attributes

std::function< MarkedMatrices(const MarkedMatrices &, const std::string &)> compress
std::function< MarkedMatrices(const MarkedMatrices &, const std::string &, double, double)> m3pp_fit

Detailed Description

Replaceable numerical kernels of fit_traffic, so a test can intercept them as the Python tests monkeypatch mmap_ops.mmap_compress and m3a.m3pp2m_fitc_theoretical.

An empty member keeps the library kernel. compress(original, compress_method) and m3pp_fit(source, "exact_delta", t, tinf) take and return [D0, D1, marks...].

Definition at line 204 of file mam_traffic.h.

Member Data Documentation

◆ compress

std::function<MarkedMatrices(const MarkedMatrices&, const std::string&)> line::lal::TrafficFitBackend::compress

Definition at line 205 of file mam_traffic.h.

◆ m3pp_fit

std::function<MarkedMatrices(const MarkedMatrices&, const std::string&, double, double)> line::lal::TrafficFitBackend::m3pp_fit

Definition at line 206 of file mam_traffic.h.


The documentation for this struct was generated from the following file: