GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
Cluster library - Execute clusterring. More...
Go to the source code of this file.
Functions | |
int | I_cluster_exec (struct Cluster *C, int maxclass, int iterations, double convergence, double separation, int min_class_size, int(*checkpoint)(struct Cluster *, int), int *interrupted) |
Cluster library - Execute clusterring.
(C) 2001-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file c_exec.c.
int I_cluster_exec | ( | struct Cluster * | C, |
int | maxclass, | ||
int | iterations, | ||
double | convergence, | ||
double | separation, | ||
int | min_class_size, | ||
int(*)(struct Cluster *, int) | checkpoint, | ||
int * | interrupted | ||
) |
C | pointer to Cluster structure |
maxclass | maximum number of classes |
iterations | maximum number of iterations |
convergence | percentage of points stable |
separation | minimum distance between class centroids |
min_class_size | minimum size of class |
checkpoint | routine to be called at various steps |
interrupted | boolean to check for interrupt |
Definition at line 32 of file c_exec.c.
References _, G_warning(), I_cluster_assign(), I_cluster_distinct(), I_cluster_exec_allocate(), I_cluster_means(), I_cluster_merge(), I_cluster_reassign(), I_cluster_reclass(), I_cluster_signatures(), I_cluster_sum2(), if(), Cluster::nclasses, and Cluster::npoints.