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

Public Member Functions

 Node ()
 
 ~Node ()
 

Public Attributes

std::vector< Node * > childs
 
ElementTypepivot
 
size_t pivot_index
 
std::vector< PointInfopoints
 

Private Member Functions

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

Friends

struct serialization::access
 

Detailed Description

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

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

Definition at line 352 of file hierarchical_clustering_index.h.

Constructor & Destructor Documentation

template<typename Distance >
rtflann::HierarchicalClusteringIndex< Distance >::Node::Node ( )
inline

Definition at line 368 of file hierarchical_clustering_index.h.

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

destructor calling Node destructor explicitly

Definition at line 376 of file hierarchical_clustering_index.h.

Member Function Documentation

template<typename Distance >
template<typename Archive >
void rtflann::HierarchicalClusteringIndex< Distance >::Node::serialize ( Archive &  ar)
inlineprivate

Definition at line 387 of file hierarchical_clustering_index.h.

Friends And Related Function Documentation

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

Definition at line 420 of file hierarchical_clustering_index.h.

Member Data Documentation

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

Child nodes (only for non-terminal nodes)

Definition at line 362 of file hierarchical_clustering_index.h.

template<typename Distance >
ElementType* rtflann::HierarchicalClusteringIndex< Distance >::Node::pivot

The cluster center

Definition at line 357 of file hierarchical_clustering_index.h.

template<typename Distance >
size_t rtflann::HierarchicalClusteringIndex< Distance >::Node::pivot_index

Definition at line 358 of file hierarchical_clustering_index.h.

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

Node points (only for terminal nodes)

Definition at line 366 of file hierarchical_clustering_index.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:09