Generated on Wed Jan 4 17:49:17 2006 for Gecode by doxygen 1.4.6

Numerical constraints
[Using finite domain integers]

Collaboration diagram for Numerical constraints:


Functions

void Gecode::min (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel=ICL_DEF)
 Post propagator for $ \min\{x_0,x_1\}=x_2$.
void Gecode::min (Space *home, const IntVarArgs &x, IntVar y, IntConLevel=ICL_DEF)
 Post propagator for $ \min x=y$.
void Gecode::max (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel=ICL_DEF)
 Post propagator for $ \max\{x_0,x_1\}=x_2$.
void Gecode::max (Space *home, const IntVarArgs &x, IntVar y, IntConLevel=ICL_DEF)
 Post propagator for $ \max x=y$.
void Gecode::abs (Space *home, IntVar x0, IntVar x1, IntConLevel=ICL_DEF)
 Post propagator for $ |x_0|=x_1$.
void Gecode::mult (Space *home, IntVar x0, IntVar x1, IntVar x2, IntConLevel=ICL_DEF)
 Post propagator for $x_0\cdot x_1=x_2$.


Function Documentation

GECODE_INT_EXPORT void Gecode::min Space *  home,
IntVar  x0,
IntVar  x1,
IntVar  x2,
IntConLevel  = ICL_DEF
 

Post propagator for $ \min\{x_0,x_1\}=x_2$.

Only bounds-consistency is supported.

Definition at line 52 of file arithmetic.cc.

GECODE_INT_EXPORT void Gecode::min Space *  home,
const IntVarArgs x,
IntVar  y,
IntConLevel  = ICL_DEF
 

Post propagator for $ \min x=y$.

Only bounds-consistency is supported.

Definition at line 59 of file arithmetic.cc.

GECODE_INT_EXPORT void Gecode::max Space *  home,
IntVar  x0,
IntVar  x1,
IntVar  x2,
IntConLevel  = ICL_DEF
 

Post propagator for $ \max\{x_0,x_1\}=x_2$.

Only bounds-consistency is supported. If x is empty, an exception of type Int::ArgumentEmpty is thrown.

Definition at line 36 of file arithmetic.cc.

GECODE_INT_EXPORT void Gecode::max Space *  home,
const IntVarArgs x,
IntVar  y,
IntConLevel  = ICL_DEF
 

Post propagator for $ \max x=y$.

Only bounds-consistency is supported. If x is empty, an exception of type Int::ArgumentEmpty is thrown.

Definition at line 42 of file arithmetic.cc.

GECODE_INT_EXPORT void Gecode::abs Space *  home,
IntVar  x0,
IntVar  x1,
IntConLevel  = ICL_DEF
 

Post propagator for $ |x_0|=x_1$.

Only bounds-consistency is supported.

Definition at line 29 of file arithmetic.cc.

GECODE_INT_EXPORT void Gecode::mult Space *  home,
IntVar  x0,
IntVar  x1,
IntVar  x2,
IntConLevel  = ICL_DEF
 

Post propagator for $x_0\cdot x_1=x_2$.

Only bounds-consistency is supported. The propagator is overflow safe.

Definition at line 72 of file arithmetic.cc.