In this project, you will:
This assignment has three parts:
Here are some baseline expectations we expect you to meet:
Follow the course collaboration policies
DO NOT use any classes from
java.util.*
. There are only two exceptions to this rule:
You may import and use java.util.Iterator
and
java.util.NoSuchElementException
.
You may import and use anything from java.util.*
within your testing code.
DO NOT modify instructor-provided code (unless told otherwise)
DO NOT produce excess output to the console; you should remove any print statements used for debugging purposes before submitting your assignment.
This project is split up into three parts. Part 1 is about heaps, Part 2a is meant to give you more practice working with dictionaries and sets, and Part 3b is meant to give you practice working with graphs.
One important thing to note is that you will in general be given very few tests on all three parts. This is intentional and is meant to help you develop strong debugging and testing skills. We strongly encourage you to add your own tests to supplement the ones you were given.
Part 0: Find a partner
Due Fri, May 11 at 11:59pm
Once you've found a partner, both you and your partner should fill out the partner selection form.
Note: you or your partner MUST fill out this form, even if you choose to use the same partner as in prior assignments.
Part 1: Heaps, sorting, and testing
Due Fri, May 11 at 11:59pm
Part 2a: Searching using TF-IDF
Due Fri, May 18 at 11:59pm
Part 2b: Implementing PageRank
Due Fri, May 18 at 11:59pm
Extra credit
Due Fri, May 18 at 11:59pm