Public Member Functions | Public Attributes | Friends
rtflann::KMeansIndex< Distance >::Node Struct Reference

List of all members.

Public Member Functions

template<typename Archive >
void serialize (Archive &ar)
 ~Node ()

Public Attributes

std::vector< Node * > childs
DistanceTypepivot
std::vector< PointInfopoints
DistanceType radius
int size
DistanceType variance

Friends

struct serialization::access

Detailed Description

template<typename Distance>
struct rtflann::KMeansIndex< Distance >::Node

Struture representing a node in the hierarchical k-means tree.

Definition at line 371 of file kmeans_index.h.


Constructor & Destructor Documentation

template<typename Distance>
rtflann::KMeansIndex< Distance >::Node::~Node ( ) [inline]

Level

Definition at line 402 of file kmeans_index.h.


Member Function Documentation

template<typename Distance>
template<typename Archive >
void rtflann::KMeansIndex< Distance >::Node::serialize ( Archive &  ar) [inline]

Definition at line 413 of file kmeans_index.h.


Friends And Related Function Documentation

template<typename Distance>
friend struct serialization::access [friend]

Definition at line 447 of file kmeans_index.h.


Member Data Documentation

template<typename Distance>
std::vector<Node*> rtflann::KMeansIndex< Distance >::Node::childs

Child nodes (only for non-terminal nodes)

Definition at line 392 of file kmeans_index.h.

template<typename Distance>
DistanceType* rtflann::KMeansIndex< Distance >::Node::pivot

The cluster center.

Definition at line 376 of file kmeans_index.h.

template<typename Distance>
std::vector<PointInfo> rtflann::KMeansIndex< Distance >::Node::points

Node points (only for terminal nodes)

Definition at line 396 of file kmeans_index.h.

template<typename Distance>
DistanceType rtflann::KMeansIndex< Distance >::Node::radius

The cluster radius.

Definition at line 380 of file kmeans_index.h.

template<typename Distance>
int rtflann::KMeansIndex< Distance >::Node::size

The cluster size (number of points in the cluster)

Definition at line 388 of file kmeans_index.h.

template<typename Distance>
DistanceType rtflann::KMeansIndex< Distance >::Node::variance

The cluster variance.

Definition at line 384 of file kmeans_index.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:43