summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorAlexandre Jesus <adbjesus@gmail.com>2016-09-16 09:25:34 +0100
committerAlexandre Jesus <adbjesus@gmail.com>2016-09-16 09:25:34 +0100
commitd3878228d84dd2296cd85d914f27087d3cae2835 (patch)
tree8ed40e3d77fe3cb906baf1414da46c0a168226aa /include/common.h
parent37f41a284d633babeb152dbc0bf0248058fc25c9 (diff)
downloadlibuknapsack-d3878228d84dd2296cd85d914f27087d3cae2835.tar.gz
libuknapsack-d3878228d84dd2296cd85d914f27087d3cae2835.zip
Add pseudo-random shuffler
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index c61ac4d..9332e6e 100644
--- a/include/common.h
+++ b/include/common.h
@@ -15,5 +15,6 @@ struct front_item * new_front_item(double, double, struct front_item *, struct
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);
#endif