COPP C++ API
C++ interface for COPP trajectory optimization
Loading...
Searching...
No Matches
reach_set2.hpp
Go to the documentation of this file.
1#pragma once
2
4
6{
7
11
13 inline ReachSet backward(const Problem &problem, const Options &options = {})
14 {
15 return copp::solver::topp2_ra::reach_set_backward(problem, options);
16 }
17 inline Expected<ReachSet> backward(const Problem &problem, const Options &options, NoThrowTag)
18 {
19 return detail::expected_from([&] { return backward(problem, options); });
20 }
21 inline Expected<ReachSet> backward(const Problem &problem, NoThrowTag tag)
22 {
23 return backward(problem, Options{}, tag);
24 }
25
27 inline ReachSet bidirectional(const Problem &problem, const Options &options = {})
28 {
30 }
31 inline Expected<ReachSet> bidirectional(const Problem &problem, const Options &options, NoThrowTag)
32 {
33 return detail::expected_from([&] { return bidirectional(problem, options); });
34 }
36 {
37 return bidirectional(problem, Options{}, tag);
38 }
39
40} // namespace copp::solver::reach_set2
Small C++17 expected-like result used by no-throw overloads.
Definition core.hpp:527
TOPP2 problem descriptor.
Definition topp2_ra.hpp:48
auto expected_from(Fn &&fn) -> Expected< typename std::decay< decltype(fn())>::type >
Definition core.hpp:580
Standalone second-order reachable-set helpers for feasibility analysis or diagnostics before TOPP2/CO...
copp::solver::topp2_ra::Options Options
Definition reach_set2.hpp:8
ReachSet backward(const Problem &problem, const Options &options={})
Compute backward-only TOPP2 reachable intervals.
ReachSet bidirectional(const Problem &problem, const Options &options={})
Compute bidirectional TOPP2 reachable intervals, enforcing both boundaries.
copp::solver::topp2_ra::Problem Problem
Definition reach_set2.hpp:9
copp::solver::topp2_ra::ReachSet ReachSet
COPP_API ReachSet reach_set_bidirectional(const Problem &problem, const Options &options={})
Compute bidirectional TOPP2 reachable intervals, enforcing both boundaries.
COPP_API ReachSet reach_set_backward(const Problem &problem, const Options &options={})
Compute backward-only TOPP2 reachable intervals.
Tag object selecting no-throw overloads.
Definition core.hpp:608
Options shared by TOPP2-RA and TOPP2 reachable-set construction.
Definition topp2_ra.hpp:21
Reachable interval result for second-order state a = (ds/dt)^2.
Definition topp2_ra.hpp:33