#include <center_chooser.h>
Public Types | |
typedef Distance::ResultType | DistanceType |
typedef Distance::ElementType | ElementType |
Public Types inherited from rtflann::CenterChooser< Distance > | |
typedef Distance::ResultType | DistanceType |
typedef Distance::ElementType | ElementType |
Public Member Functions | |
void | operator() (int k, int *indices, int indices_length, int *centers, int ¢ers_length) |
RandomCenterChooser (const Distance &distance, const std::vector< ElementType * > &points) | |
Public Member Functions inherited from rtflann::CenterChooser< Distance > | |
CenterChooser (const Distance &distance, const std::vector< ElementType * > &points) | |
void | setDataSize (size_t cols) |
virtual | ~CenterChooser () |
Additional Inherited Members | |
Protected Attributes inherited from rtflann::CenterChooser< Distance > | |
size_t | cols_ |
const Distance | distance_ |
const std::vector< ElementType * > & | points_ |
Definition at line 105 of file center_chooser.h.
typedef Distance::ResultType rtflann::RandomCenterChooser< Distance >::DistanceType |
Definition at line 109 of file center_chooser.h.
typedef Distance::ElementType rtflann::RandomCenterChooser< Distance >::ElementType |
Definition at line 108 of file center_chooser.h.
|
inline |
Definition at line 114 of file center_chooser.h.
|
inlinevirtual |
Chooses cluster centers
k | number of centers to choose |
indices | indices of points to choose the centers from |
indices_length | length of indices |
centers | indices of chosen centers |
centers_length | length of centers array |
Implements rtflann::CenterChooser< Distance >.
Definition at line 117 of file center_chooser.h.