1function [FIT] = m3pp2m_fitc_approx_ag(a, bt1, bt2, binf, m3t2, ...
4% Fits a second-order Marked MMPP.
9% m3t2: third central moment
11% t2: second time scale
12% ai: i-th element
is the rate of
class i
13% gt3: i-th element
is the sum of the variance of
class i and its
14% covariance with all the other
classes combined.
17if abs(a - sum(ai)) > 1e-8
18 error(
'Inconsistent per-class arrival rates.');
21% fit underlying MMPP(2)
22FIT = mmpp2_fitc_approx(a, bt1, bt2, binf, m3t2, t1, t2);
25FIT = m3pp2m_fitc_approx_ag_multiclass(FIT, ai, gt3, t3);