- initializeState(NumberButton[][]) - Static method in class puzzle.Solver
-
Creates an array of state information based on buttons from a
Puzzle.
- isCorrectlyPlaced(NumberButton, int, int) - Method in class puzzle.Puzzle
-
Determines whether a given button is in its solved position.
- isEmpty() - Method in class puzzle.NumberButton
-
Determines whether the corresponding tile is empty.
- isSolved() - Method in class puzzle.State
-
Checks to see whether the state is in a solved position.
- isSolvedFailTest() - Method in class puzzle.StateTests
-
Constructs an unsolved State and checks that it is not solved.
- isSolvedSucceedTest() - Method in class puzzle.StateTests
-
Constructs a solved State and checks if it is solved.