Skip to content
Snippets Groups Projects
  • dario.genga's avatar
    9f9276e5
    Add create and destroy methods · 9f9276e5
    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.
    9f9276e5
    History
    Add create and destroy methods
    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.