Template Struct L2¶
Defined in File distance.h
Struct Documentation¶
-
template<class Feature>
struct loop_closure::distance::L2¶ Default implementation of L2 distance metric.
Works with std::vector, boost::array, or more generally any container that has a
value_type
typedef,size()
and array-indexed element access.Public Types
-
typedef Accumulator<value_type>::type result_type¶
Public Functions
-
inline result_type operator()(const Feature &a, const Feature &b) const¶
-
typedef Accumulator<value_type>::type result_type¶