update...
This commit is contained in:
parent
63d62aec4d
commit
4d7255f105
26 changed files with 518 additions and 641 deletions
|
|
@ -6,25 +6,25 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/01/11 14:27:25 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/01/12 21:16:59 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/01/29 22:15:52 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef STATE_H
|
||||
# define STATE_H
|
||||
#define STATE_H
|
||||
|
||||
# include "me/types.h"
|
||||
# include "me/vec/vec_cost.h"
|
||||
# include "me/vec/vec_element.h"
|
||||
#include "me/types.h"
|
||||
#include "me/vec/vec_i64.h"
|
||||
#include "me/vec/vec_i64_bool.h"
|
||||
|
||||
typedef struct s_state
|
||||
{
|
||||
t_vec_element stack_a;
|
||||
t_vec_element stack_b;
|
||||
t_vec_cost costs;
|
||||
} t_state;
|
||||
t_vec_i64_bool sorted;
|
||||
t_vec_i64 stack_a;
|
||||
t_vec_i64 stack_b;
|
||||
} t_state;
|
||||
|
||||
t_state parses_arguments(t_usize count, t_str nums[]);
|
||||
void free_state(t_state state);
|
||||
t_state parses_arguments(t_usize count, t_str nums[]);
|
||||
void free_state(t_state state);
|
||||
|
||||
#endif /* STATE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue