CluE
1.0
|
Clustering feature with representation point. More...
#include <cfrentry.h>
Public Member Functions | |
CFREntry (size_t number, T ls, double ss, T representative) | |
void | insertWeighted (T const &x) |
![]() | |
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 | |
T | representative |
![]() | |
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 with representation point.
Definition at line 17 of file cfrentry.h.
CluE::CFREntry< T >::CFREntry | ( | size_t | number, |
T | ls, | ||
double | ss, | ||
T | representative | ||
) |
Definition at line 25 of file cfrentry.h.
void CluE::CFREntry< T >::insertWeighted | ( | T const & | x | ) |
T CluE::CFREntry< T >::representative |
Definition at line 22 of file cfrentry.h.