reachOptions Reference¶
Complete reference for the reachOptions struct passed to NN.reach(),
GNN.reach(), and NNCS reachability methods.
All reachability options are passed as fields of a MATLAB struct:
reachOptions = struct;
reachOptions.reachMethod = 'approx-star';
reachOptions.numCores = 1;
output_sets = net.reach(input_set, reachOptions);
Fields¶
Field |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Reachability method: |
|
int |
|
Number of parallel workers for computation |
|
double |
|
For approx-star: 0 = full LP (most precise), 1 = no LP (fastest) |
|
string |
|
LP solver backend: |
|
string |
|
Set to |
|
string |
|
Computation device: |
Conformal Prediction Fields¶
Additional fields for probabilistic verification via verify_robustness_cp:
Field |
Type |
Default |
Description |
|---|---|---|---|
|
double |
|
Coverage probability (1 - miscoverage level) |
|
double |
|
Confidence level for the PAC guarantee |
|
string |
|
Surrogate model type: |
|
string |
|
Python training device: |
|
int |
|
Number of surrogate training iterations |
|
double |
|
Surrogate learning rate |
NNCS Reach Parameters¶
For NNCS reach() methods, use a reachPRM struct:
Field |
Type |
Default |
Description |
|---|---|---|---|
|
Star |
(required) |
Initial state set |
|
Star |
(required) |
Reference input set (e.g., target setpoint) |
|
int |
(required) |
Number of control periods to simulate |
|
string |
|
Same options as NN reachability |
|
int |
|
Parallel workers |