diff options
Diffstat (limited to 'P1/Template/include/reducer.h')
-rw-r--r-- | P1/Template/include/reducer.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/P1/Template/include/reducer.h b/P1/Template/include/reducer.h deleted file mode 100644 index 79ea452..0000000 --- a/P1/Template/include/reducer.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef REDUCER_H -#define REDUCER_H - -#include "utils.h" - -#define MAXKEYSZ 50 - -// ###### DO NOT REMOVE ###### -typedef struct finalKeyValueDS { - char key[MAXKEYSZ]; - int value; - struct finalKeyValueDS *next; -} finalKeyValueDS; - -// ###### DO NOT REMOVE ###### -finalKeyValueDS *createFinalKeyValueNode(char *value, int count); -finalKeyValueDS *insertNewKeyValue(finalKeyValueDS *root, char *word, int count); -void freeFinalDS(finalKeyValueDS *root); - -// ###### DO NOT REMOVE ###### -void writeFinalDS(int reducerID); -void reduce(char *key); - -#endif
\ No newline at end of file |