Simple implementation of the nearest neighbor algorithm, in C. Based on the original implementation of Luciano2302.
To build, just run:
gcc -o nearest_neighbor src/main.c src/nearest-neighbor.c -lm -fopenmpTo run it, gathering info concerning execution time:
time ./nearest_neighbor