Project #3
Due Dates: Stage 1: 12
noon, Tuesday, Oct. 12, 2004
Stage 2: beginning of
class, Tuesday, Oct. 19, 2004
This two-stage project depends mostly on Chapter 3 of Lewis &
Chase, Java Software Structures.
Lewis & Chase present a bag ADT in Chapter 2, and a linked
implementation of the bag ADT in Chapter 3. With this as a basis, in
Project 3 you will develop a set
ADT, and develop and test a linked implementation of sets.
Stage 1:
In Stage 1 you will develop the set
ADT and deliver it in the form of a javadoc page posted to your SEASCF
website.
- First decide on the methods your ADT will support (see
suggestions in the textbook).
- Then develop a preliminary Java version of the set class, using
comments for documentation and stubs for the bodies of the methods.
- Make sure this stubbed-out "framework" is syntactically and
semantically valid by compiling it and fixing any compilation errors.
- Once you have a valid framework class, transfer it to your
website and produce the javadoc documentation.
- By the deadline, e-mail the URL for the javadoc page to Prof.
Feldman and to Alice.
- Develop a test plan and submit it by e-mail, by the deadline.
Stage 2:
Complete and test the set class. You will probably find it most
efficient to use LinkedBag
as an example, and to
follow the suggestions in the Incremental Development guide.
(end of project)