aligator
0.6.1
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Data struct for stage models StageModelTpl. More...
#include <aligator/core/stage-data.hpp>
Public Types | |
using | Scalar = _Scalar |
using | StageModel = StageModelTpl<Scalar> |
using | CostDataAbstract = CostDataAbstractTpl<Scalar> |
using | StageFunctionData = StageFunctionDataTpl<Scalar> |
using | DynamicsData = DynamicsDataTpl<Scalar> |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
StageDataTpl (const StageModel &stage_model) | |
Constructor. | |
virtual | ~StageDataTpl ()=default |
virtual void | checkData () |
Check data integrity. | |
Public Member Functions inherited from aligator::Cloneable< StageDataTpl< _Scalar > > | |
shared_ptr< StageDataTpl< _Scalar > > | clone () const |
Public Attributes | |
std::vector< shared_ptr< StageFunctionData > > | constraint_data |
Data structs for the functions involved in the constraints. | |
shared_ptr< CostDataAbstract > | cost_data |
Data for the running costs. | |
shared_ptr< DynamicsData > | dynamics_data |
Protected Member Functions | |
StageDataTpl ()=default | |
virtual StageDataTpl * | clone_impl () const override |
Data struct for stage models StageModelTpl.
Definition at line 14 of file stage-data.hpp.
using aligator::StageDataTpl< _Scalar >::Scalar = _Scalar |
Definition at line 15 of file stage-data.hpp.
using aligator::StageDataTpl< _Scalar >::StageModel = StageModelTpl<Scalar> |
Definition at line 18 of file stage-data.hpp.
using aligator::StageDataTpl< _Scalar >::CostDataAbstract = CostDataAbstractTpl<Scalar> |
Definition at line 19 of file stage-data.hpp.
using aligator::StageDataTpl< _Scalar >::StageFunctionData = StageFunctionDataTpl<Scalar> |
Definition at line 20 of file stage-data.hpp.
using aligator::StageDataTpl< _Scalar >::DynamicsData = DynamicsDataTpl<Scalar> |
Definition at line 21 of file stage-data.hpp.
|
inlineexplicit |
Constructor.
The constructor initializes or fills in the data members using move semantics.
Definition at line 34 of file stage-data.hpp.
|
virtualdefault |
|
protecteddefault |
aligator::StageDataTpl< _Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inlinevirtual |
Check data integrity.
Reimplemented in aligator::compat::croc::ActionDataWrapperTpl< Scalar >.
Definition at line 49 of file stage-data.hpp.
|
inlineoverrideprotectedvirtual |
Implements aligator::Cloneable< StageDataTpl< _Scalar > >.
Definition at line 61 of file stage-data.hpp.
std::vector<shared_ptr<StageFunctionData> > aligator::StageDataTpl< _Scalar >::constraint_data |
Data structs for the functions involved in the constraints.
Definition at line 24 of file stage-data.hpp.
shared_ptr<CostDataAbstract> aligator::StageDataTpl< _Scalar >::cost_data |
Data for the running costs.
Definition at line 26 of file stage-data.hpp.
shared_ptr<DynamicsData> aligator::StageDataTpl< _Scalar >::dynamics_data |
Definition at line 28 of file stage-data.hpp.