9 Commits

Author SHA1 Message Date
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
8c4a6aac25 a bit more of normalising
normalising lem_in WIP
2019-04-10 15:35:23 +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
a2fd180398 some light work today
corrected invalid read in update_weights() when tab[i].parent was
equal to -1
2019-04-07 12:51:40 +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
ea0eda89d0 aaaaaaand it's done !
algorithm finished and normed
more testing might be needed
2019-04-03 17:20:29 +02:00
Tanguy MAZE
15669b7402 not quite there yet but nearly ^^
WIP for the algorithm not to pass on previously used node
2019-04-01 19:06:19 +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