libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
crn::kmedoids::init::Central Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

crn::kmedoids::init::Central::Central ( size_t  n_classes)
inline

Definition at line 48 of file CRNkMedoids.h.

Member Function Documentation

std::vector< size_t > init::Central::operator() ( const std::vector< std::vector< double >> &  distmat) const

Definition at line 30 of file CRNkMedoids.cpp.


The documentation for this struct was generated from the following files: