-
dario.genga authored
In kmeans.h : - Fix some missing pointers. - Swap the destroy_point and destroy_cluster. In kmeans.c : - Add allocation and free for kmeans, point and cluster create methods. - Add the signature of the other methods. In main.c : - Add some code to test the allocations.
dario.genga authoredIn kmeans.h : - Fix some missing pointers. - Swap the destroy_point and destroy_cluster. In kmeans.c : - Add allocation and free for kmeans, point and cluster create methods. - Add the signature of the other methods. In main.c : - Add some code to test the allocations.