LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getProbSys.m
1function Pn = getProbSys(self)
2% PN = GETPROBSYSSTATE()
3
4if GlobalConstants.DummyMode
5 Pn = NaN;
6 return
7end
8
9if ~isfield(self.options,'keep')
10 self.options.keep = false;
11end
12T0 = tic;
13sn = self.getStruct;
14if self.model.isStateValid
15 Pn = solver_ctmc_joint(sn, self.options);
16 self.result.('solver') = getName(self);
17 self.result.Prob.joint = Pn;
18else
19 line_error(mfilename,'The model state is invalid.');
20end
21runtime = toc(T0);
22self.result.runtime = runtime;
23end