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 399 of file kmeans_index.h.
|
inline |
Level
Definition at line 430 of file kmeans_index.h.
|
inline |
Definition at line 441 of file kmeans_index.h.
|
friend |
Definition at line 475 of file kmeans_index.h.
std::vector<Node*> rtflann::KMeansIndex< Distance >::Node::childs |
Child nodes (only for non-terminal nodes)
Definition at line 420 of file kmeans_index.h.
DistanceType* rtflann::KMeansIndex< Distance >::Node::pivot |
The cluster center.
Definition at line 404 of file kmeans_index.h.
std::vector<PointInfo> rtflann::KMeansIndex< Distance >::Node::points |
Node points (only for terminal nodes)
Definition at line 424 of file kmeans_index.h.
DistanceType rtflann::KMeansIndex< Distance >::Node::radius |
The cluster radius.
Definition at line 408 of file kmeans_index.h.
int rtflann::KMeansIndex< Distance >::Node::size |
The cluster size (number of points in the cluster)
Definition at line 416 of file kmeans_index.h.
DistanceType rtflann::KMeansIndex< Distance >::Node::variance |
The cluster variance.
Definition at line 412 of file kmeans_index.h.