LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
m3pp22_fitc_approx_cov.m
1function [FIT] = m3pp22_fitc_approx_cov(a, bt1, bt2, binf, m3t2, ...
2 t1, t2, ...
3 ai, st3, t3)
4% Fits a second-order Marked MMPP.
5% INPUT:
6% - a: arrival rate
7% - bt1: IDC at scale t1
8% - bt2: IDC at scale t2
9% - binf: IDC for t->inf
10% - m3t2: third central moment
11% - t1: first time scale
12% - t2: second time scale
13% - ai: rates of the two classes
14% - st3: count covariance between the two classes at scale t3
15% - t3: third time scale
16
17if abs(a - sum(ai)) > 1e-8
18 error('Inconsistent per-class arrival rates.');
19end
20
21% fit underlying MMPP(2)
22FIT = mmpp2_fitc_approx(a, bt1, bt2, binf, m3t2, t1, t2);
23
24% fit M3PP(2,2)
25FIT = m3pp22_fitc_approx_cov_multiclass(FIT, ai, st3, t3);
26
27
28end