mirror of
https://github.com/BlackLight/fkmeans.git
synced 2024-11-23 20:25:10 +01:00
Adding doxygen documentation support
This commit is contained in:
parent
7abf1fcfbd
commit
e0d419db29
2 changed files with 1643 additions and 0 deletions
13
kmeans.h
13
kmeans.h
|
@ -21,12 +21,25 @@
|
|||
#define __KMEANS_H
|
||||
|
||||
typedef struct __kmeans_t {
|
||||
/** Input data set */
|
||||
double **dataset;
|
||||
|
||||
/** Number of elements in the data set */
|
||||
int dataset_size;
|
||||
|
||||
/** Dimension of each element of the data set */
|
||||
int dataset_dim;
|
||||
|
||||
/** Number of clusters */
|
||||
int k;
|
||||
|
||||
/** Vector containing the number of elements in each cluster */
|
||||
int *cluster_sizes;
|
||||
|
||||
/** Clusters */
|
||||
double ***clusters;
|
||||
|
||||
/** Coordinates of the centers of the clusters */
|
||||
double **centers;
|
||||
} kmeans_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue