PROGRAMMING
PROJECT 1
CS510
due Friday, April 10, 1998
Your program must be in my office by 5 pm on this day to receive full
credit.
Implement the Ice Cream Store Simulation with a non-uniform random number
distribution. You may find a description of one way to do this on p385 of
the Handout from class, Exercises 12 and 13. The underlying data
structure should be a skew heap on an APvector. We will talk about the
skew heap functions in class on Monday, April 6. You may find a
description of APvector
(along with the code) from the CS420 web pages. There isn't much coding needed
here if you do the program
in C++. It will just take putting it all in the right place.
To hand in your program, pick appropriate weights for your random number
generator (the ones from problem 12a will do) and run your simulation.
Turn in a hard copy of your run and your program. You may also choose to
email me this information (not in Word 97 or higher!) but make sure it is
by the given due date.
Remember the Programming and
Documentation Style
requirements!