Airline reservation system using a self-restructuring binary search tree

Due: 21 Nov 2005

Educational objectives: Experience implementing a self-restructuring binary search tree class and solving problems using it.

Statement of work: (i) Implement a self-restructuring BST class based on move-to-root rotations, (ii) implement pre-order traversal on such trees, and (iii) Develop a simple airline reservation software, as in assignments 1 and 2, but using the above class to store records.

Deliverables: Turn in a makefile and all header (*.h) and cpp (*.cpp) files that are needed to build your software, as described in www.cs.fsu.edu/~asriniva/courses/DS05/HWinstructions.html. Turn in your development log too, which should be a plain ASCII text file called LOG.txt in your project directory. You will submit all of these using the project5submit.sh script.

Requirements:

Sample input file and executable: A sample executable is available on linprog under the directory: /home/courses/cop4530/fall05/solutions/proj5. It works correctly for the sample input file and commands provided in the same directory.

Bonus points (5):

You may get up to 5 additional points for significant extra work, such as implementing more features, or providing a GUI interface. Please obtain feedback from us prior to doing this. If you wish to get bonus points, then please submit your work as usual, but send an email to the TA. The TA will schedule a meeting with you, and you can demonstrate the special features of your software then.

Notes:

  1. Your program should not have any output other than those specified above.
  2. You may use the STL string, map, pair, and vector classes. Please get my permission before using any other STL feature.

Last modified: 18 Nov 2005