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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user