Machine Problem 6, due Dec. 4

Part of the homework for CS:2820, Fall 2017
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

Background:

Start with the solution to MP5 distributed to the class on Nov. 15.

Part 1

Rewrite it to use the new simulation framework discussed in class on Nov. 14.

Part 2

Fix the Javadoc comments for class Gate and its subclasses so that Javadoc has no complaints about them, and also so that they are actually reasonably useful as documentation. This may require marking some methods or constructors as public in order to get Javadoc to include them in the documentation, and it may require doing things like linking documentation for different methods to each other.

Submit

Following the usual submission guidelines, including requirements for header comments, submit only your code for Gate.java. We will compile your code along with our code for all of the other classes required when we test it.

We will run Javadoc over your code as well, in order to be able to look at your Javadoc comments.

As with MP5, you should minimize your changes. Do not make gratuitous changes to indenting, spacing, comments or the order of elements of my code. The code you do add should be properly commented, of course, and you must credit authorship properly, as usual.