1function Pnir = getProbAggr(self, ist)
2% PNIR = GETPROBAGGR(IST)
4% Probability of a SPECIFIC per-
class job distribution at a station.
5% Returns
P(n1 jobs of
class 1, n2 jobs of
class 2, ...) for current state.
7% Compare with getProbMarg: returns total queue-length distribution,
8% i.e.,
P(n total jobs) summed over all class combinations.
11% ist - Station index or node
object
14% Pnir - Scalar probability in [0,1]
16if GlobalConstants.DummyMode
21if ~isnumeric(ist) % station
object
26if nargin<2 %~exist('ist','var')
27 line_error(mfilename,'getProb requires to pass a parameter the station of interest.');
30 line_error(mfilename,'Station number exceeds the number of stations in the model.');
32if ~isfield(self.options,'keep')
33 self.options.keep = false;
38if isempty(self.result) || ~isfield(self.result,'Prob') || ~isfield(self.result.Prob,'marginal')
39 Pnir = solver_ctmc_margaggr(sn, self.options);
40 self.result.('solver') = getName(self);
41 self.result.Prob.marginal = Pnir;
43 Pnir = self.result.Prob.marginal;
46self.result.runtime = runtime;