diff options
author | Alexandre Jesus <adbjesus@gmail.com> | 2016-09-16 09:25:34 +0100 |
---|---|---|
committer | Alexandre Jesus <adbjesus@gmail.com> | 2016-09-16 09:25:34 +0100 |
commit | d3878228d84dd2296cd85d914f27087d3cae2835 (patch) | |
tree | 8ed40e3d77fe3cb906baf1414da46c0a168226aa /include | |
parent | 37f41a284d633babeb152dbc0bf0248058fc25c9 (diff) | |
download | libuknapsack-d3878228d84dd2296cd85d914f27087d3cae2835.tar.gz libuknapsack-d3878228d84dd2296cd85d914f27087d3cae2835.zip |
Add pseudo-random shuffler
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 1 |
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 |