Submitting


The following classes must be submitted in order to be graded:

  • MapMarkovModel.java
  • WordMarkovModel.java
  • WordNgram.java
  • Make sure when you submit, all of the following are present and functional:

    Class: MapMarkovModel
     Constructor: MapMarkovModel()
     Method: public void initialize(Scanner)
     Method: protected String makeNGram(int, int)
     Method: protected int readChars(Scanner)
     Method: public void process(Object)
    Class: WordNgram
     Constructor: WordNgram(String[], int, int)
     Constructor: WordNgram(String[])
     Method: public boolean equals(Object)
     Method: public String toString()
     Method: public int hashCode()
     Method: public int compareTo(WordNgram)
    Class: WordMarkovModel
     Constructor: WordMarkovModel()
     Method: public void initialize(Scanner)
     Method: protected String makeNGram(int, int)
     Method: protected int readChars(Scanner)
     Method: public void process(Object)

    You also must submit your README in order to receive any credit.

    You may create any new classes required for the above classes to compile but you must submit those as well.

    The following classes should be considered “read-only” and not changed - if you submit any of them, the grader will replace them with the unmodified version you snarfed. Thus, you are free to modify them for testing, but the classes you submit should not depend on those modifications in order to be compile/have the correct return values:

  • AbstractModel.java
  • IModel.java
  • IView.java
  • MarkovMain.java
  • MarkovModel.java
  • SimpleViewer.java