21 #ifndef mia_internal_multicost_hh 22 #define mia_internal_multicost_hh 35 template <
typename Transform>
54 bool do_has(
const char *property)
const;
56 virtual double do_evaluate(
const Transform& t,
CDoubleVector& gradient)
const;
57 double do_value(
const Transform& t)
const;
58 double do_value()
const;
61 bool do_get_full_size(Size& size)
const;
62 std::vector<typename TFullCost<Transform>::Pointer> m_costs;
Transform::Size Size
Typedef of the size of the data considered by this cost function.
std::shared_ptr< TFullCost< Transform > > Pointer
The shatred pointer type for this cost function.
A wrapper around the c-array to provide an STL like interface for iterators.
Base class for a general cost function.
A accumulation of cost functions that are weigted against each other.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
TFullCost< Transform >::Size Size
The size type of this cost function type.
TFullCost< Transform >::Pointer Pointer
The pointer type of this cost function.
#define NS_MIA_END
conveniance define to end the mia namespace