Generated on Tue Apr 18 10:22:48 2017 for Gecode by doxygen 1.6.3

Number of values constraints
[Using integer variables and constraints]

Functions

void Gecode::nvalues (Home home, const IntVarArgs &x, IntRelType irt, int y, IntPropLevel ipl=IPL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_{irt} y$.
void Gecode::nvalues (Home home, const IntVarArgs &x, IntRelType irt, IntVar y, IntPropLevel ipl=IPL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_{irt} y$.
void Gecode::nvalues (Home home, const BoolVarArgs &x, IntRelType irt, int y, IntPropLevel ipl=IPL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_{irt} y$.
void Gecode::nvalues (Home home, const BoolVarArgs &x, IntRelType irt, IntVar y, IntPropLevel ipl=IPL_DEF)
 Post propagator for $\#\{x_0,\ldots,x_{|x|-1}\}\sim_{irt} 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  irt,
int  y,
IntPropLevel  ipl = IPL_DEF 
)

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

void Gecode::nvalues ( Home  home,
const IntVarArgs &  x,
IntRelType  irt,
IntVar  y,
IntPropLevel  ipl = IPL_DEF 
)

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

void Gecode::nvalues ( Home  home,
const BoolVarArgs &  x,
IntRelType  irt,
int  y,
IntPropLevel  ipl = IPL_DEF 
)

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

void Gecode::nvalues ( Home  home,
const BoolVarArgs &  x,
IntRelType  irt,
IntVar  y,
IntPropLevel  ipl = IPL_DEF 
)

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