1function [Pnir,logPn] = getProbSysAggr(self)
2% [PNIR,LOGPN] = GETPROBSYSSTATEAGGR()
11 switch self.options.method
13 line_error(mfilename,'Exact joint state probabilities not available yet in SolverMVA.');
16 % Binomial approximation with mean fitted to queue-lengths.
17 % Rainer Schmidt, "An approximate MVA ...", PEVA 29:245-254, 1997.
18 logPn = sum(factln(N));
19 for ist=1:sn.nstations
20 [~, nir, ~, ~] = State.toMarginal(sn, ist, state{ist});
21 % logPn = logPn - log(sum(nir));
23 logPn = logPn - factln(nir(r));
25 logPn = logPn + nir(r)*log(Q(ist,r)/N(r));
29 Pnir = real(exp(logPn));
32 line_error(mfilename,
'getProbAggr not yet implemented for models with open classes.');