java-lab1-all.zip
Lab1.java --- the portion of the driver provided is here
Sort.java --- this is called to do the sorting neededin preprocesing
XYPoint.java --- code for XYPoint class
FastClosestPair.java --- This is where you'll put your implementation
of the divde-and-conquer closest pair algorithm
Comparator.java --- This is a class used to give the sort
routine a comparison function to compare two points
XComparator.java --- This implements Comparator so the
x-coordinate is used to compare the two points
YComparator.java --- This implements Comparator so the
y-coordinate is used to compare the two points
Terminal.java --- This is the provided terminal class to get
input and output from a command line or from a file. Note that
the provided driver demonstrates how a command line argument can be
used to have the output go to a transcript file and/or the input
read from a provided file
Plotter.java --- This is the provided routine to plot the
points. It should be be helpful when you are debugging.