|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PuzzleState<P extends Puzzle>
Interface representing a "state" of a logic puzzle - that is, some stage along an attempt at solving it.
| Method Summary | |
|---|---|
P |
getPuzzle()
Returns the puzzle which this is a state of. |
boolean |
isSolved()
Determines whether or not the puzzle has been completely solved. |
java.lang.String |
toString()
Generates a String representing the current state of the puzzle. |
| Method Detail |
|---|
P getPuzzle()
Puzzle which this PuzzleState relates to.boolean isSolved()
true iff the puzzle has been completely solvedjava.lang.String toString()
String representing the current state of the puzzle.
May or may not include some information about the puzzle itself.
toString in class java.lang.ObjectString representing the state
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||