BICO
1.1
|
Clustering feature tree entry. More...
#include <cfentry.h>
Public Member Functions | |
CFEntry (size_t number, T ls, double ss) | |
CFEntry & | operator+= (CFEntry const &x) |
CFEntry & | operator-= (CFEntry const &x) |
CFEntry | operator+ (CFEntry const &x) const |
CFEntry | operator- (CFEntry const &x) const |
void | insert (T const &x) |
Inserts a point. More... | |
void | remove (T const &x) |
Removes a point. More... | |
T | cog () |
Returns the center of gravity. More... | |
double | kMeansCost (T const ¢er) |
1-means clustering cost More... | |
Public Attributes | |
size_t | number |
Number of points contained in the feature. More... | |
T | LS |
Linear sum. More... | |
double | SS |
Squared sum. More... | |
const bool | isWeighted |
Clustering feature tree entry.
Clustering tree feature as described in T. Zhang, R. Ramakrishan and M. Livny. "BIRCH: A New Data Clustering Algorithm and Its Applications". Data Mining and Knowledge Discovery, 10.1023/A:1009783824328, 1997.
CluE::CFEntry< T >::CFEntry | ( | size_t | number, |
T | ls, | ||
double | ss | ||
) |
CFEntry< T > & CluE::CFEntry< T >::operator+= | ( | CFEntry< T > const & | x | ) |
CFEntry< T > & CluE::CFEntry< T >::operator-= | ( | CFEntry< T > const & | x | ) |
CFEntry< T > CluE::CFEntry< T >::operator+ | ( | CFEntry< T > const & | x | ) | const |
CFEntry< T > CluE::CFEntry< T >::operator- | ( | CFEntry< T > const & | x | ) | const |
void CluE::CFEntry< T >::insert | ( | T const & | x | ) |
void CluE::CFEntry< T >::remove | ( | T const & | x | ) |
T CluE::CFEntry< T >::cog | ( | ) |
double CluE::CFEntry< T >::kMeansCost | ( | T const & | center | ) |
size_t CluE::CFEntry< T >::number |
T CluE::CFEntry< T >::LS |
double CluE::CFEntry< T >::SS |
const bool CluE::CFEntry< T >::isWeighted |