Generated on Sat Aug 25 2012 15:53:07 for Gecode by doxygen 1.7.5
Distinctness constraints

Functions

void Gecode::atmostOne (Home home, const SetVarArgs &x, unsigned int c)
 Post propagator for $\forall 0\leq i\leq |x| : |x_i|=c$ and $\forall 0\leq i<j\leq |x| : |x_i\cap x_j|\leq 1$.

Function Documentation

void Gecode::atmostOne ( Home  home,
const SetVarArgs &  xa,
unsigned int  c 
)

Post propagator for $\forall 0\leq i\leq |x| : |x_i|=c$ and $\forall 0\leq i<j\leq |x| : |x_i\cap x_j|\leq 1$.

Definition at line 45 of file distinct.cpp.