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/structs.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/structs.h') diff --git a/include/structs.h b/include/structs.h index 035af45..7c39b4d 100644 --- a/include/structs.h +++ b/include/structs.h @@ -21,4 +21,13 @@ struct front_item { struct front_item * prev; clock_t time; }; + +struct tree_item { + long int depth; + long int itemi; + struct item values; + struct tree_item * prev; + struct tree_item * next; +}; + #endif -- cgit v1.2.3