1#ifndef __CCEX_CLUSTER_H_
2#define __CCEX_CLUSTER_H_
112void Cluster_freeAll(
Cluster* cls);
124void Cluster_report(
Cluster* cls);
125void Cluster_reportNk(
Cluster* cls);
126void Cluster_reportClusinfo(
Cluster* cls);
127void reportClusinfo(
int*** clusinfo,
int order);
133void Cluster_allocClusinfo(
Cluster* cls,
int order);
134void Cluster_freeClusinfo(
Cluster* cls);
136void Cluster_setClusinfo_0th(
Cluster* cls);
138int Cluster_setClusinfo_addcluster(
Cluster* cls,
int order,
int iter,
int* cluster);
139void Cluster_setClusinfo_chgcluster(
Cluster* cls,
int order,
int* cluster,
int ic);
140void Cluster_setClusinfo_chgiter(
Cluster* cls,
int order,
int iter,
int ic);
151int Cluster_getClusinfo_ncluster(
Cluster* cls,
int order);
152int* Cluster_getClusinfo_itercluster(
Cluster* cls,
int order,
int ic);
153int Cluster_getClusinfo_iter(
Cluster* cls,
int order,
int ic);
154int* Cluster_getClusinfo_cluster_copy(
Cluster* cls,
int order,
int ic);
155int*** Cluster_getClusinfo(
Cluster* cls);
158void Cluster_allocNk(
Cluster* cls);
159void Cluster_freeNk(
Cluster* qa);
160int Cluster_getNk_order(
Cluster* cls,
int i);
161int* Cluster_getNk(
Cluster* cls);
164char* Cluster_getMethod(
Cluster* cls);
165int Cluster_getOrder(
Cluster* cls);
166bool Cluster_getAddsubclus(
Cluster* cls);
167int Cluster_getSk(
Cluster* cls);
168int Cluster_getMax_iter(
Cluster* cls);
169int Cluster_getMax_trial(
Cluster* cls);
170bool Cluster_getKmeans_pp(
Cluster* cls);
171bool Cluster_getIter_detail(
Cluster* cls);
174void Cluster_setOrder(
Cluster* cls,
int order);
175void Cluster_setMethod(
Cluster* cls,
char* method);
176void Cluster_setAddsubclus(
Cluster* cls,
bool addsubclus);
177void Cluster_setNk(
Cluster* cls,
int* nk);
178void Cluster_setSk(
Cluster* cls,
int sK);
179void Cluster_setMax_trial(
Cluster* cls,
int max_trial);
180void Cluster_setMax_iter(
Cluster* cls,
int max_iter);
181void Cluster_setKmeans_pp(
Cluster* cls,
bool kmeans_pp);
182void Cluster_setIter_detail(
Cluster* cls,
bool iter_detail);
int * nk
The number of clusters for each order "k".
Definition cluster.h:60
int max_trial
Definition cluster.h:28
int max_iter
Definition cluster.h:29
bool addsubclus
Include all sub-clusters of the highest order : on | off.
Definition cluster.h:73
int sK
parameters of pCCE
Definition cluster.h:27
bool iter_detail
Definition cluster.h:32
char method[MAX_CHARARRAY_LENGTH]
Clustering algorithm : See details in Config::method.
Definition cluster.h:37
bool kmeans_pp
Definition cluster.h:31
int order
Clusterizing order : See details in Config::order.
Definition cluster.h:21
int *** clusinfo
The clusters for each order "k".
Definition cluster.h:99