Generated on Sat Feb 7 2015 02:01:36 for Gecode by doxygen 1.8.9.1

Functions

void Gecode::precede (Home home, const IntVarArgs &x, int s, int t, IntConLevel=ICL_DEF)
 Post propagator that s precedes t in x. More...
 
void Gecode::precede (Home home, const IntVarArgs &x, const IntArgs &c, IntConLevel=ICL_DEF)
 Post propagator that successive values in c precede each other in x. More...
 

Detailed Description

Function Documentation

void Gecode::precede ( Home  home,
const IntVarArgs x,
int  s,
int  t,
IntConLevel  = ICL_DEF 
)

Post propagator that s precedes t in x.

This constraint enforces that $x_0\neq t$ and $x_j=t \to \bigvee_{0\leq i<j} x_i=s$ for $0\leq j<|x|$. The propagator is domain consistent.

Definition at line 47 of file precede.cpp.

void Gecode::precede ( Home  home,
const IntVarArgs x,
const IntArgs c,
IntConLevel  = ICL_DEF 
)

Post propagator that successive values in c precede each other in x.

This constraint enforces that $x_0\neq c_k$ for $0<k<|c|$ and $x_j=c_{k} \to \bigvee_{0\leq i<j} x_i=c_{k-1}$ for $0\leq j<|x|$ and $0< k<|c|$.

Definition at line 58 of file precede.cpp.