diff --git a/include/app/cost.h b/include/app/cost.h deleted file mode 100644 index 624d1ed..0000000 --- a/include/app/cost.h +++ /dev/null @@ -1,32 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* cost.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: maiboyer +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/01/12 21:13:51 by maiboyer #+# #+# */ -/* Updated: 2024/01/17 15:32:25 by maiboyer ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef COST_H -# define COST_H - - -# include "app/state.h" -# include "app/types/type_cost.h" -# include "me/types.h" - -t_cost alloc_cost(t_state *s); -void free_cost(t_cost self); -t_cost *calculate_cost(t_state *s); -void cost_for_index(t_state *s, t_usize index); - -typedef struct s_cost_iter_state -{ - t_cost *current_minimum; - t_usize max_index; -} t_cost_iter_state; - -#endif /* COST_H */ diff --git a/include/app/dup_state.h b/include/app/dup_state.h deleted file mode 100644 index bf4f05f..0000000 --- a/include/app/dup_state.h +++ /dev/null @@ -1,26 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* dup_state.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: maiboyer +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/01/11 15:58:29 by maiboyer #+# #+# */ -/* Updated: 2024/01/11 15:59:29 by maiboyer ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef DUP_STATE_H -# define DUP_STATE_H - - -# include "me/types.h" - -typedef struct s_dup_state -{ - t_i64 *lhs; - t_usize index_to_skip; - bool found_dup; -} t_dup_state; - -#endif /* DUP_STATE_H */ diff --git a/include/app/lis.h b/include/app/lis.h deleted file mode 100644 index aa6aba9..0000000 --- a/include/app/lis.h +++ /dev/null @@ -1,22 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* lis.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: maiboyer +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/01/11 19:03:30 by maiboyer #+# #+# */ -/* Updated: 2024/01/11 20:50:43 by maiboyer ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef LIS_H -# define LIS_H - -# include "me/types.h" -# include "me/vec/vec_i64.h" -# include "me/vec/vec_i64.h" - -t_vec_i64 lis(t_vec_i64 *elements); - -#endif /* LIS_H */ diff --git a/include/app/types/type_cost.h b/include/app/types/type_cost.h deleted file mode 100644 index 2efbb54..0000000 --- a/include/app/types/type_cost.h +++ /dev/null @@ -1,26 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* type_cost.h :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: maiboyer +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2024/01/12 21:20:00 by maiboyer #+# #+# */ -/* Updated: 2024/01/12 23:16:24 by maiboyer ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#ifndef TYPE_COST_H -# define TYPE_COST_H - -# include "me/types.h" -# include "me/vec/vec_moves.h" - -typedef struct s_cost -{ - t_usize index; - t_vec_moves moves; - bool active; -} t_cost; - -#endif /* TYPE_COST_H */