A library for working with phylogenetic and population genetic data.
v0.27.0
EuclideanKmeans Member List

This is the complete list of members for EuclideanKmeans, including all inherited members.

assign_to_centroids(std::vector< std::vector< double > > const &data, std::vector< std::vector< double > > const &centroids, std::vector< size_t > &assignments)Kmeans< std::vector< double > >inlineprotectedvirtual
assignments() constKmeans< std::vector< double > >inline
assignments(std::vector< size_t > const &value)Kmeans< std::vector< double > >inline
centroids() constKmeans< std::vector< double > >inline
centroids(std::vector< std::vector< double > > const &value)Kmeans< std::vector< double > >inline
clear()Kmeans< std::vector< double > >inline
cluster_info(std::vector< std::vector< double > > const &data) constKmeans< std::vector< double > >inline
cluster_info(std::vector< std::vector< double > > const &data, std::vector< size_t > const &assignments, std::vector< std::vector< double > > const &centroids) constKmeans< std::vector< double > >inlineprotectedvirtual
cluster_sizes() constKmeans< std::vector< double > >inline
EuclideanKmeans(size_t dimensions)EuclideanKmeans
EuclideanKmeans(EuclideanKmeans const &)=defaultEuclideanKmeans
EuclideanKmeans(EuclideanKmeans &&)=defaultEuclideanKmeans
find_nearest_cluster(std::vector< std::vector< double > > const &centroids, std::vector< double > const &datum) constKmeans< std::vector< double > >inlineprotectedvirtual
initialization_strategy() constKmeans< std::vector< double > >inline
initialization_strategy(KmeansInitializationStrategy value)Kmeans< std::vector< double > >inline
initialize(std::vector< std::vector< double > > const &data, size_t const k)Kmeans< std::vector< double > >inlineprotectedvirtual
Kmeans()=defaultKmeans< std::vector< double > >
Kmeans(Kmeans const &)=defaultKmeans< std::vector< double > >
Kmeans(Kmeans &&)=defaultKmeans< std::vector< double > >
lloyd_step(std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > &centroids)Kmeans< std::vector< double > >inlineprotectedvirtual
max_iterations() constKmeans< std::vector< double > >inline
max_iterations(size_t value)Kmeans< std::vector< double > >inline
operator=(EuclideanKmeans const &)=defaultEuclideanKmeans
operator=(EuclideanKmeans &&)=defaultEuclideanKmeans
Kmeans< std::vector< double > >::operator=(Kmeans const &)=defaultKmeans< std::vector< double > >
Kmeans< std::vector< double > >::operator=(Kmeans &&)=defaultKmeans< std::vector< double > >
Point typedefEuclideanKmeans
post_loop_hook(std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > &centroids)Kmeans< std::vector< double > >inlineprotectedvirtual
pre_loop_hook(std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > &centroids)Kmeans< std::vector< double > >inlineprotectedvirtual
report_initializationKmeans< std::vector< double > >
report_iterationKmeans< std::vector< double > >
run(std::vector< std::vector< double > > const &data, size_t const k)Kmeans< std::vector< double > >inline
treat_empty_centroids(std::vector< std::vector< double > > const &data, std::vector< size_t > &assignments, std::vector< std::vector< double > > &centroids, std::unordered_set< size_t > const &empty_centroids)Kmeans< std::vector< double > >inlineprotectedvirtual
value_type typedefKmeans< std::vector< double > >
~EuclideanKmeans() override=defaultEuclideanKmeansvirtual
~Kmeans()=defaultKmeans< std::vector< double > >virtual