Functions | |
void | Gecode::min (Home home, IntVar x0, IntVar x1, IntVar x2, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::min (Home home, const IntVarArgs &x, IntVar y, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::max (Home home, IntVar x0, IntVar x1, IntVar x2, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::max (Home home, const IntVarArgs &x, IntVar y, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::argmin (Home home, const IntVarArgs &x, IntVar y, bool tiebreak=true, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::argmin (Home home, const IntVarArgs &x, int o, IntVar y, bool tiebreak=true, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::argmax (Home home, const IntVarArgs &x, IntVar y, bool tiebreak=true, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::argmax (Home home, const IntVarArgs &x, int o, IntVar y, bool tiebreak=true, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::abs (Home home, IntVar x0, IntVar x1, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::mult (Home home, IntVar x0, IntVar x1, IntVar x2, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::divmod (Home home, IntVar x0, IntVar x1, IntVar x2, IntVar x3, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::div (Home home, IntVar x0, IntVar x1, IntVar x2, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::mod (Home home, IntVar x0, IntVar x1, IntVar x2, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::sqr (Home home, IntVar x0, IntVar x1, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::sqrt (Home home, IntVar x0, IntVar x1, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::pow (Home home, IntVar x0, int n, IntVar x1, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
void | Gecode::nroot (Home home, IntVar x0, int n, IntVar x1, IntPropLevel ipl=IPL_DEF) |
Post propagator for ![]() | |
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
Definition at line 92 of file arithmetic.cpp.
void Gecode::min | ( | Home | home, |
const IntVarArgs & | x, | ||
IntVar | y, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
If x is empty, an exception of type Int::TooFewArguments is thrown.
Definition at line 105 of file arithmetic.cpp.
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
Definition at line 65 of file arithmetic.cpp.
void Gecode::max | ( | Home | home, |
const IntVarArgs & | x, | ||
IntVar | y, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
If x is empty, an exception of type Int::TooFewArguments is thrown.
Definition at line 77 of file arithmetic.cpp.
void Gecode::argmin | ( | Home | home, |
const IntVarArgs & | x, | ||
IntVar | y, | ||
bool | tiebreak = true , |
||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
In case of ties, the smallest value for y is chosen (provided tiebreak is true).
If x is empty, an exception of type Int::TooFewArguments is thrown. If y occurs in x, an exception of type Int::ArgumentSame is thrown.
Definition at line 177 of file arithmetic.cpp.
void Gecode::argmin | ( | Home | home, |
const IntVarArgs & | x, | ||
int | o, | ||
IntVar | y, | ||
bool | tiebreak = true , |
||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
In case of ties, the smallest value for y is chosen (provided tiebreak is true).
If x is empty, an exception of type Int::TooFewArguments is thrown. If y occurs in x, an exception of type Int::ArgumentSame is thrown.
Definition at line 203 of file arithmetic.cpp.
void Gecode::argmax | ( | Home | home, |
const IntVarArgs & | x, | ||
IntVar | y, | ||
bool | tiebreak = true , |
||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
In case of ties, the smallest value for y is chosen (provided tiebreak is true).
If x is empty, an exception of type Int::TooFewArguments is thrown. If y occurs in x, an exception of type Int::ArgumentSame is thrown.
Definition at line 124 of file arithmetic.cpp.
void Gecode::argmax | ( | Home | home, |
const IntVarArgs & | x, | ||
int | o, | ||
IntVar | y, | ||
bool | tiebreak = true , |
||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
In case of ties, the smallest value for y is chosen (provided tiebreak is true).
If x is empty, an exception of type Int::TooFewArguments is thrown. If y occurs in x, an exception of type Int::ArgumentSame is thrown.
Definition at line 150 of file arithmetic.cpp.
void Gecode::abs | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports value propagation (ipl = IPL_VAL), bounds consistency (ipl = IPL_BND, default), and domain consistency (ipl = IPL_DOM).
Definition at line 43 of file arithmetic.cpp.
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
Definition at line 231 of file arithmetic.cpp.
void Gecode::divmod | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntVar | x2, | ||
IntVar | x3, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports bounds consistency (ipl = IPL_BND, default).
Definition at line 244 of file arithmetic.cpp.
Post propagator for .
Supports bounds consistency (ipl = IPL_BND, default).
Definition at line 268 of file arithmetic.cpp.
Post propagator for .
Supports bounds consistency (ipl = IPL_BND, default).
Definition at line 277 of file arithmetic.cpp.
void Gecode::sqr | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
Definition at line 286 of file arithmetic.cpp.
void Gecode::sqrt | ( | Home | home, |
IntVar | x0, | ||
IntVar | x1, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
Definition at line 300 of file arithmetic.cpp.
void Gecode::pow | ( | Home | home, |
IntVar | x0, | ||
int | n, | ||
IntVar | x1, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
Throws an exception of type Int::OutOfLimits, if n is negative.
Definition at line 314 of file arithmetic.cpp.
void Gecode::nroot | ( | Home | home, |
IntVar | x0, | ||
int | n, | ||
IntVar | x1, | ||
IntPropLevel | ipl = IPL_DEF |
||
) |
Post propagator for .
Supports both bounds consistency (ipl = IPL_BND, default) and domain consistency (ipl = IPL_DOM).
Throws an exception of type Int::OutOfLimits, if n is not strictly positive.
Definition at line 333 of file arithmetic.cpp.