Generated on Thu Jul 6 07:06:55 2006 for Gecode by doxygen 1.4.7

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$.
void Gecode::lex (Space *home, const IntVarArgs &x, IntRelType r, const IntVarArgs &y, IntConLevel icl=ICL_DEF)
 Post propagator for lexical order 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  c,
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$.

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

Definition at line 132 of file rel.cc.

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

Post propagator for lexical order between x and y.

Definition at line 235 of file rel.cc.