aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexandre Jesus <adbjesus@gmail.com>2017-11-06 18:27:28 +0000
committerAlexandre Jesus <adbjesus@gmail.com>2017-11-06 18:27:28 +0000
commit01c757e09afbc6ae401a56e9f588b21cea54b613 (patch)
tree1d516f02c731ee7f2dff19b0dfddbafb4c041788 /include
parent3333e0c5a1a8e39c74fb178ac124940844463520 (diff)
downloadlibuknapsack-01c757e09afbc6ae401a56e9f588b21cea54b613.tar.gz
libuknapsack-01c757e09afbc6ae401a56e9f588b21cea54b613.zip
Add nem_ull with shuffle
Diffstat (limited to 'include')
-rw-r--r--include/common.h1
-rw-r--r--include/nem_ull.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index b188955..f00a269 100644
--- a/include/common.h
+++ b/include/common.h
@@ -17,5 +17,6 @@ double dist_items(struct item *, struct item *);
int len_front(struct front_item *);
int cmp_items_ratio(const void * a, const void * b);
int cmp_items_random(const void * a, const void * b);
+void shuffle_items(struct data *, int);
#endif
diff --git a/include/nem_ull.h b/include/nem_ull.h
index fd1b829..5e86c1f 100644
--- a/include/nem_ull.h
+++ b/include/nem_ull.h
@@ -5,5 +5,6 @@
struct front_item * nem_ull(struct data *);
struct front_item * nem_ull_step(struct front_item *, struct data *, int);
+struct front_item * nem_ull_online_shuffle(struct data *, int);
#endif