Public Types | Public Member Functions
rtflann::RandomCenterChooser< Distance > Class Template Reference

#include <center_chooser.h>

Inheritance diagram for rtflann::RandomCenterChooser< Distance >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Distance::ResultType DistanceType
typedef Distance::ElementType ElementType

Public Member Functions

void operator() (int k, int *indices, int indices_length, int *centers, int &centers_length)
 RandomCenterChooser (const Distance &distance, const std::vector< ElementType * > &points)

Detailed Description

template<typename Distance>
class rtflann::RandomCenterChooser< Distance >

Definition at line 105 of file center_chooser.h.


Member Typedef Documentation

template<typename Distance>
typedef Distance::ResultType rtflann::RandomCenterChooser< Distance >::DistanceType

Reimplemented from rtflann::CenterChooser< Distance >.

Definition at line 109 of file center_chooser.h.

template<typename Distance>
typedef Distance::ElementType rtflann::RandomCenterChooser< Distance >::ElementType

Reimplemented from rtflann::CenterChooser< Distance >.

Definition at line 108 of file center_chooser.h.


Constructor & Destructor Documentation

template<typename Distance>
rtflann::RandomCenterChooser< Distance >::RandomCenterChooser ( const Distance &  distance,
const std::vector< ElementType * > &  points 
) [inline]

Definition at line 114 of file center_chooser.h.


Member Function Documentation

template<typename Distance>
void rtflann::RandomCenterChooser< Distance >::operator() ( int  k,
int *  indices,
int  indices_length,
int *  centers,
int &  centers_length 
) [inline, virtual]

Chooses cluster centers

Parameters:
knumber of centers to choose
indicesindices of points to choose the centers from
indices_lengthlength of indices
centersindices of chosen centers
centers_lengthlength of centers array

Implements rtflann::CenterChooser< Distance >.

Definition at line 117 of file center_chooser.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:43