MobilityDB 1.3
Loading...
Searching...
No Matches

◆ geo_cluster_kmeans()

int * geo_cluster_kmeans ( const GSERIALIZED **  geoms,
uint32_t  n,
uint32_t  k 
)

Return an array of integers specifying the cluster number assigned to the input geometries using the k-means algorithm contains a geometry.

Parameters
[in]geomsGeometries
[in]nNumber of elements in the input array
[in]kNumber of clusters