-
dario.genga authored
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.
dario.genga authoredThe 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.