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

Distinctness constraints
[Using finite integer sets]

Collaboration diagram for Distinctness constraints:


Functions

void Gecode::atmostOne (Space *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$.
void Gecode::distinct (Space *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\neq x_j$.


Function Documentation

void Gecode::atmostOne Space *  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 29 of file distinct.cc.

void Gecode::distinct Space *  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\neq x_j$.

Definition at line 38 of file distinct.cc.