Public Member Functions | Public Attributes | Friends | List of all members
rtflann::KMeansIndex< Distance >::Node Struct Reference

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 399 of file kmeans_index.h.

Constructor & Destructor Documentation

◆ ~Node()

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

Level

Definition at line 430 of file kmeans_index.h.

Member Function Documentation

◆ serialize()

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

Definition at line 441 of file kmeans_index.h.

Friends And Related Function Documentation

◆ serialization::access

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

Definition at line 475 of file kmeans_index.h.

Member Data Documentation

◆ childs

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

Child nodes (only for non-terminal nodes)

Definition at line 420 of file kmeans_index.h.

◆ pivot

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

The cluster center.

Definition at line 404 of file kmeans_index.h.

◆ points

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

Node points (only for terminal nodes)

Definition at line 424 of file kmeans_index.h.

◆ radius

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

The cluster radius.

Definition at line 408 of file kmeans_index.h.

◆ size

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

The cluster size (number of points in the cluster)

Definition at line 416 of file kmeans_index.h.

◆ variance

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

The cluster variance.

Definition at line 412 of file kmeans_index.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:29