Thrill  0.1
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

◆ serialize()

void serialize ( Archive &  archive)
inline

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

Member Data Documentation

◆ center

◆ cluster_id

size_t cluster_id

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

Referenced by examples::k_means::BisecKMeans(), and examples::k_means::KMeans().


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