Generated on Mon Sep 17 2012 22:20:49 for Gecode by doxygen 1.8.1.1
Number of values constraints

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$.

Definition at line 44 of file nvalues.cpp.

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$.

Definition at line 94 of file nvalues.cpp.

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$.

Definition at line 145 of file nvalues.cpp.

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$.

Definition at line 193 of file nvalues.cpp.