aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
aligator::StageDataTpl< Scalar > Struct Template Reference

Data struct for stage models StageModelTpl. More...

#include <aligator/core/stage-data.hpp>

Inheritance diagram for aligator::StageDataTpl< Scalar >:
[legend]
Collaboration diagram for aligator::StageDataTpl< Scalar >:
[legend]

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 Attributes

std::vector< shared_ptr< StageFunctionData > > constraint_data
 Data structs for the functions involved in the constraints.
 
shared_ptr< CostDataAbstractcost_data
 Data for the running costs.
 
shared_ptr< DynamicsDatadynamics_data
 

Detailed Description

template<typename Scalar>
struct aligator::StageDataTpl< Scalar >

Data struct for stage models StageModelTpl.

Definition at line 93 of file fwd.hpp.

Member Typedef Documentation

◆ Scalar

template<typename Scalar >
using aligator::StageDataTpl< Scalar >::Scalar = _Scalar

Definition at line 11 of file stage-data.hpp.

◆ StageModel

template<typename Scalar >
using aligator::StageDataTpl< Scalar >::StageModel = StageModelTpl<Scalar>

Definition at line 14 of file stage-data.hpp.

◆ CostDataAbstract

template<typename Scalar >
using aligator::StageDataTpl< Scalar >::CostDataAbstract = CostDataAbstractTpl<Scalar>

Definition at line 15 of file stage-data.hpp.

◆ StageFunctionData

template<typename Scalar >
using aligator::StageDataTpl< Scalar >::StageFunctionData = StageFunctionDataTpl<Scalar>

Definition at line 16 of file stage-data.hpp.

◆ DynamicsData

template<typename Scalar >
using aligator::StageDataTpl< Scalar >::DynamicsData = DynamicsDataTpl<Scalar>

Definition at line 17 of file stage-data.hpp.

Constructor & Destructor Documentation

◆ StageDataTpl()

template<typename Scalar >
aligator::StageDataTpl< Scalar >::StageDataTpl ( const StageModel & stage_model)
explicit

Constructor.

The constructor initializes or fills in the data members using move semantics.

◆ ~StageDataTpl()

template<typename Scalar >
virtual aligator::StageDataTpl< Scalar >::~StageDataTpl ( )
virtualdefault

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

template<typename Scalar >
aligator::StageDataTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS ( Scalar )

◆ checkData()

template<typename Scalar >
virtual void aligator::StageDataTpl< Scalar >::checkData ( )
virtual

Check data integrity.

Reimplemented in aligator::compat::croc::ActionDataWrapperTpl< Scalar >.

Member Data Documentation

◆ constraint_data

template<typename Scalar >
std::vector<shared_ptr<StageFunctionData> > aligator::StageDataTpl< Scalar >::constraint_data

Data structs for the functions involved in the constraints.

Definition at line 20 of file stage-data.hpp.

◆ cost_data

template<typename Scalar >
shared_ptr<CostDataAbstract> aligator::StageDataTpl< Scalar >::cost_data

Data for the running costs.

Definition at line 22 of file stage-data.hpp.

◆ dynamics_data

template<typename Scalar >
shared_ptr<DynamicsData> aligator::StageDataTpl< Scalar >::dynamics_data

Definition at line 24 of file stage-data.hpp.


The documentation for this struct was generated from the following files: