mirror of
https://github.com/BlackLight/fkmeans.git
synced 2024-10-15 05:05:34 +02:00
Adding doxygen documentation support
This commit is contained in:
parent
7abf1fcfbd
commit
e0d419db29
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