aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author--global <strap012@umn.edu>2020-10-24 15:11:02 -0500
committer--global <strap012@umn.edu>2020-10-24 15:11:02 -0500
commite00b0b6653933674aa1ed1487901d5f9e8171de1 (patch)
tree4f23f7d87e2bfc62f7a4e5976fec54c3e70d1cf3
parentComments (diff)
downloadcsci4061-e00b0b6653933674aa1ed1487901d5f9e8171de1.tar
csci4061-e00b0b6653933674aa1ed1487901d5f9e8171de1.tar.gz
csci4061-e00b0b6653933674aa1ed1487901d5f9e8171de1.tar.bz2
csci4061-e00b0b6653933674aa1ed1487901d5f9e8171de1.tar.lz
csci4061-e00b0b6653933674aa1ed1487901d5f9e8171de1.tar.xz
csci4061-e00b0b6653933674aa1ed1487901d5f9e8171de1.tar.zst
csci4061-e00b0b6653933674aa1ed1487901d5f9e8171de1.zip
Spacing because intellisense
Diffstat (limited to '')
-rw-r--r--P2/include/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/P2/include/utils.h b/P2/include/utils.h
index 2c91cdf..e3f5d43 100644
--- a/P2/include/utils.h
+++ b/P2/include/utils.h
@@ -23,6 +23,7 @@ struct msgBuffer {
};
// mapper side
+
int validChar(char c);
char *getWord(char *chunk, int *i);
char *getChunkData(int mapperID);
@@ -30,6 +31,7 @@ void sendChunkData(char *inputFile, int nMappers);
// reducer side
+
int hashFunction(char* key, int reducers);
int getInterData(char *key, int reducerID);
void shuffle(int nMappers, int nReducers);