started dev on get_path

This commit is contained in:
Tanguy MAZE 2019-03-26 19:52:08 +01:00
parent 808dd8c403
commit 4e87b2e587
2 changed files with 16 additions and 8 deletions

View File

@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */ /* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/23 17:31:19 by tmaze #+# #+# */ /* Created: 2019/03/23 17:31:19 by tmaze #+# #+# */
/* Updated: 2019/03/23 17:42:58 by tmaze ### ########.fr */ /* Updated: 2019/03/26 17:08:38 by tmaze ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View File

@ -1,20 +1,28 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* lm_getparams.c :+: :+: :+: */ /* get_path.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */ /* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/23 17:46:34 by tmaze #+# #+# */ /* Created: 2019/03/25 16:15:08 by tmaze #+# #+# */
/* Updated: 2019/03/23 17:51:35 by tmaze ### ########.fr */ /* Updated: 2019/03/26 17:09:03 by tmaze ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#include "lem_in.h" #include "lem_in.h"
int lm_getparams(t_lmdata *data) int get_nb_nodes(t_lmdata *data)
{ {
char *buff;
while () }
int get_path(t_lmdata *data, int nb_nodes)
{
int parent[nb_nodes];
char visited[nb_nodes];
t_list *queue;
queue = NULL;
ft_bzero(visited);
} }