Go to the documentation of this file.
79 long long int cx_min = (
static_cast<long long int>(
c[
i]) +
80 static_cast<long long int>(
x[
i].
min()));
81 long long int cx_max = (
static_cast<long long int>(
c[
i]) +
82 static_cast<long long int>(
x[
i].
max()));
106 if (
b.size() !=
x.size())
137 }
else if (
b[
i].none()) {
140 (home,
b[
i],
x[
i], start+j,
y[j])));
195 (home,
x[
i],
y[j],
c, start+j));
Post propagator for SetVar x
Exception: Arguments are of different size
Post propagator for SetVar SetOpType SetVar y
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
void max(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Bounds consistent distinct propagator.
Passing integer variables.
bool assigned(View x, int v)
Whether x is assigned to value v.
Gecode::IntArgs i(4, 1, 2, 3, 4)
bool same(const VarImpVar< VarImp > &y) const
Test whether variable is the same as y.
void check(int n, const char *l)
Check whether n is in range, otherwise throw out of limits with information l.
const FloatNum min
Smallest allowed float value.
IntPropLevel
Propagation levels for integer propagators.
static ExecStatus post(Home home, IntView x0, IntView x1, int c0, int c1)
Post if-then-else propagator.
Gecode toplevel namespace
IntPropLevel vbd(IntPropLevel ipl)
Extract value, bounds, or domain propagation from propagation level.
Exception: Arguments contain same variable multiply
Passing Boolean variables.
Home class for posting propagators
struct Gecode::@579::NNF::@61::@62 b
For binary nodes (and, or, eqv)
@ IPL_DOM
Domain propagation Preferences: prefer speed or memory.
bool one(const Gecode::FloatValArgs &a)
Check whether has only one coefficients.
const int max
Largest allowed integer value.
Domain consistent distinct propagator.
@ IPL_BND
Bounds propagation.
FloatNum size(void) const
Return size of float value (distance between maximum and minimum)
#define GECODE_POST
Check for failure in a constraint post function.
If-then-else domain-consistent propagator.
const int min
Smallest allowed integer value.
void distinct(Home home, const IntVarArgs &x, IntPropLevel ipl)
Post propagator for for all .
void min(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Exception: Value out of limits
Gecode::FloatVal c(-8, 8)
int n
Number of negative literals for node type.
Passing integer arguments.
const FloatNum max
Largest allowed float value.
Naive value distinct propagator.