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

Setting up scripts
[Interfacing to Gecode/J]

Collaboration diagram for Setting up scripts:


Detailed Description

Scripts (or models) are programmed by inheriting from the class org.gecode.Gecode.

For many examples see Example scripts (models).


Classes

class  org.gecode.Space
 Base class for Spaces. More...
class  org.gecode.VarArray< Var extends GecodeVar >
 Array of variables. More...
class  org.gecode.VarMatrix< Var extends GecodeVar >
 Matric of varibles. More...
class  org.gecode.ViewArray< View extends GecodeView >
 Array of views. More...

Functions

 org::gecode::JavaSpace.JavaSpace (boolean share, JavaSpace s)
 Constructor for cloning.
JavaSpace org::gecode::JavaSpace.copy_internal (boolean share)
 Copy space.


Function Documentation

org.gecode.JavaSpace.JavaSpace ( boolean  share,
JavaSpace  s 
) [inherited]

Constructor for cloning.

Must copy and update all data structures (such as variables and variable arrays) required by the subclass of Space.

If share is true, share all data structures among copies. Otherwise, make independent copies.

Definition at line 74 of file JavaSpace.java.

JavaSpace org.gecode.JavaSpace.copy_internal ( boolean  share  )  [inherited]

Copy space.

Must create a new object using the constructor for cloning.

Reimplemented in org.gecode.Space.

Definition at line 84 of file JavaSpace.java.