|
aligator
0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
|
Store the history of results. More...
#include <aligator/core/history-callback.hpp>
Public Types | |
| using | Workspace = WorkspaceBaseTpl<Scalar> |
| using | Results = ResultsBaseTpl<Scalar> |
Public Types inherited from aligator::CallbackBaseTpl< Scalar > | |
| using | Workspace = WorkspaceBaseTpl<Scalar> |
| using | Results = ResultsBaseTpl<Scalar> |
Public Member Functions | |
| template<typename Solver> | |
| HistoryCallbackTpl (const Solver *solver, bool store_pd_vars=false, bool store_values=true) | |
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
| void | call (const Workspace &, const Results &results) |
Public Member Functions inherited from aligator::CallbackBaseTpl< Scalar > | |
| virtual | ~CallbackBaseTpl ()=default |
Public Attributes | |
| std::vector< std::vector< VectorXs > > | xs |
| std::vector< std::vector< VectorXs > > | us |
| std::vector< std::vector< VectorXs > > | lams |
| std::vector< Scalar > | values |
| std::vector< Scalar > | merit_values |
| std::vector< Scalar > | prim_infeas |
| std::vector< Scalar > | dual_infeas |
| std::vector< Scalar > | inner_crits |
| std::vector< std::size_t > | al_index |
| std::vector< Scalar > | prim_tols |
| std::vector< Scalar > | dual_tols |
| bool | store_primal_dual_vars_ |
| bool | store_values_ |
Store the history of results.
Definition at line 13 of file history-callback.hpp.
| using aligator::HistoryCallbackTpl< Scalar >::Workspace = WorkspaceBaseTpl<Scalar> |
Definition at line 14 of file history-callback.hpp.
| using aligator::HistoryCallbackTpl< Scalar >::Results = ResultsBaseTpl<Scalar> |
Definition at line 15 of file history-callback.hpp.
|
inline |
Definition at line 17 of file history-callback.hpp.
| aligator::HistoryCallbackTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
virtual |
Implements aligator::CallbackBaseTpl< Scalar >.
| std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::xs |
Definition at line 26 of file history-callback.hpp.
| std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::us |
Definition at line 27 of file history-callback.hpp.
| std::vector<std::vector<VectorXs> > aligator::HistoryCallbackTpl< Scalar >::lams |
Definition at line 28 of file history-callback.hpp.
| std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::values |
Definition at line 29 of file history-callback.hpp.
| std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::merit_values |
Definition at line 30 of file history-callback.hpp.
| std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::prim_infeas |
Definition at line 31 of file history-callback.hpp.
| std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::dual_infeas |
Definition at line 32 of file history-callback.hpp.
| std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::inner_crits |
Definition at line 33 of file history-callback.hpp.
| std::vector<std::size_t> aligator::HistoryCallbackTpl< Scalar >::al_index |
Definition at line 34 of file history-callback.hpp.
| std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::prim_tols |
Definition at line 35 of file history-callback.hpp.
| std::vector<Scalar> aligator::HistoryCallbackTpl< Scalar >::dual_tols |
Definition at line 36 of file history-callback.hpp.
| bool aligator::HistoryCallbackTpl< Scalar >::store_primal_dual_vars_ |
Definition at line 40 of file history-callback.hpp.
| bool aligator::HistoryCallbackTpl< Scalar >::store_values_ |
Definition at line 41 of file history-callback.hpp.