libcrn
3.9.5
A document image processing library
|
Finds the k most central elements. More...
#include <CRNkMedoids.h>
Public Member Functions | |
Central (size_t n_classes) | |
std::vector< size_t > | operator() (const std::vector< std::vector< double >> &distmat) const |
Finds the k most central elements.
Fast initialization with the most central elements.
Park H-S, Jun C-H, A simple and fast algorithm for K-medoids clustering, ESA #36-2-2, 2009
Definition at line 46 of file CRNkMedoids.h.
|
inline |
Definition at line 48 of file CRNkMedoids.h.
std::vector< size_t > init::Central::operator() | ( | const std::vector< std::vector< double >> & | distmat | ) | const |
Definition at line 30 of file CRNkMedoids.cpp.