CluE  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cfrentry.h
Go to the documentation of this file.
1 #ifndef CFRENTRY_H
2 #define CFRENTRY_H
3 
4 #include "cfentry.h"
5 
6 namespace CluE
7 {
8 
17 template<typename T> struct CFREntry : CFEntry<T>
18 {
19  CFREntry(size_t number, T ls, double ss, T representative);
20  void insertWeighted(T const & x);
21 
23 };
24 
25 template<typename T> CFREntry<T>::CFREntry(size_t number, T ls, double ss, T representative) :
26  CFEntry<T>(number, ls, ss),
27  representative(representative)
28 {
29 }
30 
31 }
32 
33 #endif
T representative
Definition: cfrentry.h:22
size_t number
Number of points contained in the feature.
Definition: cfentry.h:27
Clustering feature with representation point.
Definition: cfrentry.h:17
void insertWeighted(T const &x)
CFREntry(size_t number, T ls, double ss, T representative)
Definition: cfrentry.h:25
Clustering feature tree entry.
Definition: cfentry.h:22