libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
CRNkMedoids.h File Reference
#include <CRNException.h>
#include <vector>
#include <map>
#include <tuple>
#include <limits>
+ Include dependency graph for CRNkMedoids.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  crn::kmedoids::init::Central
 Finds the k most central elements. More...
 
struct  crn::kmedoids::init::PAM
 PAM. More...
 
struct  crn::kmedoids::update::Local
 Gets the element with the lower distance to other elements in the cluster. More...
 
struct  crn::kmedoids::update::PAM
 PAM. More...
 

Namespaces

 crn
 
 crn::kmedoids
 k medoids
 
 crn::kmedoids::init
 
 crn::kmedoids::update
 

Functions

template<typename Init , typename Update >
std::tuple< std::vector
< size_t >, std::vector
< std::multimap< double,
size_t > >, std::vector
< size_t > > 
crn::kmedoids::Run (Init init, Update update, const std::vector< std::vector< double >> &distmat, size_t maxiter=std::numeric_limits< size_t >::max())
 k medoids More...