Assignment 5

Due: 30 Nov 2011

Educational objectives:

Statement of work: Implement a hash function for strings that performs well with the dictionary application using the STL tr1/unordered_set container, implement an efficient data structure for the dictionary application, and compare the performance of the STL set and STL tr1/unordered_set with the default hash function and your hash function against your data structure. You will be graded on the performance and correctness of your code. So, please use good compiler optimization flags in your makefile.

Deliverables:

Requirements:

Note:

  1. We will test your MyDS class on a piece of code that we will write. So it is important for this class to be exactly as specified.

Bonus points (5):

You may get up to 5 additional points if your code is correct and the fastest in class. You may get up to 2 bonus points if MyDS works correctly and is faster that the two STL containers (the speed of the STL containers will be determined by a piece of code that we write, in determining the bonus points).

Copyright: Ashok Srinivasan, Florida State University.


Last modified: 30 Nov 2011