Generated on Wed Nov 1 15:05:00 2006 for Gecode by doxygen 1.4.5

Simple relation constraints
[Using finite domain integers]

Collaboration diagram for Simple relation constraints:


Functions

void Gecode::rel (Space *home, IntVar x0, IntRelType r, IntVar x1, IntConLevel icl=ICL_DEF)
 Post propagator for $ x_0 \sim_r x_1$.
void Gecode::rel (Space *home, IntVar x, IntRelType r, int c, IntConLevel icl=ICL_DEF)
 Propagates $ x \sim_r c$.
void Gecode::rel (Space *home, IntVar x0, IntRelType r, IntVar x1, BoolVar b, IntConLevel icl=ICL_DEF)
 Post propagator for $ (x_0 \sim_r x_1)\Leftrightarrow b$.
void Gecode::rel (Space *home, IntVar x, IntRelType r, int c, BoolVar b, IntConLevel icl=ICL_DEF)
 Post propagator for $(x \sim_r c)\Leftrightarrow b$.
void Gecode::rel (Space *home, const IntVarArgs &x, IntRelType r, const IntVarArgs &y, IntConLevel icl=ICL_DEF)
 Post propagator for relation between x and y.


Function Documentation

void Gecode::rel Space *  home,
IntVar  x0,
IntRelType  r,
IntVar  x1,
IntConLevel  icl = ICL_DEF
 

Post propagator for $ x_0 \sim_r x_1$.

Supports both bounds (icl = ICL_BND) and domain-consistency (icl = ICL_DOM, default).

Definition at line 55 of file rel.cc.

void Gecode::rel Space *  home,
IntVar  x0,
IntRelType  r,
int  n,
IntConLevel  icl = ICL_DEF
 

Propagates $ x \sim_r c$.

Definition at line 33 of file rel.cc.

void Gecode::rel Space *  home,
IntVar  x0,
IntRelType  r,
IntVar  x1,
BoolVar  b,
IntConLevel  icl = ICL_DEF
 

Post propagator for $ (x_0 \sim_r x_1)\Leftrightarrow b$.

Supports both bounds (icl = ICL_BND) and domain-consistency (icl = ICL_DOM, default).

Definition at line 82 of file rel.cc.

void Gecode::rel Space *  home,
IntVar  x,
IntRelType  r,
int  c,
BoolVar  b,
IntConLevel  icl = ICL_DEF
 

Post propagator for $(x \sim_r c)\Leftrightarrow b$.

Supports both bounds (icl = ICL_BND) and domain-consistency (icl = ICL_DOM, default).

Definition at line 126 of file rel.cc.

void Gecode::rel Space *  home,
const IntVarArgs x,
IntRelType  r,
const IntVarArgs y,
IntConLevel  icl = ICL_DEF
 

Post propagator for relation between x and y.

Note that for the inequality relations this corresponds to the lexical order between x and y.

Supports both bounds (icl = ICL_BND) and domain-consistency (icl = ICL_DOM, default).

Throws an exception of type Int::ArgumentSizeMismatch, if x and y are of different size.

Definition at line 221 of file rel.cc.