|
| | ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
| |
| | QuadraticStateCostTpl (const StateError &resdl, const MatrixXs &weights) |
| |
| | QuadraticStateCostTpl (xyz::polymorphic< Manifold > space, const int nu, const ConstVectorRef &target, const MatrixXs &weights) |
| |
| template<typename U, typename = std::enable_if_t<!is_polymorphic_of_v<Manifold, U>>> |
| | QuadraticStateCostTpl (U &&space, const int nu, const ConstVectorRef &target, const MatrixXs &weights) |
| |
| void | setTarget (const ConstVectorRef target) |
| |
| ConstVectorRef | getTarget () const |
| |
| | ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
| |
| | QuadraticResidualCostTpl (xyz::polymorphic< Manifold > space, xyz::polymorphic< StageFunction > function, const ConstMatrixRef &weights) |
| |
| void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| | Evaluate the cost function.
|
| |
| void | computeGradients (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| | Compute the cost gradients \((\ell_x, \ell_u)\).
|
| |
| void | computeHessians (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| | Compute the cost Hessians \((\ell_{ij})_{i,j \in \{x,u\}}\).
|
| |
| shared_ptr< CostData > | createData () const |
| |
| Derived * | getResidual () |
| | Get a pointer to the underlying type of the residual, by attempting to cast.
|
| |
| const Derived * | getResidual () const |
| | Get a pointer to the underlying type of the residual, by attempting to cast.
|
| |
| | ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
| |
| | QuadraticResidualCostTpl (xyz::polymorphic< Manifold > space, xyz::polymorphic< StageFunction > function, const ConstMatrixRef &weights) |
| |
| void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| | Evaluate the cost function.
|
| |
| void | computeGradients (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| | Compute the cost gradients \((\ell_x, \ell_u)\).
|
| |
| void | computeHessians (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data_) const |
| | Compute the cost Hessians \((\ell_{ij})_{i,j \in \{x,u\}}\).
|
| |
| shared_ptr< CostData > | createData () const |
| |
| Derived * | getResidual () |
| | Get a pointer to the underlying type of the residual, by attempting to cast.
|
| |
| const Derived * | getResidual () const |
| | Get a pointer to the underlying type of the residual, by attempting to cast.
|
| |
| | ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
| |
| int | nx () const |
| |
| int | ndx () const |
| |
| | CostAbstractTpl (U &&space, const int nu) |
| |
| virtual | ~CostAbstractTpl ()=default |
| |
| | ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
| |
| int | nx () const |
| |
| int | ndx () const |
| |
| | CostAbstractTpl (U &&space, const int nu) |
| |
| virtual | ~CostAbstractTpl ()=default |
| |
| | ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
| |
| int | nx () const |
| |
| int | ndx () const |
| |
| | CostAbstractTpl (U &&space, const int nu) |
| |
| virtual | ~CostAbstractTpl ()=default |
| |
| | ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
| |
| int | nx () const |
| |
| int | ndx () const |
| |
| | CostAbstractTpl (U &&space, const int nu) |
| |
| virtual | ~CostAbstractTpl ()=default |
| |
template<typename
Scalar>
struct aligator::QuadraticStateCostTpl< Scalar >
Quadratic distance cost over the state manifold.
Definition at line 13 of file quad-state-cost.hpp.