all:
	ghc ../point.io/Point.hs nn.hs teste.nn.hs -o tsp.nn -O2 -prof -auto-all
run:
	gzip -dc ../../test.data/att48.tsp.gz | ../../test.data/frtsplib.pl | ./tsp.nn
test:
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/a280.tsp.gz ../../test.data/frtsplib.pl ./tsp.nn ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/att48.tsp.gz ../../test.data/frtsplib.pl ./tsp.nn ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/kroA100.tsp.gz ../../test.data/frtsplib.pl ./tsp.nn ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
	../../tsp.tour/test.data/tourcmp.pl ../../test.data/pr1002.tsp.gz ../../test.data/frtsplib.pl ./tsp.nn ./../../tsp.tour/tour.eval/tourlen ../../tsp.tour/test.data/tsplibopt.pl
