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

Data struct for composite costs. More...

#include <aligator/modelling/costs/composite-costs.hpp>

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

Public Types

using Base = CostDataAbstractTpl<Scalar>
 
using StageFunctionData = StageFunctionDataTpl<Scalar>
 
using RowMatrixXs = Eigen::Matrix<Scalar, -1, -1, Eigen::RowMajor>
 
- Public Types inherited from aligator::CostDataAbstractTpl< Scalar >
using Scalar
 

Public Member Functions

 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
 CompositeCostDataTpl (const int ndx, const int nu, shared_ptr< StageFunctionData > rdata)
 
- Public Member Functions inherited from aligator::CostDataAbstractTpl< Scalar >
 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
 CostDataAbstractTpl (const int ndx, const int nu)
 
 CostDataAbstractTpl (const CostAbstractTpl< Scalar > &cost)
 
virtual ~CostDataAbstractTpl ()=default
 

Public Attributes

shared_ptr< StageFunctionDataresidual_data
 
RowMatrixXs JtW_buf
 
VectorXs Wv_buf
 
- Public Attributes inherited from aligator::CostDataAbstractTpl< Scalar >
int ndx_
 
int nu_
 
Scalar value_
 
VectorXs grad_
 
MatrixXs hess_
 
VectorRef Lx_
 Gradient \(\ell_x\).
 
VectorRef Lu_
 Gradient \(\ell_u\).
 
MatrixRef Lxx_
 Hessian \(\ell_{xx}\).
 
MatrixRef Lxu_
 Hessian \(\ell_{xu}\).
 
MatrixRef Lux_
 Hessian \(\ell_{ux}\).
 
MatrixRef Luu_
 Hessian \(\ell_{uu}\).
 

Detailed Description

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

Data struct for composite costs.

Definition at line 15 of file composite-costs.hpp.

Member Typedef Documentation

◆ Base

Definition at line 17 of file composite-costs.hpp.

◆ StageFunctionData

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

Definition at line 18 of file composite-costs.hpp.

◆ RowMatrixXs

template<typename Scalar >
using aligator::CompositeCostDataTpl< Scalar >::RowMatrixXs = Eigen::Matrix<Scalar, -1, -1, Eigen::RowMajor>

Definition at line 19 of file composite-costs.hpp.

Constructor & Destructor Documentation

◆ CompositeCostDataTpl()

template<typename Scalar >
aligator::CompositeCostDataTpl< Scalar >::CompositeCostDataTpl ( const int ndx,
const int nu,
shared_ptr< StageFunctionData > rdata )
inline

Definition at line 24 of file composite-costs.hpp.

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

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

Member Data Documentation

◆ residual_data

template<typename Scalar >
shared_ptr<StageFunctionData> aligator::CompositeCostDataTpl< Scalar >::residual_data

Definition at line 21 of file composite-costs.hpp.

◆ JtW_buf

template<typename Scalar >
RowMatrixXs aligator::CompositeCostDataTpl< Scalar >::JtW_buf

Definition at line 22 of file composite-costs.hpp.

◆ Wv_buf

template<typename Scalar >
VectorXs aligator::CompositeCostDataTpl< Scalar >::Wv_buf

Definition at line 23 of file composite-costs.hpp.


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