R. Clayton (rclayton@monmouth.edu)
(no date)
I have modified the test code to:
1 Call your colinear_set() before calling mine. This gives your code first
crack at finding duplicate input points.
2 Added my new, faster implementation of colinear_set() to the tests. The
execution time of your colinear_set() is compared against the execution
times of both my implementations. If you want to get a grade in the 90 and
up range, you need to keep pace with my faster implementation; if you're
satisfied with a grade below 90, you can just ignore the faster
implementation and keep pace with my slower implementation, which has
remained the same.
If you're working with the faster implementation, you may get some anomalous
timings for small input sets (10 points or less, say). You may ignore these
timings.
3 Added the -t option to the test main. If you call your program with the -t
option, it will print the execution times for your version of colinear_set()
as well as the execution times for my two versions.
This archive was generated by hypermail 2.0b3 on Fri May 10 2002 - 12:45:04 EDT