Generated on Thu Nov 2 14:49:40 2006 for Gecode/J by doxygen 1.5.0

examples.Queens Class Reference
[Example scripts (models)]

Inherits org.gecode.Space.

List of all members.


Detailed Description

Script for the n-Queens puzzle.

Definition at line 36 of file Queens.java.

Public Member Functions

 Queens (Options opt)
 Queens (Boolean share, Queens queens)
String toString ()
 Return String representation of the Space.

Static Public Member Functions

static void main (String[] args)

Public Attributes

int n
VarArray< IntVarq


Constructor & Destructor Documentation

examples.Queens.Queens ( Options  opt  ) 

Definition at line 40 of file Queens.java.

examples.Queens.Queens ( Boolean  share,
Queens  queens 
)

Definition at line 60 of file Queens.java.


Member Function Documentation

String examples.Queens.toString (  ) 

Return String representation of the Space.

The output produced starts with the name of the current class, followed by a list of all the public fields of this class of type IntVar, BoolVar, SetVar, and VarArray. The fields are printed using their corresponding toString methods.

Reimplemented from org.gecode.Space.

Definition at line 66 of file Queens.java.

static void examples.Queens.main ( String[]  args  )  [static]

Definition at line 86 of file Queens.java.


Member Data Documentation

Definition at line 37 of file Queens.java.

Definition at line 38 of file Queens.java.


The documentation for this class was generated from the following file: