A toolkit for working with phylogenetic data.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
KmeansClusteringInfo Struct Reference

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

Detailed Description

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 76 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 79 of file utils/math/kmeans.hpp.

std::vector<double> distances

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

std::vector<double> variances

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

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