1function [SS] = reachabilityAnalysis(sn, cutoff, options)
2% [SS] = RECHABILITYANALSYSIS(QN, CUTOFF)
4% Copyright (c) 2012-2026, Imperial College London
7% LINE state space generator limited to states reachable from the initial
11% SSh: hashed state space
15if ~exist(
'cutoff',
'var') && any(isinf(Np)) %
if the model has open
classes
16 line_error(mfilename,
'Unspecified cutoff for open classes in state space generator.');
20 cutoff = cutoff * ones(sn.nstations, sn.nclasses);
23if nargin<2 %~exist(
'options',
'var')
24 options = self.getOptions;
27if self.enableChecks && ~SolverSSA.supports(self.model)
28 line_error(mfilename,'This model contains features not supported by the solver.');
31self.runAnalyzerChecks(options);
37 [StateSpaceAggr,arvRates,depRates] = solver_ssa(sn, options);