PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
kmeans_result kmeans | ( | kmeans_config * | config | ) |
Definition at line 249 of file kmeans.c.
References kmeans_config::centers, kmeans_config::centroid_method, kmeans_config::clusters, kmeans_config::distance_method, kmeans_config::k, KMEANS_ERROR, KMEANS_EXCEEDED_MAX_ITERATIONS, kmeans_free, kmeans_malloc, KMEANS_MAX_ITERATIONS, KMEANS_OK, LW_ON_INTERRUPT, kmeans_config::max_iterations, kmeans_config::num_objs, kmeans_config::objs, kmeans_config::total_iterations, update_means(), and update_r().
Referenced by lwgeom_cluster_2d_kmeans().