Tanguy MAZE
0b4c310374
modify map printing system
...
added functions to create, print and clear map when it's valid
corrected map del in print_map
2019-04-26 11:31:49 +02:00
Tanguy MAZE
fe1c85371f
bug found
...
found bug in parser that made link adding impossible
2019-04-24 09:54:24 +02:00
Mthandazo Ndhlovu
c35deace58
Trying to trace the source of the segfault
...
I will breakdown the parser for a slight moment then relink it.
2019-04-22 16:00:16 +02:00
Tanguy MAZE
a8b2e31701
added finished algorithm
...
merged algorithm from other personnal repo
2019-04-22 10:13:09 +02:00
Tanguy MAZE
4a5c798b25
rework on score system
...
need to score with correct amount of ants on each paths
also secured ft_atois
2019-04-14 14:45:38 +02:00
Tanguy MAZE
9b75432c2e
Added scoring system to algorithm
...
still need testing and optimisations
not norm-compliant
2019-04-13 14:56:39 +02:00
Mthandazo Ndhlovu
0495ba9e55
clean up code for when an error occurs
...
testing with all maps is what is left
2019-04-11 14:11:25 +02:00
Mthandazo Ndhlovu
eb85b914a4
Leaks and error checking almost done
...
function to clean traces of holder is done.
Error checking before adjacency list creation is done also.
Now focusing on breaking the parser with
invalid maps. It should be ready in a day.
2019-04-11 12:52:14 +02:00
Tanguy MAZE
86b0530bf7
clean up still in progress
...
eliminated most of the leaks of the parser
norming still need to be done
2019-04-11 11:40:26 +02:00
Tanguy MAZE
8c4a6aac25
a bit more of normalising
...
normalising lem_in WIP
2019-04-10 15:35:23 +02:00
Tanguy MAZE
5d094ebcaf
Massive clean up
...
cleaned up unused code
normalised push_ants
libft is no longer a submodule
still need to normalise lem_in
2019-04-10 14:34:59 +02:00
Tanguy MAZE
3b893147e5
IT WORKS !
...
functionning ./lem_in that can read maps and display ants path
still need to clean leaks
still need remove debug info
2019-04-09 19:09:29 +02:00
Tanguy MAZE
c36f501b08
testing things
...
thinking of how to display the ants moving and optimise by moving at
least one on each path
2019-04-05 17:43:17 +02:00
Tanguy MAZE
0a9d7b816d
Merge branch 'tmaze'
...
merging algorithm to master of project
2019-04-05 14:06:42 +02:00
Mthandazo Ndhlovu
1abb3fc566
invalid maps
2019-04-02 15:09:43 +02:00
Mthandazo Ndhlovu
4e2fc9f19e
buggy version of the parser. debugging with fsanitizer
2019-04-01 11:48:33 +02:00