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

#include <aligator/compat/crocoddyl/cost-wrap.hpp>

Inheritance diagram for aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >:
[legend]
Collaboration diagram for aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >:
[legend]

Public Types

using CostData = ::crocoddyl::CostDataAbstractTpl<Scalar>
 
using ActionData = ::crocoddyl::ActionDataAbstractTpl<Scalar>
 
using Base = CostDataAbstractTpl<Scalar>
 
- Public Types inherited from aligator::CostDataAbstractTpl< Scalar >
using Scalar = _Scalar
 

Public Member Functions

 CrocCostDataWrapperTpl (const boost::shared_ptr< CostData > &crocdata)
 
 CrocCostDataWrapperTpl (const boost::shared_ptr< ActionData > &actdata)
 
- 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

boost::shared_ptr< CostDatacroc_cost_data_
 
boost::shared_ptr< ActionDatacroc_act_data_
 
- 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::compat::croc::CrocCostDataWrapperTpl< Scalar >

Definition at line 15 of file fwd.hpp.

Member Typedef Documentation

◆ CostData

template<typename Scalar >
using aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >::CostData = ::crocoddyl::CostDataAbstractTpl<Scalar>

Definition at line 95 of file cost-wrap.hpp.

◆ ActionData

template<typename Scalar >
using aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >::ActionData = ::crocoddyl::ActionDataAbstractTpl<Scalar>

Definition at line 96 of file cost-wrap.hpp.

◆ Base

Definition at line 97 of file cost-wrap.hpp.

Constructor & Destructor Documentation

◆ CrocCostDataWrapperTpl() [1/2]

template<typename Scalar >
aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >::CrocCostDataWrapperTpl ( const boost::shared_ptr< CostData > & crocdata)
inlineexplicit

Definition at line 101 of file cost-wrap.hpp.

◆ CrocCostDataWrapperTpl() [2/2]

template<typename Scalar >
aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >::CrocCostDataWrapperTpl ( const boost::shared_ptr< ActionData > & actdata)
inlineexplicit

Definition at line 105 of file cost-wrap.hpp.

Member Data Documentation

◆ croc_cost_data_

template<typename Scalar >
boost::shared_ptr<CostData> aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >::croc_cost_data_

Definition at line 98 of file cost-wrap.hpp.

◆ croc_act_data_

template<typename Scalar >
boost::shared_ptr<ActionData> aligator::compat::croc::CrocCostDataWrapperTpl< Scalar >::croc_act_data_

Definition at line 99 of file cost-wrap.hpp.


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