Opened 7 years ago

Closed 7 years ago

#3977 closed patch (fixed)

Simplify KMeans code

Reported by: komzpa Owned by: komzpa
Priority: medium Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: Cc:

Description

KMeans contains generic implementation that has #ifdef-ed out parts (threaded) and does centroid calculation in too many passes.

Patch: https://github.com/postgis/postgis/pull/186

Change History (1)

comment:1 by komzpa, 7 years ago

Resolution: fixed
Status: assignedclosed

In 16251:

Simplify KMeans code.

Remove threaded implementation.
Rewrite generic implementation to be POINT2D specific.

Closes #3977
Closes https://github.com/postgis/postgis/pull/186

Note: See TracTickets for help on using tickets.