#include <dist.h>
Public Types | |
typedef False | is_kdtree_distance |
typedef True | is_vector_space_distance |
typedef T | ElementType |
typedef Accumulator< T >::Type | ResultType |
Public Member Functions | |
template<typename Iterator1 , typename Iterator2 > | |
ResultType | operator() (Iterator1 a, Iterator2 b, size_t size, ResultType worst_dist=-1) const |
typedef T cvflann::MaxDistance< T >::ElementType |
typedef False cvflann::MaxDistance< T >::is_kdtree_distance |
typedef True cvflann::MaxDistance< T >::is_vector_space_distance |
typedef Accumulator<T>::Type cvflann::MaxDistance< T >::ResultType |
|
inline |
Compute the max distance (L_infinity) between two vectors.
This distance is not a valid kdtree distance, it's not dimensionwise additive.