Skip to content
Snippets Groups Projects
Commit 9f9276e5 authored by dario.genga's avatar dario.genga
Browse files

Add create and destroy methods

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.
parent 916b9a01
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment