21 Commits

Author SHA1 Message Date
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
Mthandazo Ndhlovu
bfb125f503 Adding more protection to the parser, leaving it at this state for now whilst i branch out to work on a new parser 2019-04-20 13:38:13 +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
Tanguy MAZE
d85e0873cb added protection on double pipes 2019-04-11 22:34:35 +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
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
ae93873452 push_ants done need to test
done all mechanism to display ants moving in the graph
still need testing
still need norming
2019-04-06 14:03:22 +02:00
Tanguy MAZE
0a9d7b816d Merge branch 'tmaze'
merging algorithm to master of project
2019-04-05 14:06:42 +02:00
Tanguy MAZE
ea0eda89d0 aaaaaaand it's done !
algorithm finished and normed
more testing might be needed
2019-04-03 17:20:29 +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
Tanguy MAZE
ab578f6039 we got it !
functionning edmunds_karp
still need some testing for already used nodes
still need some memory protection
2019-03-31 19:49:42 +02:00
Tanguy MAZE
7a67b49802 let's go ! B)
added bfs WIP
2019-03-27 18:04:14 +01:00
Tanguy MAZE
4e87b2e587 started dev on get_path 2019-03-26 19:52:08 +01:00
Tanguy MAZE
808dd8c403 started dev on parser
defined data structure WIP
2019-03-23 18:04:19 +01:00
Mthandazo42
a6e27627c6 initial push-mt 2019-03-22 16:12:04 +01:00