arithmetic.cc File Reference
(Revision: 3513)
#include "gecode/minimodel.hh"
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | Gecode |
Defines | |
#define | GECODE_MM_RETURN_FAILED |
Functions | |
IntVar | Gecode::abs (Space *home, IntVar x, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::min (Space *home, IntVar x, IntVar y, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::min (Space *home, const IntVarArgs &x, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::max (Space *home, IntVar x, IntVar y, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::max (Space *home, const IntVarArgs &x, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::mult (Space *home, IntVar x, IntVar y, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::sqr (Space *home, IntVar x, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::plus (Space *home, IntVar x, IntVar y, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() | |
IntVar | Gecode::minus (Space *home, IntVar x, IntVar y, IntConLevel icl=ICL_DEF) |
Return variable constrained to ![]() |
Define Documentation
|
Value: if (home->failed()) { \ IntVar _x(home,0,0); return _x; \ } Definition at line 28 of file arithmetic.cc. |