|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.jussieu.gla.wasa.samples.AbstractSample | +--fr.jussieu.gla.wasa.samples.queens.NQueensSample
The NQueens sample.
Fields inherited from class fr.jussieu.gla.wasa.samples.AbstractSample |
inputPanel |
Constructor Summary | |
NQueensSample()
|
Method Summary | |
InputPanel |
createInputPanel()
Creates and returns an NumberInputPanel specialized for the Queens. |
Problem |
createProblem()
Creates and returns the NQueens problem. |
static void |
main(java.lang.String[] args)
Launches a pre-configured NQueens problem without the Monitor . |
void |
printResult()
Displays inforamtions about Queens states. |
void |
textMode()
Launches a pre-configured NQueens problem without the Monitor . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NQueensSample()
Method Detail |
public InputPanel createInputPanel()
NumberInputPanel
specialized for the Queens.createInputPanel
in class AbstractSample
public Problem createProblem()
createProblem
in class AbstractSample
public void printResult()
printResult
in class AbstractSample
public java.lang.String toString()
toString
in class java.lang.Object
public void textMode()
Monitor
.textMode
in class AbstractSample
public static void main(java.lang.String[] args)
Monitor
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |