From 5deedbbbf98e317ef3258ae637097a42ad7e9fd3 Mon Sep 17 00:00:00 2001 From: Alexandre Jesus Date: Sun, 25 Sep 2016 15:24:57 +0100 Subject: Online method --- include/dfs.h | 1 + include/random_heuristic.h | 1 + include/structs.h | 5 +++++ 3 files changed, 7 insertions(+) (limited to 'include') diff --git a/include/dfs.h b/include/dfs.h index 340f5c8..2a2c187 100644 --- a/include/dfs.h +++ b/include/dfs.h @@ -4,5 +4,6 @@ #include "structs.h" struct front_item * dfs(struct data *); +struct online_return dfs_online(struct data *, struct front_item *, struct tree_item *, long int); #endif diff --git a/include/random_heuristic.h b/include/random_heuristic.h index 586777e..9e9dac6 100644 --- a/include/random_heuristic.h +++ b/include/random_heuristic.h @@ -4,5 +4,6 @@ #include "structs.h" struct front_item * random_heuristic(struct data *); +struct online_return random_heuristic_online(struct data *, struct front_item *, struct tree_item *); #endif diff --git a/include/structs.h b/include/structs.h index 7c39b4d..1d15084 100644 --- a/include/structs.h +++ b/include/structs.h @@ -30,4 +30,9 @@ struct tree_item { struct tree_item * next; }; +struct online_return { + struct front_item * front; + struct tree_item * tree; +}; + #endif -- cgit v1.2.3