Adding doxygen documentation support

This commit is contained in:
BlackLight 2010-11-19 12:20:36 +01:00
parent 7abf1fcfbd
commit e0d419db29
2 changed files with 1643 additions and 0 deletions

1630
Doxyfile Normal file

File diff suppressed because it is too large Load diff

View file

@ -21,12 +21,25 @@
#define __KMEANS_H #define __KMEANS_H
typedef struct __kmeans_t { typedef struct __kmeans_t {
/** Input data set */
double **dataset; double **dataset;
/** Number of elements in the data set */
int dataset_size; int dataset_size;
/** Dimension of each element of the data set */
int dataset_dim; int dataset_dim;
/** Number of clusters */
int k; int k;
/** Vector containing the number of elements in each cluster */
int *cluster_sizes; int *cluster_sizes;
/** Clusters */
double ***clusters; double ***clusters;
/** Coordinates of the centers of the clusters */
double **centers; double **centers;
} kmeans_t; } kmeans_t;