Generated on Sat Feb 7 2015 02:01:34 for Gecode by doxygen 1.8.9.1
int-bin.hpp File Reference

(Revision: 13154)

Go to the source code of this file.

Namespaces

 Gecode
 Gecode toplevel namespace
 
 Gecode::Int
 Finite domain integers.
 
 Gecode::Int::Linear
 Linear propagators
 

Macros

#define GECODE_INT_PV(CASE, TELL, UPDATE)
 

Enumerations

enum  Gecode::Int::Linear::BinMod {
  Gecode::Int::Linear::BM_X0_MIN = 1<<0, Gecode::Int::Linear::BM_X0_MAX = 1<<1, Gecode::Int::Linear::BM_X1_MIN = 1<<2, Gecode::Int::Linear::BM_X1_MAX = 1<<3,
  Gecode::Int::Linear::BM_ALL = BM_X0_MIN|BM_X0_MAX|BM_X1_MIN|BM_X1_MAX
}
 Describe which view has been modified how. More...
 

Macro Definition Documentation

#define GECODE_INT_PV (   CASE,
  TELL,
  UPDATE 
)
Value:
if (bm & (CASE)) { \
bm -= (CASE); ModEvent me = (TELL); \
if (me_failed(me)) return ES_FAILED; \
if (me_modified(me)) bm |= (UPDATE); \
}
int ModEvent
Type for modification events.
Definition: core.hpp:146
Execution has resulted in failure.
Definition: core.hpp:525
bool me_modified(ModEvent me)
Check whether modification event me describes variable modification.
Definition: modevent.hpp:63
bool me_failed(ModEvent me)
Check whether modification event me is failed.
Definition: modevent.hpp:58

Definition at line 168 of file int-bin.hpp.