diff options
| author | Alexandre Jesus <adbjesus@gmail.com> | 2016-09-22 02:03:20 +0100 | 
|---|---|---|
| committer | Alexandre Jesus <adbjesus@gmail.com> | 2016-09-22 02:03:20 +0100 | 
| commit | 7963cc3c89b8c03a073d17f58833ad191a3903a9 (patch) | |
| tree | 685ac3c6449023a5307ecee0e10a55701ebc3998 | |
| parent | e7fcca35efae60ca2e24225b046ab4e9a801b031 (diff) | |
| download | libuknapsack-7963cc3c89b8c03a073d17f58833ad191a3903a9.tar.gz libuknapsack-7963cc3c89b8c03a073d17f58833ad191a3903a9.zip | |
Create initial files for random heuristics
| -rw-r--r-- | include/random_heuristic.h | 8 | ||||
| -rw-r--r-- | src/random_heuristic.c | 9 | 
2 files changed, 17 insertions, 0 deletions
| diff --git a/include/random_heuristic.h b/include/random_heuristic.h new file mode 100644 index 0000000..586777e --- /dev/null +++ b/include/random_heuristic.h @@ -0,0 +1,8 @@ +#ifndef _RANDOM_HEURISTIC_H +#define _RANDOM_HEURISTIC_H + +#include "structs.h" + +struct front_item * random_heuristic(struct data *); + +#endif diff --git a/src/random_heuristic.c b/src/random_heuristic.c new file mode 100644 index 0000000..4e3e47f --- /dev/null +++ b/src/random_heuristic.c @@ -0,0 +1,9 @@ +#include <stdlib.h> +#include "random_heuristic.h" +#include "structs.h" +#include "common.h" + +struct front_item * random_heuristic(struct data * d) { +   +  return NULL; +} | 
