Callback called by Viewer.doResume. MUST set callback in each method!
Submits potential mark. Note: If potential mark contradicts existing mark, either: (1) quit if potential mark is not assumption, or (2) undo last assumption.
Level number
Level character.
Mark type.
Reference number.
Reference character.
Noun 1.
Verb.
Noun 2.
Reason for mark.
Facts referenced.
Mark referenced.
Facts disabled by potential mark.
status -1=Error, 0=Exists, 1=Entered.
Disables facts of type 2 or higher where (1) positive mark references one noun in fact, and (2) both nouns in fact are slotted. Called by addMark.
Mark.
Disable facts of type 3 or 4 where (1) negative mark references one noun in negative fact and (2) a noun of the fact link's noun type, and (3) the other noun in the fact has been slotted. In "Hello Dolly!" clue 9 states "Jessica is not next to Staci." So if one of them is slotted, and the other cannot be in a slot next to it, then the fact can be disabled. Called by addMark.
Mark.
Determines if a type 2 fact referenced by the mark can be disabled. In "Lucky Streets", "the quarter was found earlier in the week than Friday." After two marks stating the quarter was not found on Friday and Saturday, this fact can be disabled. Called by addMark.
Mark that referenced facts.
Stops solving the puzzle. Called by Finder.doNextLevel, Finder.doAssumptions.
Determines next method to call. Called by Viewer as callback. Either:
Starts solving puzzle with sanity check. Called by viewer.doSolve.
Returns mark in grid given by one-based numbers for two nouns. Called by getGridMark.
One-based number of noun type 1.
One-based number of noun 1.
One-based number of noun type 2.
One-based number of noun 2.
Mark.
Returns one-based grid number given one-based numbers of two noun types. Called by getGridMark2, setGridMark2.
Number of noun type 1.
Number of noun type 2.
One-based grid number.
Returns last mark entered by user. Called by undoUserMark.
Last mark entered by user, or null.
Removes given mark from grids. Called by removeMark.
Mark.
Removes (actually recycles) mark from solving process. Called by undoUserMark (who = 1), undoAssumption (who = 2).
Who entered mark, either 1 = User, 2 = Finder
Mark that was removed.
Resets the solver. Called by viewer.reset, setPuzzle.
Enters the given mark into the grids. Called by addMark.
Mark.
Enters the mark/null into the grids using the one-based numbers of the nouns. Called by setGridMark, removeGridMark.
One-based number of noun type 1.
One-based number of noun 1.
One-based number of noun type 2.
One-based number of noun 2.
Mark or null.
Sets the puzzle. Called by viewer.setPuzzle.
Puzzle object.
Removes marks back to and including the last mark entered by Finder. Called by finder.doAssumptions, callback from removeMark.
Removes marks back to and including the last mark entered by User. Called when User clicks the Undo button on the Grids form.
Updates variables affected by Setup form. Called by viewer.updateOption.
Key.
Value.
Generated using TypeDoc
Solver class for the Mystery Master Logic Puzzle Solver.
mysterymaster.com. All rights reserved.
Michael Benson
2021-08-31