![]() |
University of the West IndiesDept. Mathematics and Computer Science |
[Announcements] [Course Information] [Assignments] [Recitations] [Resources]
Note: Most documents have been provided in both HTML, Postscript as well as PDF. The Postscript and PDF files are better suited for printing than the HTML, and for viewing formatted Mathematical expressions.
graph package has now been posted on this page.
You may browse it from this
page, if you are unsure how to create your own version using
javadoc.
patient:treatment-difficulty should have been
patient:treatment-handicap instead. A number of
students have also been using some of the list functions that
are provided as primitives in MIT Scheme. For this project,
this is strongly discouraged because using these functions will
call the system versions of the basic operations (such as
cons, car, cdr) instead of the overridden
definitions which cause the clock to tick.
For those of you who have already used some of these functions, I have written overriding definitions for the most common ones and provided them in the utils.scm file. You can get all these changes by downloading the latest version of the project, provided below. Please be cautious in unzipping it, and avoid overwriting your solution files (which should all be in the student directory)
Download the starting code for the project.
Download version 1.1 of the project code.
patient:treatment-difficulty was fixed to be a
call to patient:treatment-handicap.
Download version 1.2 of the project code.
run procedure in the
system.scm file have been modified accordingly.
length, list-copy, list, vector, vector-grow
Download the starting code for Project 2. (You will need to uncompress it into a working directory dedicated to this project.)
You may now browse the
javadoc generated documentation for classes
within the graph package.
Some students pointed out to me that when using TestGen to generate a random dictionary there are a number of problems/issues. First, it is possible to produce duplicates, second, the number of words obtained is about twice the number asked for, and third, there is always the string "!!" at the end of it. These features are all OK when creating a file of random word ladder input pairs, which is what TestGen was designed for, but not so good for generating dictionaries.
So, I have created DictGen, which you should now use instead of TestGen to generate your dictionaries. (Still use TestGen to generate your sample input for the test word ladder pairs). You should download the source for DictGen.java and compile it yourself, if you want to use it.
The notes included below are somewhat weak, and your mileage may vary.
[Announcements] [Course Information] [Assignments] [Recitations] [Resources]