Public Types | |
| typedef ActivationDataAbstractTpl< Scalar > | ActivationDataAbstract |
| typedef CostDataAbstractTpl< Scalar > | Base |
| typedef DataCollectorAbstractTpl< Scalar > | DataCollectorAbstract |
| typedef MathBaseTpl< Scalar > | MathBase |
| typedef MathBaseTpl< Scalar >::VectorXs | VectorXs |
Public Types inherited from CostDataAbstractTpl< _Scalar > | |
| typedef ActivationDataAbstractTpl< Scalar > | ActivationDataAbstract |
| typedef DataCollectorAbstractTpl< Scalar > | DataCollectorAbstract |
| typedef MathBaseTpl< Scalar > | MathBase |
| typedef MathBase::MatrixXs | MatrixXs |
| typedef ResidualDataAbstractTpl< Scalar > | ResidualDataAbstract |
| typedef MathBase::VectorXs | VectorXs |
Public Member Functions | |
| template<template< typename Scalar > class Model> | |
| CostDataNumDiffTpl (Model< Scalar > *const model, DataCollectorAbstract *const shared_data) | |
| Initialize the numdiff cost data. | |
Public Member Functions inherited from CostDataAbstractTpl< _Scalar > | |
| template<template< typename Scalar > class Model> | |
| CostDataAbstractTpl (Model< Scalar > *const model, DataCollectorAbstract *const data) | |
| DEPRECATED ("Use residual.r", const VectorXs &get_r() const { return residual->r;};) DEPRECATED("Use residual.Rx" | |
| DEPRECATED ("Use residual.Ru", const MatrixXs &get_Ru() const { return residual->Ru;};) DEPRECATED("Use residual.r" | |
| DEPRECATED ("Use residual.Rx", void set_Rx(const MatrixXs &Rx) { residual->Rx=Rx;};) DEPRECATED("Use residual.Ru" | |
| const MatrixXs & | get_Rx () const |
| void | set_r (const VectorXs &r) |
| void | set_Ru (const MatrixXs &Ru) |
Public Attributes | |
| std::shared_ptr< ActivationDataAbstract > | activation |
| Scalar | cost |
| std::shared_ptr< Base > | data_0 |
| The data at the approximation point. | |
| std::vector< std::shared_ptr< Base > > | data_u |
| The temporary data associated with the control variation. | |
| std::vector< std::shared_ptr< Base > > | data_x |
| The temporary data associated with the state variation. | |
| VectorXs | du |
| Control disturbance. | |
| VectorXs | dx |
| State disturbance. | |
| VectorXs | Lu |
| MatrixXs | Luu |
| VectorXs | Lx |
| MatrixXs | Lxu |
| MatrixXs | Lxx |
| std::shared_ptr< ResidualDataAbstract > | residual |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
| DataCollectorAbstract * | shared |
| Scalar | uh_jac |
| Disturbance value used for computing \( \ell_\mathbf{u} \). | |
| VectorXs | up |
| Scalar | x_norm |
| Norm of the state vector. | |
| Scalar | xh_jac |
| Disturbance value used for computing \( \ell_\mathbf{x} \). | |
| VectorXs | xp |
Public Attributes inherited from CostDataAbstractTpl< _Scalar > | |
| std::shared_ptr< ActivationDataAbstract > | activation |
| Scalar | cost |
| VectorXs | Lu |
| MatrixXs | Luu |
| VectorXs | Lx |
| MatrixXs | Lxu |
| MatrixXs | Lxx |
| std::shared_ptr< ResidualDataAbstract > | residual |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
| DataCollectorAbstract * | shared |
| typedef MathBaseTpl<Scalar> MathBase |
| typedef CostDataAbstractTpl<Scalar> Base |
| typedef DataCollectorAbstractTpl<Scalar> DataCollectorAbstract |
| typedef ActivationDataAbstractTpl<Scalar> ActivationDataAbstract |
| typedef MathBaseTpl<Scalar>::VectorXs VectorXs |
|
inlineexplicit |
Initialize the numdiff cost data.
| Model | is the type of the CostModelAbstractTpl. |
| model | is the object to compute the numerical differentiation from. |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar |
| Scalar x_norm |
| Scalar xh_jac |
| Scalar uh_jac |
| VectorXs xp |
| VectorXs du |
| VectorXs up |
| std::shared_ptr<Base> data_0 |
| std::vector<std::shared_ptr<Base> > data_x |
| std::vector<std::shared_ptr<Base> > data_u |
| std::shared_ptr<ActivationDataAbstract> activation |
Definition at line 334 of file cost-base.hpp.
| Scalar cost |
Definition at line 336 of file cost-base.hpp.
| VectorXs Lu |
Definition at line 338 of file cost-base.hpp.
| MatrixXs Luu |
Definition at line 341 of file cost-base.hpp.
| VectorXs Lx |
Definition at line 337 of file cost-base.hpp.
| MatrixXs Lxu |
Definition at line 340 of file cost-base.hpp.
| MatrixXs Lxx |
Definition at line 339 of file cost-base.hpp.
| std::shared_ptr<ResidualDataAbstract> residual |
Definition at line 335 of file cost-base.hpp.
| DataCollectorAbstract* shared |
Definition at line 333 of file cost-base.hpp.