![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Mark the arrivals of a MAP with class probabilities (matlab/lib/kpctoolbox/map/map_mark.m). More...
#include <vector>#include "line/api/mam/map_moment.h"#include "line/api/mam/mmap_lambda.h"#include "line/num/number.h"#include "line/util/error.h"#include "line/util/matrix.h"Go to the source code of this file.
Namespaces | |
| namespace | line |
| namespace | line::mam |
Functions | |
| template<class T> | |
| Mmap< T > | line::mam::map_mark (const Map< T > &m, const std::vector< T > &prob) |
| MMAP with the same inter-arrival process and arrivals marked by prob. | |
Mark the arrivals of a MAP with class probabilities (matlab/lib/kpctoolbox/map/map_mark.m).
The unmarked inter-arrival process is unchanged: Dc = prob(c) * D1, so the class of an arrival is drawn independently of the phase. This is the phase-independent special case of mmap_mark in mmap_lambda.h, which takes a per-phase weight matrix instead.
MATLAB warns and renormalizes when the probabilities do not sum to one; this port renormalizes silently but rejects a non-positive total, since a zero total has no meaningful normalization. Pure field arithmetic, exact at Rational: no transcendental gate.
Definition in file map_mark.h.