Wrapper for the CostDataAbstractTpl class and its children.
More...
#include </home/runner/work/aligator/aligator/bindings/python/include/aligator/python/costs.hpp>
|
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
|
void | evaluate (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data) const override |
| Evaluate the cost function.
|
|
void | computeGradients (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data) const override |
| Compute the cost gradients \((\ell_x, \ell_u)\).
|
|
void | computeHessians (const ConstVectorRef &x, const ConstVectorRef &u, CostData &data) const override |
| Compute the cost Hessians \((\ell_{ij})_{i,j \in \{x,u\}}\).
|
|
shared_ptr< CostData > | createData () const override |
|
shared_ptr< CostData > | default_createData () const |
|
| ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) |
|
int | nx () const |
|
int | ndx () const |
|
template<class U > |
| CostAbstractTpl (U &&space, const int nu) |
|
virtual | ~CostAbstractTpl ()=default |
|
|
xyz::polymorphic< Manifold > | space |
| State dimension.
|
|
int | nu |
| Control dimension.
|
|
Wrapper for the CostDataAbstractTpl class and its children.
Definition at line 10 of file costs.hpp.
◆ Scalar
◆ CostData
◆ ALIGATOR_DYNAMIC_TYPEDEFS()
aligator::python::PyCostFunction::ALIGATOR_DYNAMIC_TYPEDEFS |
( |
Scalar | | ) |
|
◆ evaluate()
void aligator::python::PyCostFunction::evaluate |
( |
const ConstVectorRef & | x, |
|
|
const ConstVectorRef & | u, |
|
|
CostData & | data ) const |
|
inlineoverridevirtual |
◆ computeGradients()
void aligator::python::PyCostFunction::computeGradients |
( |
const ConstVectorRef & | x, |
|
|
const ConstVectorRef & | u, |
|
|
CostData & | data ) const |
|
inlineoverridevirtual |
◆ computeHessians()
void aligator::python::PyCostFunction::computeHessians |
( |
const ConstVectorRef & | x, |
|
|
const ConstVectorRef & | u, |
|
|
CostData & | data ) const |
|
inlineoverridevirtual |
◆ createData()
shared_ptr< CostData > aligator::python::PyCostFunction::createData |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ default_createData()
shared_ptr< CostData > aligator::python::PyCostFunction::default_createData |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file:
- bindings/python/include/aligator/python/costs.hpp