min-max.hpp
Go to the documentation of this file.
Propagator for bounds consistent max operator
Definition arithmetic.hh:356
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition min-max.hpp:130
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition min-max.hpp:78
Bounds consistent n-ary maximum propagator.
Definition arithmetic.hh:383
static ExecStatus post(Home home, ViewArray< View > &x, View y)
Post propagator .
Definition min-max.hpp:155
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition min-max.hpp:242
NaryMax(Space &home, NaryMax &p)
Constructor for cloning p.
static ExecStatus post(Home home, View0 x0, View1 x1)
Post bounds consistent propagator .
Definition eq.hpp:50
A x0
Definition pattern.hpp:240
B x1
Definition pattern.hpp:242
C x2
Definition pattern.hpp:244
MixTernaryPropagator(Space &home, MixTernaryPropagator &p)
Definition pattern.hpp:661
NaryOnePropagator(Space &home, NaryOnePropagator &p)
void move_lst(int i)
Move view from position size()-1 to position i (truncate array by one).
Definition array.hpp:1245
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
Definition macros.hpp:52
#define GECODE_ES_CHECK(es)
Check whether execution status es is failed or subsumed, and forward failure or subsumption.
Definition macros.hpp:91
bool me_modified(ModEvent me)
Check whether modification event me describes variable modification.
Definition modevent.hpp:59
Arithmetic propagators
ExecStatus prop_nary_max(Space &home, Propagator &p, ViewArray< View > &x, View y, PropCond pc)
Definition min-max.hpp:204
Floating point numbers.
const Gecode::ModEvent ME_FLOAT_FAILED
Domain operation has resulted in failure.
Definition var-type.hpp:268
const Gecode::PropCond PC_FLOAT_BND
Propagate when minimum or maximum of a view changes.
Definition var-type.hpp:300
Gecode toplevel namespace
void min(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Definition arithmetic.cpp:67
void max(Home home, FloatVar x0, FloatVar x1, FloatVar x2)
Post propagator for .
Definition arithmetic.cpp:49
