Public Types | Public Member Functions
rtflann::Hamming< T > Struct Template Reference

#include <dist.h>

List of all members.

Public Types

typedef T ElementType
typedef unsigned int ResultType

Public Member Functions

template<typename Iterator1 , typename Iterator2 >
ResultType operator() (Iterator1 a, Iterator2 b, size_t size, ResultType=0) const
unsigned int popcnt32 (uint32_t n) const
unsigned int popcnt64 (uint64_t n) const

Detailed Description

template<typename T>
struct rtflann::Hamming< T >

Definition at line 529 of file dist.h.


Member Typedef Documentation

template<typename T >
typedef T rtflann::Hamming< T >::ElementType

Definition at line 531 of file dist.h.

template<typename T >
typedef unsigned int rtflann::Hamming< T >::ResultType

Definition at line 532 of file dist.h.


Member Function Documentation

template<typename T >
template<typename Iterator1 , typename Iterator2 >
ResultType rtflann::Hamming< T >::operator() ( Iterator1  a,
Iterator2  b,
size_t  size,
ResultType  = 0 
) const [inline]

Definition at line 551 of file dist.h.

template<typename T >
unsigned int rtflann::Hamming< T >::popcnt32 ( uint32_t  n) const [inline]

This is popcount_3() from: http://en.wikipedia.org/wiki/Hamming_weight

Definition at line 536 of file dist.h.

template<typename T >
unsigned int rtflann::Hamming< T >::popcnt64 ( uint64_t  n) const [inline]

Definition at line 543 of file dist.h.


The documentation for this struct was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:42