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

Add import of data from file

The universe can now be created from data in a text file.

Added the files_utils who contains methods to open a file, count the
number of lines and remove trailing newline.

Added methods to create an empty kmeans universe and to initialize
empty clusters array and points array.

Added a method who create a point from a line in the text file.

Fixed a memory leak caused by non freed point value.
parent 9f9276e5
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