- (9/28) New assumption added. You can assume no two food items
have the same name (thus, you won't have conflict in either
the ItemSortedList or ItemArrayList).
- (9/28) The return value for locate() in
ItemSortedList specs is now specified.
- (9/27) The comments in (9/24) were meant to be about
Item specs not ItemArrayList specs. The ItemArrayList
specs ALSO refer to InputArrayList which has been changed
to ItemArrayList
- (9/27) operator< shows up twice in the
ItemArrayList specs. One of them should be: operator>.
Also, there is a "b" in Task 6 BNF for directions, which should
be "n". This has been updated.
- (9/26) ItemSortedList specs said first and
last pointed to a root of a BST. Clearly an error. They point
to the first and last element of a DLL (doubly linked list). Also,
listSize is the number of nodes in the DLL, not the BST.
- (9/25) Task 6 is in live form. Hopefully, just minor
corrections from here on til it's due. First correction: there won't
be a space after the comma when you print out coordinates. Just left
parentheses, number, comma, number, right parentheses.
Oh, quotes in the BNF are in red, just
because a student wanted it in red.
- (9/24) In ItemArrayList, there was mention of
Movie in resize(). It should have been Item.
Also, at the end of Item specs, it should read Item,
not InputArrayList (which is a non-existent class).
Also, in copy(), the parameter should be const Item &
not const ItemArrayList &.
- (9/23) The tutorial on converting numbers to strings
has been updated to use the more recent stringstream
libraries. Fortunately, the change is rather trivial,
since the new libraries behave very close to the old ones
(the differences are mostly internal).
- (9/21) In ItemArrayList specs, clear() shows up as
const, but should not be const. It's fine in the header file.
Also, in ItemSortedList specs, there is a reference
to ItemArrayList toString() method. That should
have been ItemSortedList toString() method. Also fixed.
Also, to keep consistency, methods now are begin()
and cbegin() in ItemSortedList and ItemArrayList.
Read README.updates. Some const and default
values were corrected. Run "diff" with your header file
and the one in the posting account. Most of these corrections
should be rather small.
- (9/20) Read locate() which tells you how to compare,
even though there is not a getKey() method.
- (9/20) The Node class in ItemSortedList
is now public. Read FAQ to see why.
- (9/19) The Node class in ItemSortedList
now returns a const reference for getData() so it can
work with ConstIterators.
- (9/19) Description for ItemArrayList corrected.
It had a lot of information cut and pasted from ItemSortedList.
This was incorrect, and now it should be OK.
- (9/19) Added default value to Item in constructor.
(See README.updates in posting account).
- (9/18) Corrected some methods to ItemSortedList::Node
(see link in Task 5), and also to header file in posting account.
Also, changed return type of end() in ItemArrayList
to return an Iterator. Both begin() and end()
are const. They can be assigned to ConstIterator too.
Also, added additional specifications for
ItemSortedList::ConstIterator, and corrected specifications for
ItemSortedList::Iterator.
- (9/18) Clarification on documentation files for Task 4 (see
below). Must write ItemSortedListUnit, the unit testing
class for ItemSortedList.
- (9/17) Task 4 and 5 up. Files being posted now.
- (9/15) Files related to Task 3 being posted now.
- (9/14) Task 3 now posted. Files coming shortly.
See the class syllabus for policies concerning email
Last Modified:
Tuesday September 3, 2002
|
|
|
|
|
|
Web Accessibility