45 spherical, elliptical, mixed, automatic
59 normal, uniform, D_random, DISTRIBUTION_COUNT
95 BUCKETS* bucket_cache[DISTRIBUTION_COUNT][MAXBUCKETS + 1 - MINBUCKETS];
105 #define InitSampleSearch(S,C) (((C)==nullptr)?(S=NIL_LIST):(S=push(NIL_LIST,(C)))) 116 void FreeClusterer(
CLUSTERER *Clusterer);
118 void FreeProtoList(
LIST *ProtoList);
120 void FreePrototype(
void *arg);
126 float StandardDeviation(
PROTOTYPE *Proto, uint16_t Dimension);
128 int32_t MergeClusters(int16_t N,
PARAM_DESC ParamDesc[], int32_t n1, int32_t n2,
129 float m[],
float m1[],
float m2[]);
unsigned Style
Definition: cluster.h:74
unsigned Prototype
Definition: cluster.h:34
int32_t NumberOfSamples
Definition: cluster.h:89
PARAM_DESC * ParamDesc
Definition: cluster.h:88
unsigned SampleCount
Definition: cluster.h:35
float TotalMagnitude
Definition: cluster.h:79
int32_t CharID
Definition: cluster.h:38
int32_t NumChar
Definition: cluster.h:93
LIST ProtoList
Definition: cluster.h:92
float Independence
Definition: cluster.h:53
float Spherical
Definition: cluster.h:63
float * Elliptical
Definition: cluster.h:64
FLOATUNION Weight
Definition: cluster.h:83
float Mean[1]
Definition: cluster.h:39
unsigned Merged
Definition: cluster.h:69
FLOATUNION Magnitude
Definition: cluster.h:82
int MagicSamples
Definition: cluster.h:55
float LogMagnitude
Definition: cluster.h:80
struct sample * Right
Definition: cluster.h:37
int32_t MaxNumSamples
Definition: cluster.h:100
Definition: cluster.cpp:179
unsigned Significant
Definition: cluster.h:68
DISTRIBUTION * Distrib
Definition: cluster.h:77
unsigned NumSamples
Definition: cluster.h:75
int16_t SampleSize
Definition: cluster.h:87
Definition: oldlist.h:124
CLUSTER * Cluster
Definition: cluster.h:76
double Confidence
Definition: cluster.h:54
float MinSamples
Definition: cluster.h:50
PROTOSTYLE ProtoStyle
Definition: cluster.h:49
unsigned Clustered
Definition: cluster.h:33
struct sample * Left
Definition: cluster.h:36
Definition: ocrfeatures.h:43
KDTREE * KDTree
Definition: cluster.h:90
float MaxIllegal
Definition: cluster.h:51
FLOATUNION Variance
Definition: cluster.h:81
CLUSTER * Root
Definition: cluster.h:91
float * Mean
Definition: cluster.h:78
int32_t NumSamples
Definition: cluster.h:99