fr.jussieu.gla.wasa.samples.queens
Class NaiveQueensSample

java.lang.Object
  |
  +--fr.jussieu.gla.wasa.samples.AbstractSample
        |
        +--fr.jussieu.gla.wasa.samples.queens.NaiveQueensSample

public class NaiveQueensSample
extends AbstractSample

The NaiveQueens sample.

Version:
$Revision: 1.5 $ $Date: 2002/04/17 15:24:08 $
Author:
Florent Selva, Laurent Caillette

Fields inherited from class fr.jussieu.gla.wasa.samples.AbstractSample
inputPanel
 
Constructor Summary
NaiveQueensSample()
           
 
Method Summary
 InputPanel createInputPanel()
          Creates and returns an NumberInputPanel specialized for the Queens.
 Problem createProblem()
          Creates and returns the NaiveQueen problem.
static void main(java.lang.String[] args)
          Launches a pre-configured NaiveQueens problem without the Monitor.
 void printResult()
          Displays inforamtions about Queens states.
 void textMode()
          Launches a pre-configured NaiveQueens 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

NaiveQueensSample

public NaiveQueensSample()
Method Detail

createInputPanel

public InputPanel createInputPanel()
Creates and returns an NumberInputPanel specialized for the Queens.
Overrides:
createInputPanel in class AbstractSample

createProblem

public Problem createProblem()
Creates and returns the NaiveQueen problem.
Overrides:
createProblem in class AbstractSample

printResult

public void printResult()
Displays inforamtions about Queens states.
Overrides:
printResult in class AbstractSample

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

textMode

public void textMode()
Launches a pre-configured NaiveQueens problem without the Monitor.
Overrides:
textMode in class AbstractSample

main

public static void main(java.lang.String[] args)
Launches a pre-configured NaiveQueens problem without the Monitor.