Functions | |
void | Gecode::min (Home home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::min (Home home, const IntVarArgs &x, IntVar y, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::max (Home home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::max (Home home, const IntVarArgs &x, IntVar y, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::abs (Home home, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::mult (Home home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::divmod (Home home, IntVar x0, IntVar x1, IntVar x2, IntVar x3, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::div (Home home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::mod (Home home, IntVar x0, IntVar x1, IntVar x2, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::sqr (Home home, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::sqrt (Home home, IntVar x0, IntVar x1, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::pow (Home home, IntVar x0, int n, IntVar x1, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() | |
void | Gecode::nroot (Home home, IntVar x0, int n, IntVar x1, IntConLevel icl=ICL_DEF) |
Post propagator for ![]() |
void Gecode::min | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntVar | x2, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 82 of file arithmetic.cpp.
void Gecode::min | ( | Home | home, |
const IntVarArgs & | x, | ||
IntVar | y, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
If x is empty, an exception of type Int::TooFewArguments is thrown.
Definition at line 95 of file arithmetic.cpp.
void Gecode::max | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntVar | x2, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 55 of file arithmetic.cpp.
void Gecode::max | ( | Home | home, |
const IntVarArgs & | x, | ||
IntVar | y, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
If x is empty, an exception of type Int::TooFewArguments is thrown.
Definition at line 67 of file arithmetic.cpp.
void Gecode::abs | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 43 of file arithmetic.cpp.
void Gecode::mult | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntVar | x2, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 114 of file arithmetic.cpp.
void Gecode::divmod | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntVar | x2, | ||
IntVar | x3, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports bounds consistency (icl = ICL_BND, default).
Definition at line 127 of file arithmetic.cpp.
void Gecode::div | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntVar | x2, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports bounds consistency (icl = ICL_BND, default).
Definition at line 151 of file arithmetic.cpp.
void Gecode::mod | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntVar | x2, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports bounds consistency (icl = ICL_BND, default).
Definition at line 160 of file arithmetic.cpp.
void Gecode::sqr | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 169 of file arithmetic.cpp.
void Gecode::sqrt | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Definition at line 183 of file arithmetic.cpp.
void Gecode::pow | ( | Home | home, |
IntVar | x0, | ||
int | n, | ||
IntVar | x1, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Throws an exception of type Int::OutOfLimits, if n is negative.
Definition at line 197 of file arithmetic.cpp.
void Gecode::nroot | ( | Home | home, |
IntVar | x0, | ||
int | n, | ||
IntVar | x1, | ||
IntConLevel | icl = ICL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (icl = ICL_BND, default) and domain consistency (icl = ICL_DOM).
Throws an exception of type Int::OutOfLimits, if n is not strictly positive.
Definition at line 216 of file arithmetic.cpp.