45 for (
int i=0; i<c.
size(); i++)
57 for (
int i=0; i<c.
size(); i++)
70 for (
int i=0; i<c.
size(); i++)
141 pair(Home home, IntVar
x,
int w, IntVar
y,
int h) {
142 IntVar xy(home,0,w*h-1);
struct Gecode::@603::NNF::@65::@67 a
For atomic nodes.
Passing Boolean variables.
Boolean integer variables.
FloatNum size(void) const
Return size of float value (distance between maximum and minimum)
Home class for posting propagators
Passing integer variables.
Exception: Arguments are of different size
static ExecStatus post(Home home, IntView x0, IntView x1, IntView x2, int w, int h)
Post propagator .
Bounds consistent element propagator for array of views.
Domain consistent element propagator for array of views.
An array of IdxView pairs.
Exception: Too few arguments available in argument array
#define GECODE_POST
Check for failure in a constraint post function.
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
IntPropLevel
Propagation levels for integer propagators.
@ IPL_DOM
Domain propagation Options: basic versus advanced propagation.
@ IPL_DEF
Simple propagation levels.
ExecStatus post_int(Home home, IntSharedArray &c, V0 x0, V1 x1)
Post propagator with apropriate index and value types.
void check(int n, const char *l)
Check whether n is in range, otherwise throw out of limits with information l.
Gecode toplevel namespace
IntPropLevel vbd(IntPropLevel ipl)
Extract value, bounds, or domain propagation from propagation level.
void element(Home home, IntSharedArray n, IntVar x0, IntVar x1, IntPropLevel ipl=IPL_DEF)
Post domain consistent propagator for .
Post propagator for SetVar SetOpType SetVar SetRelType SetVar z
Post propagator for SetVar SetOpType SetVar y
TFE post(PropagatorGroup g)
Only post functions (but not propagators) from g are considered.
@ ES_OK
Execution is okay.
Post propagator for SetVar x