examples.MagicSquare Class Reference
Inherits org.gecode.Space.
Detailed Description
Definition at line 47 of file MagicSquare.java.
Public Member Functions | |
| MagicSquare (int size) | |
| MagicSquare (Boolean share, MagicSquare msq) | |
| String | toString () |
| Return String representation of the Space. | |
| void | print () |
Static Public Member Functions | |
| static void | main (String[]args) |
Constructor & Destructor Documentation
| examples.MagicSquare.MagicSquare | ( | int | size | ) |
Definition at line 51 of file MagicSquare.java.
| examples.MagicSquare.MagicSquare | ( | Boolean | share, | |
| MagicSquare | msq | |||
| ) |
Definition at line 86 of file MagicSquare.java.
Member Function Documentation
| String examples.MagicSquare.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 92 of file MagicSquare.java.
| void examples.MagicSquare.print | ( | ) |
Definition at line 105 of file MagicSquare.java.
| static void examples.MagicSquare.main | ( | String[] | args | ) | [static] |
Definition at line 111 of file MagicSquare.java.
The documentation for this class was generated from the following file:
- examples/MagicSquare.java (Revision: 5594)
