Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#set -x
# $1 - file containing points to search within
# $2 - interval of points for time diff message
# $3 - print time_diff messages?
pg_neighbours()
{
filename="$RANDOM-$RANDOM"
start_time=`date +%s.%N`
i=0