Generated on Mon Jul 6 18:09:24 2009 for Gecode by doxygen 1.5.9

Element constraints
[Using finite domain integers]


Functions

void Gecode::element (Space &home, const IntArgs &n, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF)
 Post propagator for $ n_{x_0}=x_1$.
void Gecode::element (Space &home, const IntArgs &n, IntVar x0, BoolVar x1, IntConLevel icl=ICL_DEF)
 Post propagator for $ n_{x_0}=x_1$.
void Gecode::element (Space &home, const IntArgs &n, IntVar x0, int x1, IntConLevel icl=ICL_DEF)
 Post propagator for $ n_{x_0}=x_1$.
void Gecode::element (Space &home, const IntVarArgs &x, IntVar y0, IntVar y1, IntConLevel icl=ICL_DEF)
 Post propagator for $ x_{y_0}=y_1$.
void Gecode::element (Space &home, const IntVarArgs &x, IntVar y0, int y1, IntConLevel icl=ICL_DEF)
 Post propagator for $ x_{y_0}=y_1$.
void Gecode::element (Space &home, const BoolVarArgs &x, IntVar y0, BoolVar y1, IntConLevel icl=ICL_DEF)
 Post propagator for $ x_{y_0}=y_1$.

Function Documentation

void Gecode::element ( Space &  home,
const IntArgs &  n,
IntVar  x0,
IntVar  x1,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $ n_{x_0}=x_1$.

Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.

Definition at line 45 of file element.cpp.

void Gecode::element ( Space &  home,
const IntArgs &  n,
IntVar  x0,
BoolVar  x1,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $ n_{x_0}=x_1$.

Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.

Definition at line 57 of file element.cpp.

void Gecode::element ( Space &  home,
const IntArgs &  n,
IntVar  x0,
int  x1,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $ n_{x_0}=x_1$.

Throws an exception of type Int::OutOfLimits, if the integers in n exceed the limits in Int::Limits.

Definition at line 69 of file element.cpp.

void Gecode::element ( Space &  home,
const IntVarArgs &  x,
IntVar  y0,
IntVar  y1,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $ x_{y_0}=y_1$.

Supports both bounds (icl = ICL_BND) and domain consistency (icl = ICL_DOM, default).

Definition at line 84 of file element.cpp.

void Gecode::element ( Space &  home,
const IntVarArgs &  x,
IntVar  y0,
int  y1,
IntConLevel  icl = ICL_DEF 
)

Post propagator for $ x_{y_0}=y_1$.

Supports both bounds (icl = ICL_BND) and domain consistency (icl = ICL_DOM, default).

Definition at line 98 of file element.cpp.

void Gecode::element ( Space &  home,
const BoolVarArgs &  c,
IntVar  x0,
BoolVar  x1,
IntConLevel   
)

Post propagator for $ x_{y_0}=y_1$.

Definition at line 114 of file element.cpp.