Generated on Thu Mar 22 10:39:49 2012 for Gecode by doxygen 1.6.3

Number of values constraints
[Using finite domain integers]

Functions

void Gecode::nvalues (Home home, const IntVarArgs &x, IntRelType r, int y, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.
void Gecode::nvalues (Home home, const IntVarArgs &x, IntRelType r, IntVar y, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.
void Gecode::nvalues (Home home, const BoolVarArgs &x, IntRelType r, int y, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.
void Gecode::nvalues (Home home, const BoolVarArgs &x, IntRelType r, IntVar y, IntConLevel icl=ICL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.

Detailed Description

The number of values constraints perform propagation following: C. Bessiere, E. Hebrard, B. Hnich, Z. Kiziltan, and T. Walsh, Filtering Algorithms for the NValue Constraint, Constraints, 11(4), 271-293, 2006.


Function Documentation

void Gecode::nvalues ( Home  home,
const IntVarArgs &  x,
IntRelType  r,
int  y,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.

void Gecode::nvalues ( Home  home,
const IntVarArgs &  x,
IntRelType  r,
IntVar  y,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.

void Gecode::nvalues ( Home  home,
const BoolVarArgs &  x,
IntRelType  r,
int  y,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.

void Gecode::nvalues ( Home  home,
const BoolVarArgs &  x,
IntRelType  r,
IntVar  y,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_r y$.