#include #include #include #include "knnSerialDeclarations.h" /* Structs */ struct timeval startwtime, endwtime; double seq_time; /* Global variable */ int numberOfPoints = 0, numberOfDimensions = 0, numberOfNeighbors = 0, direction = 0, k = 0; char *pointsFilename, *testFilename; /* Main */ int main(int argc, char **argv){ double **pointsArray; neighbor **sortedNeighborsArray; getArguments(argc, argv); init(&pointsArray, &sortedNeighborsArray); gettimeofday(&startwtime, NULL); calculateDistances(&pointsArray, &pointsArray, &sortedNeighborsArray); for (int point=0; point