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

Data struct for CostAbstractTpl. More...

#include <aligator/core/cost-abstract.hpp>

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

Public Types

using Scalar = _Scalar
 

Public Member Functions

 ALIGATOR_DYNAMIC_TYPEDEFS (Scalar)
 
 CostDataAbstractTpl (const int ndx, const int nu)
 
 CostDataAbstractTpl (const CostAbstractTpl< Scalar > &cost)
 
virtual ~CostDataAbstractTpl ()=default
 

Public Attributes

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::CostDataAbstractTpl< Scalar >

Data struct for CostAbstractTpl.

Definition at line 68 of file fwd.hpp.

Member Typedef Documentation

◆ Scalar

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

Definition at line 73 of file cost-abstract.hpp.

Constructor & Destructor Documentation

◆ CostDataAbstractTpl() [1/2]

template<typename Scalar >
aligator::CostDataAbstractTpl< Scalar >::CostDataAbstractTpl ( const int ndx,
const int nu )
inline

Definition at line 93 of file cost-abstract.hpp.

◆ CostDataAbstractTpl() [2/2]

template<typename Scalar >
aligator::CostDataAbstractTpl< Scalar >::CostDataAbstractTpl ( const CostAbstractTpl< Scalar > & cost)
inline

Definition at line 104 of file cost-abstract.hpp.

◆ ~CostDataAbstractTpl()

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

Member Function Documentation

◆ ALIGATOR_DYNAMIC_TYPEDEFS()

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

Member Data Documentation

◆ ndx_

template<typename Scalar >
int aligator::CostDataAbstractTpl< Scalar >::ndx_

Definition at line 75 of file cost-abstract.hpp.

◆ nu_

template<typename Scalar >
int aligator::CostDataAbstractTpl< Scalar >::nu_

Definition at line 75 of file cost-abstract.hpp.

◆ value_

template<typename Scalar >
Scalar aligator::CostDataAbstractTpl< Scalar >::value_

Definition at line 76 of file cost-abstract.hpp.

◆ grad_

template<typename Scalar >
VectorXs aligator::CostDataAbstractTpl< Scalar >::grad_

Definition at line 77 of file cost-abstract.hpp.

◆ hess_

template<typename Scalar >
MatrixXs aligator::CostDataAbstractTpl< Scalar >::hess_

Definition at line 78 of file cost-abstract.hpp.

◆ Lx_

template<typename Scalar >
VectorRef aligator::CostDataAbstractTpl< Scalar >::Lx_

Gradient \(\ell_x\).

Definition at line 81 of file cost-abstract.hpp.

◆ Lu_

template<typename Scalar >
VectorRef aligator::CostDataAbstractTpl< Scalar >::Lu_

Gradient \(\ell_u\).

Definition at line 83 of file cost-abstract.hpp.

◆ Lxx_

template<typename Scalar >
MatrixRef aligator::CostDataAbstractTpl< Scalar >::Lxx_

Hessian \(\ell_{xx}\).

Definition at line 85 of file cost-abstract.hpp.

◆ Lxu_

template<typename Scalar >
MatrixRef aligator::CostDataAbstractTpl< Scalar >::Lxu_

Hessian \(\ell_{xu}\).

Definition at line 87 of file cost-abstract.hpp.

◆ Lux_

template<typename Scalar >
MatrixRef aligator::CostDataAbstractTpl< Scalar >::Lux_

Hessian \(\ell_{ux}\).

Definition at line 89 of file cost-abstract.hpp.

◆ Luu_

template<typename Scalar >
MatrixRef aligator::CostDataAbstractTpl< Scalar >::Luu_

Hessian \(\ell_{uu}\).

Definition at line 91 of file cost-abstract.hpp.


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