Generated on Sat Apr 10 2021 00:00:00 for Gecode by doxygen 1.9.1
int-bin.hpp File Reference

Go to the source code of this file.

Namespaces

 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

◆ GECODE_INT_PV

#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); \
}
@ ES_FAILED
Execution has resulted in failure.
Definition: core.hpp:474
int ModEvent
Type for modification events.
Definition: core.hpp:62
bool me_failed(ModEvent me)
Check whether modification event me is failed.
Definition: modevent.hpp:54
bool me_modified(ModEvent me)
Check whether modification event me describes variable modification.
Definition: modevent.hpp:59

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