IT WORKS !

functionning ./lem_in that can read maps and display ants path
still need to clean leaks
still need remove debug info
This commit is contained in:
Tanguy MAZE
2019-04-09 19:09:29 +02:00
parent 434b629055
commit 3b893147e5
11 changed files with 364 additions and 235 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/28 16:21:19 by tmaze #+# #+# */
/* Updated: 2019/04/07 12:50:24 by tmaze ### ########.fr */
/* Updated: 2019/04/08 18:49:53 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -93,6 +93,7 @@ t_ind **edmunds_karp(t_lmdata *data, int start_ind, int end_ind)
int nb_path;
nb_path = 0;
ft_printf("data: %p\ndata->adj: %p\n\n", data, data->adj);
if (data && data->adj)
{
bfs(data, tab, start_ind, end_ind);