|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsudoku_state_research.SudokuState
public class SudokuState
Classe che definisce lo stato di una griglia Sudoku prima, durante e dopo l'esecuzione dell'algoritmo.
Field Summary | |
---|---|
(package private) Sudoku |
table
|
Constructor Summary | |
---|---|
SudokuState(Sudoku newtab)
Costruisce uno stato da una tabella. |
Method Summary | |
---|---|
java.util.Iterator |
successors()
|
java.lang.String |
toString()
|
double |
value()
Returns the value, a value of 0 means the goal has been reached |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
Sudoku table
Constructor Detail |
---|
public SudokuState(Sudoku newtab)
newtab
- la tabella da cui creare lo statoMethod Detail |
---|
public java.util.Iterator successors()
successors
in interface State
public double value()
State
value
in interface State
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |