Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Cluster_engine_k_means_point_selector_minimax< PointType, VectorType, Distance > Class Template Reference

Select initial centers of mass by maximizing the min distance between centers of mass at each selection step
More...

#include <Cluster_engine_k_means_seed_selectors.hpp>

Attributes

std::random_device m_rd
 
std::mt19937 m_rng
 

Constructors

 T_Cluster_engine_k_means_point_selector_minimax (void)
 
 T_Cluster_engine_k_means_point_selector_minimax (int generator)
 
 T_Cluster_engine_k_means_point_selector_minimax (const Self &other)
 
 T_Cluster_engine_k_means_point_selector_minimax (void)
 
 T_Cluster_engine_k_means_point_selector_minimax (int generator)
 
 T_Cluster_engine_k_means_point_selector_minimax (const Self &other)
 

Functor

template<class InputIterator , class OutputIterator >
OutputIterator operator() (std::size_t k, InputIterator begin, InputIterator end, OutputIterator out)
 
template<class InputIterator , class OutputIterator >
OutputIterator operator() (std::size_t k, InputIterator begin, InputIterator end, OutputIterator out)
 

Detailed Description

template<class PointType, class VectorType, class Distance>
class SBL::GT::T_Cluster_engine_k_means_point_selector_minimax< PointType, VectorType, Distance >

Select initial centers of mass by maximizing the min distance between centers of mass at each selection step

Select initial centers of mass by maximizing the min distance between centers of mass at each selection step

Template Parameters
PointTypeRepresentation of a point.
VectorTypeRepresentation of a vector.
DistanceCompute the distance between a point and a center of mass.