Template Class eh_cluster

Class Documentation

template<typename T, typename Policy>
class eh_cluster

A cluster representation for EH clustering algorithms.

Public Functions

inline eh_cluster(uint id, const std::vector<T> &data, membership_type<Policy> &membership)
inline void add_point(size_t point_idx)
inline const T &center(void) const
inline bool converged(void) const
eh_cluster &operator=(const eh_cluster&) = delete
inline size_t size(void) const
inline void update_size(void)

Update the size of the cluster after an iteration has finished.