![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Assemble an AMAP(2) in one of the two canonical forms (matlab/lib/m3a/m3a/amap2/amap2_assemble.m). More...
#include "line/api/mam/map_moment.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> | |
| Map< T > | line::mam::amap2_assemble (const T &l1, const T &l2, const T &p1, const T &p2, int form) |
| AMAP(2) in canonical form 1 (gamma >= 0) or 2 (gamma < 0). | |
Assemble an AMAP(2) in one of the two canonical forms (matlab/lib/m3a/m3a/amap2/amap2_assemble.m).
l1, l2 are the MEAN holding times of the two phases; p1, p2 the two branching probabilities. Form 1 is used for a non-negative autocorrelation decay rate, form 2 for a negative one:
form 1: D0 = [ -1/l1 p1/l1 ; 0 -1/l2 ] D1 = [ (1-p1)/l1 0 ] [ (1-p2)/l2 p2/l2 ] form 2: D0 = [ -1/l1 p1/l1 ; 0 -1/l2 ] D1 = [ 0 (1-p1)/l1 ] [ (1-p2)/l2 p2/l2 ]
Pure field arithmetic, exact at Rational: no transcendental gate.
Definition in file amap2_assemble.h.