Template Struct CostItemTpl

Struct Documentation

template<typename _Scalar>
struct CostItemTpl

Public Types

typedef CostModelAbstractTpl<Scalar> CostModelAbstract

Public Functions

inline CostItemTpl()
inline CostItemTpl(const std::string &name, std::shared_ptr<CostModelAbstract> cost, const Scalar weight, const bool active = true)
template<typename NewScalar>
inline CostItemTpl<NewScalar> cast() const

Public Members

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
std::string name
std::shared_ptr<CostModelAbstract> cost
Scalar weight
bool active

Friends

inline friend std::ostream &operator<<(std::ostream &os, const CostItemTpl<Scalar> &model)

Print information on the cost item.