- int ngroups; //Number of group. (Given by the user)
- casenumber n; //Number of observations. By default it is -1.
- int m; //Number of variables. (Given by the user)
- int maxiter; //Maximum number of iterations (Given by the user)
- int lastiter; //Show at which iteration it found the solution.
- int trials; //If not convergence, how many times has clustering done.
- gsl_matrix *initial_centers; //Initial random centers
- const struct variable **variables; //Variables
- gsl_permutation *group_order; //Handles group order for reporting
- struct casereader *original_casereader; //Casereader
+ int ngroups; /* Number of group. (Given by the user) */
+ casenumber n; /* Number of observations (default -1). */
+ int m; /* Number of variables. (Given by the user) */
+ int maxiter; /* Maximum iterations (Given by the user) */
+ int lastiter; /* Iteration where it found the solution. */
+ int trials; /* If not convergence, how many times has
+ clustering done. */
+ gsl_matrix *initial_centers; /* Initial random centers. */
+ const struct variable **variables;
+ gsl_permutation *group_order; /* Group order for reporting. */
+ struct casereader *original_casereader;