1function [Pi_t, SSnode_a] = getTranProbAggr(self, node)
2% [PI_T, SSNODE_A] = GETTRANPROBSTATEAGGR(NODE)
3if GlobalConstants.DummyMode
8line_error(mfilename,
'Method not implemented yet.')
9options = self.getOptions;
10initSeed = self.options.seed;
11if isfield(options,'timespan') && isfinite(options.timespan(2))
13 TranSysStateAggr = cell(options.iter_max,1);
14 for it=1:options.iter_max
15 self.options.seed = initSeed + it -1;
16 TranSysStateAggr{it} = self.sampleSysAggr;
17 tu =
union(tu, TranSysStateAggr{it}.t);
19 for j=1:length(TranSysStateAggr{it}.state)
20 for it=1:options.iter_max
21 TranSysStateAggr{it}.state{j} = interp1(TranSysStateAggr{it}.t, TranSysStateAggr{it}.state{j}, tu,
'previous');
26 % self.options.seed = initSeed; % in
case of interruption
28 % SSnode_a = SSa(:,(jnd-1)*sn.nclasses+1:jnd*sn.nclasses);
33 line_error(mfilename,
'getTranProbAggr in SolverJMT requires to specify a finite timespan T, e.g., SolverJMT(model,''timespan'',[0,T]).');