Files | |
| file | bindings/c/include/copp/topp2.h |
| TOPP2-RA and second-order reachable-set APIs. | |
Data Structures | |
| struct | Topp2RaOptions |
| Options for TOPP2-RA reachability analysis. More... | |
| struct | CoppReachSet2Result |
| Reachable intervals returned by TOPP2 reachable-set construction. More... | |
Functions | |
| enum CoppStatus | topp2_ra_default_options (struct Topp2RaOptions *out_options) |
| Write default TOPP2-RA options into out_options. | |
| enum CoppStatus | topp2_ra (struct Topp2Problem problem, struct Topp2RaOptions options, struct CoppVecF64 *out_a) |
| Solve a TOPP2-RA problem. | |
| enum CoppStatus | copp_reach_set2_backward (struct Topp2Problem problem, struct Topp2RaOptions options, struct CoppReachSet2Result *out_result) |
| Compute backward-only TOPP2 reachable intervals. | |
| enum CoppStatus | copp_reach_set2_bidirectional (struct Topp2Problem problem, struct Topp2RaOptions options, struct CoppReachSet2Result *out_result) |
| Compute bidirectional TOPP2 reachable intervals. | |
| void | copp_reach_set2_result_free (struct CoppReachSet2Result result) |
| Release a reachable-set result returned by COPP. | |
| enum CoppStatus topp2_ra_default_options | ( | struct Topp2RaOptions * | out_options | ) |
Write default TOPP2-RA options into out_options.
| enum CoppStatus topp2_ra | ( | struct Topp2Problem | problem, |
| struct Topp2RaOptions | options, | ||
| struct CoppVecF64 * | out_a ) |
Solve a TOPP2-RA problem.
On success, out_a owns a COPP-allocated vector containing the solved a(s) = (ds/dt)^2 profile over the closed station interval and must be released with copp_vec_f64_free.
| enum CoppStatus copp_reach_set2_backward | ( | struct Topp2Problem | problem, |
| struct Topp2RaOptions | options, | ||
| struct CoppReachSet2Result * | out_result ) |
Compute backward-only TOPP2 reachable intervals.
This performs the same backward pass as reach_set2_backward: the terminal boundary a_final is enforced, while the start boundary is only checked for basic feasibility and is not imposed by a forward clipping pass.
On success, out_result owns two vectors with length idx_s_final - idx_s_start + 1, ordered as a_max then a_min. Release them with copp_reach_set2_result_free.
| enum CoppStatus copp_reach_set2_bidirectional | ( | struct Topp2Problem | problem, |
| struct Topp2RaOptions | options, | ||
| struct CoppReachSet2Result * | out_result ) |
Compute bidirectional TOPP2 reachable intervals.
This performs a backward pass followed by a forward clipping pass, enforcing both boundary values a_start and a_final.
On success, out_result owns two vectors with length idx_s_final - idx_s_start + 1, ordered as a_max then a_min. Release them with copp_reach_set2_result_free.
| void copp_reach_set2_result_free | ( | struct CoppReachSet2Result | result | ) |
Release a reachable-set result returned by COPP.