org.gecode.VarMatrix< Var extends GecodeVar > Class Reference
[Setting up scripts, Integer variables, Set variables]
List of all members.Detailed Description
Matric of varibles.
This class manages a collection of variables and presents them as a matric. The class has many different constructors for automatically instantiating the variables. THe different kind of constrauctors works as for VarArray, with the difference that instead of specifying size as an argument, width and height are used.
The class is parametrised on the type of variables used.
Definition at line 45 of file VarMatrix.java.
Public Member Functions | |
| VarMatrix () | |
| Construct empty array. | |
| VarMatrix (int h, int w) | |
| Construct empty array with inital capacity of h rows and w columns. | |
Package Functions | |
| SuppressWarnings ("unchecked") public VarMatrix(JavaSpace newHome | |
| Create copies of the elements of va in newHome and add them into this matrix. | |
Package Attributes | |
| boolean | share |
Constructor & Destructor Documentation
| org.gecode.VarMatrix< Var extends GecodeVar >.VarMatrix | ( | ) |
| org.gecode.VarMatrix< Var extends GecodeVar >.VarMatrix | ( | int | h, | |
| int | w | |||
| ) |
Construct empty array with inital capacity of h rows and w columns.
Definition at line 65 of file VarMatrix.java.
Member Function Documentation
| org.gecode.VarMatrix< Var extends GecodeVar >.SuppressWarnings | ( | "unchecked" | ) | [package] |
Create copies of the elements of va in newHome and add them into this matrix.
Member Data Documentation
Definition at line 74 of file VarMatrix.java.
The documentation for this class was generated from the following file:
- org/gecode/VarMatrix.java (Revision: 3217)
