LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
mam_traffic.h File Reference

LINE Agent Language (LAL): independent marked arrival proposals of a finite composition and their explicit fitting (solver_mam/lal_traffic.py, offered_traffic and fit_traffic). More...

#include <cmath>
#include <functional>
#include <map>
#include <optional>
#include <string>
#include <vector>
#include "line/api/mam/m3pp2m_interleave.h"
#include "line/api/mam/map_moment.h"
#include "line/api/mam/mmap_compress.h"
#include "line/api/mam/mmap_lambda.h"
#include "line/api/mam/mmap_stats.h"
#include "line/lang/lal/mam_common.h"
#include "line/util/expm.h"
Include dependency graph for mam_traffic.h:

Go to the source code of this file.

Classes

struct  line::lal::TrafficFitBackend
 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...
struct  line::lal::TrafficFit
 Output of fit_traffic. More...

Namespaces

namespace  line
 Conservation laws of a layered queueing network, enumerated from its structure.
namespace  line::lal

Functions

std::optional< Traffic > line::lal::offered_traffic (const Model &snapshot, const std::string &level_name, bool materialize=true)
 Exact superposed offered MMAP and mark provenance, or nullopt (offered_traffic).
TrafficFit line::lal::fit_traffic (const Traffic &traffic, const std::optional< MarkedMatrices > &original, const std::string &method, const std::string &compress_method, double fit_time, double fit_tolerance, const TrafficFitBackend &backend=TrafficFitBackend())
 Fit offered marked streams and enforce a finite-time counting budget (fit_traffic).

Detailed Description

LINE Agent Language (LAL): independent marked arrival proposals of a finite composition and their explicit fitting (solver_mam/lal_traffic.py, offered_traffic and fit_traffic).

These MMAPs describe offered traffic before any queue blocking. They are not substitutes for the joint queue/phase dynamics of a blocked composition.

Definition in file mam_traffic.h.