Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

Gecode::Int::Unshare Namespace Reference


Detailed Description

Unsharing shared variables.


Classes

class  VarPtrLess
 Sort order for variables. More...

Functions

ExecStatus link (Space *home, IntVar **x, int n, IntConLevel icl)
 Return a fresh yet equal integer variable.
ExecStatus link (Space *home, BoolVar **x, int n, IntConLevel)
 Return a fresh yet equal Boolean variable.
template<class Var>
ExecStatus unshare (Space *home, VarArgArray< Var > &x, IntConLevel icl)
 Replace unassigned shared variables by fresh, yet equal variables.


Function Documentation

ExecStatus Gecode::Int::Unshare::link ( Space *  home,
IntVar **  x,
int  n,
IntConLevel  icl 
) [inline]

Return a fresh yet equal integer variable.

Definition at line 63 of file unshare.cc.

ExecStatus Gecode::Int::Unshare::link ( Space *  home,
BoolVar **  x,
int  n,
IntConLevel   
) [inline]

Return a fresh yet equal Boolean variable.

Definition at line 91 of file unshare.cc.

template<class Var>
ExecStatus Gecode::Int::Unshare::unshare ( Space *  home,
VarArgArray< Var > &  x,
IntConLevel  icl 
) [inline]

Replace unassigned shared variables by fresh, yet equal variables.

Definition at line 109 of file unshare.cc.