LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getStateSpaceAggr.m
1function stateSpaceAggr = getStateSpaceAggr(self)
2% STATESPACEAGGR = GETSTATESPACEAGGR()
3
4options = self.getOptions;
5if options.force
6 self.run;
7end
8if isempty(self.result) || ~isfield(self.result,'spaceAggr')
9 line_warning(mfilename,'The model has not been cached. Either solve it or use the ''force'' option to require this is done automatically, e.g., SolverCTMC(model,''force'',true).getStateSpaceAggr()\n');
10 stateSpaceAggr = [];
11else
12 stateSpaceAggr = self.result.spaceAggr;
13end
14end