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

org.gecode.VarMatrix< Var extends GecodeVar > Class Reference
[Setting up scriptsInteger variablesSet 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 (  ) 

Construct empty array.

Definition at line 58 of file VarMatrix.java.

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

boolean org.gecode.VarMatrix< Var extends GecodeVar >.share [package]

Definition at line 74 of file VarMatrix.java.


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