From e7fcca35efae60ca2e24225b046ab4e9a801b031 Mon Sep 17 00:00:00 2001 From: Alexandre Jesus Date: Thu, 22 Sep 2016 02:02:20 +0100 Subject: Create tree structure, adapt dfs to use tree (with iterative technique), fix random sort --- include/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 9332e6e..b188955 100644 --- a/include/common.h +++ b/include/common.h @@ -12,6 +12,7 @@ void print_front(struct front_item *); void free_data(struct data *); void free_front(struct front_item *); struct front_item * new_front_item(double, double, struct front_item *, struct front_item *); +struct tree_item * new_tree_item(long int, long int, double, double, struct tree_item *, struct tree_item *); double dist_items(struct item *, struct item *); int len_front(struct front_item *); int cmp_items_ratio(const void * a, const void * b); -- cgit v1.2.3