19 void evaluate(
const ConstVectorRef &,
const ConstVectorRef &,
shared_ptr< CostData > createData() const override
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
void computeGradients(const ConstVectorRef &, const ConstVectorRef &, CostData &) const override
Compute the cost gradients .
ManifoldAbstractTpl< Scalar > Manifold
CostDataAbstractTpl< Scalar > CostData
CostAbstractTpl< Scalar > Base
void evaluate(const ConstVectorRef &, const ConstVectorRef &, CostData &data) const override
Evaluate the cost function.
void computeHessians(const ConstVectorRef &, const ConstVectorRef &, CostData &) const override
Compute the cost Hessians .
ConstantCostTpl(xyz::polymorphic< Manifold > space, const int nu, const Scalar value)
xyz::polymorphic< Manifold > space
State dimension.
virtual shared_ptr< CostData > createData() const
CostAbstractTpl(U &&space, const int nu)
Data struct for CostAbstractTpl.