Template Class entropy_eh_omp

Inheritance Relationships

Base Type

  • public rcppsw::algorithm::clustering::eh_clustering_impl< T > (exhale_interface_classrcppsw_1_1algorithm_1_1clustering_1_1eh__clustering__impl)

Class Documentation

template<typename T>
class entropy_eh_omp : public rcppsw::algorithm::clustering::eh_clustering_impl<T>

Parallel clustering using the Event Horizon (EH) membership policy with OpenMP. Suitable for information entropy calculations.

Public Functions

inline explicit entropy_eh_omp(size_t n_threads)
inline virtual bool converged(const cluster_vector&) const override

Determine if the clusters have converged and the algorithm should be terminated.

Returns:

TRUE if the algorithm has converged, FALSE otherwise.

inline virtual void initialize(std::vector<T> *const data, membership_type<policy::EH> *const membership) override

Perform algorithm-specific clustering initialization (memory localization, etc.).

inline virtual void iterate(const std::vector<T> &data, const dist_calc_ftype &dist_func, cluster_vector *const clusters) override
inline size_t n_threads(void) const
inline virtual void post_iter_update(cluster_vector*const) override