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

◆ Node()

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

Definition at line 368 of file hierarchical_clustering_index.h.

◆ ~Node()

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

◆ serialize()

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

◆ serialization::access

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

Definition at line 420 of file hierarchical_clustering_index.h.

Member Data Documentation

◆ childs

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.

◆ pivot

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

The cluster center

Definition at line 357 of file hierarchical_clustering_index.h.

◆ pivot_index

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

Definition at line 358 of file hierarchical_clustering_index.h.

◆ points

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 Thu Jul 25 2024 02:50:28