A toolkit for working with phylogenetic data.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Kmeans< Point >::ClusteringInfo Struct Reference

#include <genesis/utils/math/kmeans.hpp>

Detailed Description

template<typename Point>
struct genesis::utils::Kmeans< Point >::ClusteringInfo

Helper POD that stores the variances and number of data points of each centroid, as well as the distances from all data points to their assigned centroids.

Definition at line 87 of file utils/math/kmeans.hpp.

Public Attributes

std::vector< size_t > counts
std::vector< double > distances
std::vector< double > variances

Member Data Documentation

std::vector<size_t> counts

Definition at line 90 of file utils/math/kmeans.hpp.

std::vector<double> distances

Definition at line 91 of file utils/math/kmeans.hpp.

std::vector<double> variances

Definition at line 89 of file utils/math/kmeans.hpp.

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