Public Member Functions | |
template<typename Archive > | |
void | serialize (Archive &ar) |
~Node () | |
Public Attributes | |
std::vector< Node * > | childs |
DistanceType * | pivot |
std::vector< PointInfo > | points |
DistanceType | radius |
int | size |
DistanceType | variance |
Friends | |
struct | serialization::access |
Struture representing a node in the hierarchical k-means tree.
Definition at line 371 of file kmeans_index.h.
rtflann::KMeansIndex< Distance >::Node::~Node | ( | ) | [inline] |
Level
Definition at line 402 of file kmeans_index.h.
void rtflann::KMeansIndex< Distance >::Node::serialize | ( | Archive & | ar | ) | [inline] |
Definition at line 413 of file kmeans_index.h.
friend struct serialization::access [friend] |
Definition at line 447 of file kmeans_index.h.
std::vector<Node*> rtflann::KMeansIndex< Distance >::Node::childs |
Child nodes (only for non-terminal nodes)
Definition at line 392 of file kmeans_index.h.
DistanceType* rtflann::KMeansIndex< Distance >::Node::pivot |
The cluster center.
Definition at line 376 of file kmeans_index.h.
std::vector<PointInfo> rtflann::KMeansIndex< Distance >::Node::points |
Node points (only for terminal nodes)
Definition at line 396 of file kmeans_index.h.
DistanceType rtflann::KMeansIndex< Distance >::Node::radius |
The cluster radius.
Definition at line 380 of file kmeans_index.h.
int rtflann::KMeansIndex< Distance >::Node::size |
The cluster size (number of points in the cluster)
Definition at line 388 of file kmeans_index.h.
DistanceType rtflann::KMeansIndex< Distance >::Node::variance |
The cluster variance.
Definition at line 384 of file kmeans_index.h.