Instructions for Submitting Project 3

This project will require a number of files, so submission will require some extra steps.

Copy your files to RCS:

Copy all of the files that you will submit to RCS. This will include a readme file and any file with a .cpp suffix or a .h suffix, but not, I repeat not files with a .exe, .dsp, .dsw.ncb or .opt suffix.

Readme File:

Your submission must include a text file called readme.txt This file must include the names, section numbers, and e-mail addresses of all the group members. Also include a brief report on the performance results you obtained. You should report the times for the two versions on several (silent) runs with at least the values 1000, 10000, 20000, 40000, 80000 for the number of connection events. In addition, include a list of all the implementation files and any special instructions that the TA will need to know in order to run your program.

Example:

Method Man, Section 8, manm@rpi.edu
Doctor Dre, Section 1, dred@rpi.edu
Flavor Flav, Section 2, flavf@rpi.edu

Report:

We spend so much time rapping, we don't have anything to report.  Word up!

Files:

hash.h
hash.cpp
sim.h
main.cpp

Instructions:

To run the program from the command line type:
jog.exe N p seed opt

N is the number of events
p is the probability of an event
seed is the random number seed
opt is the output option ``log'' or ``nolog''
Create a tar file:

Login to a Unix system and do the following:

Create a tar file. Tar is an acronym for Tape Archive. To create a tar file, use the tar command with two flags c (for create) and f (for file), followed by the file name of the tar file (it should have a .tar suffix) followed by the names of all of the files that you want to send. For example the following command:
tar cf temp.tar myfile.h myfile.cpp readme.txt
creates a tar file called temp.tar which contains three files, myfile.h, myfile.cpp and readme.txt.

You will need to check to make sure that the tar file is correct. The best way to do this is to copy the tar file to another directory and run the following command: tar xf temp.tar
After running this command, the files myfile,cpp, myfile.h and myfile.rc will be in the new directory. Here are the unix commands to do this:

mkdir newdir
cp temp.tar newdir/temp.tar
cd newdir
tar xf temp.tar
The first line creates a new directory called newdir, the second copies the tar file to the new directory, the third line makes newdir the current directory, and the fourth line extracts the files.

Submission Directory:

The submission directory is /dept/cs/cs230/sections4567/project3/.

Tar file names:

If you are working alone, the name of your tar file must be login.tar, where login is your RCS login. For example, if your login name is snoopd, your tar file must have the name snoopd.tar. If you want to update your submission, the name of your tar file must be login-2.tar. Keep incrementing the number every time you want to update your file. Therefor, the name of your third update should be login-3.tar and your fourth update should be login-4.tar.

If you are working in a group, the name of your tar file must be group#.tar, where # is your group number. See the list of established groups to get your group number. For example, if your group is 13, your tar file must have the name group13.tar. If you want to update your submission, the name of your tar file must be group#-2.tar. Keep incrementing the number every time you want to update your file. Therefor, the name of your third update should be group#-3.tar and your fourth update should be group#-4.tar.

Copy the tar file:

Use the unix copy command cp to copy your submission. For example:

cp temp.tar /dept/cs/cs230/sections1238/project3/snoopd.tar

Warnings:

You must submit before 11:59:59 PM on the due date. Any tar file that is copied after that time will not be accepted. If you fail to submit before that time, you and your group members will receive a grade of zero.

You and your group will be graded based on your submission. Please ensure that your tar file is not corrupted. There will be no opportunity for re-submission after the due date.

Check list: