Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClosestCentroid< Point > Struct Template Reference

Detailed Description

template<typename Point>
struct examples::k_means::ClosestCentroid< Point >

Assignment of a point to a cluster, which is the input to.

Definition at line 61 of file k-means.hpp.

+ Collaboration diagram for ClosestCentroid< Point >:

#include <k-means.hpp>

Public Member Functions

template<typename Archive >
void serialize (Archive &archive)
 

Public Attributes

CentroidAccumulated< Pointcenter
 
size_t cluster_id
 

Member Function Documentation

void serialize ( Archive &  archive)
inline

Member Data Documentation

size_t cluster_id

Definition at line 62 of file k-means.hpp.

Referenced by examples::k_means::KMeans(), and ClosestCentroid< Point >::serialize().


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