minmax.hpp
Go to the documentation of this file.
49 : MixBinaryPropagator<View,PC_SET_ANY,Gecode::Int::IntView,Gecode::Int::PC_INT_BND> (home, y0, y1) {}
ReMixBinaryPropagator(Space &home, ReMixBinaryPropagator &p)
Definition propagator.hpp:287
Gecode::Int::IntView x1
Definition propagator.hpp:129
Gecode::Int::BoolView b
Definition propagator.hpp:131
View x0
Definition propagator.hpp:127
Range iterator for computing intersection (binary).
Definition ranges-inter.hpp:44
unsigned int width(void) const
Return width of range (distance between minimum and maximum).
Definition ranges-minmax.hpp:107
Gecode::Int::IntView x1
Definition pattern.hpp:209
MixBinaryPropagator(Space &home, MixBinaryPropagator &p)
Definition pattern.hpp:597
View x0
Definition pattern.hpp:207
static const int MAX_OF_EMPTY
Returned by empty sets when asked for their maximum element.
Definition var-imp.hpp:110
static const int MIN_OF_EMPTY
Returned by empty sets when asked for their minimum element.
Definition var-imp.hpp:112
static ExecStatus post(Home home, View s, Gecode::Int::IntView x)
Post propagator for x is the largest element of s.
Definition minmax.hpp:408
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition minmax.hpp:423
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition minmax.hpp:72
static ExecStatus post(Home home, View s, Gecode::Int::IntView x)
Post propagator for x is the minimal element of s.
Definition minmax.hpp:53
static ExecStatus post(Home home, View s, Gecode::Int::IntView x)
Post propagator for x is not the largest element of s.
Definition minmax.hpp:457
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition minmax.hpp:470
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition minmax.hpp:160
static ExecStatus post(Home home, View s, Gecode::Int::IntView x)
Post propagator for x is not the minimal element of s.
Definition minmax.hpp:141
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition minmax.hpp:580
static ExecStatus post(Home home, View s, Gecode::Int::IntView x, Gecode::Int::BoolView b)
Post reified propagator for b iff x is the largest element of s.
Definition minmax.hpp:565
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition minmax.hpp:290
static ExecStatus post(Home home, View s, Gecode::Int::IntView x, Gecode::Int::BoolView b)
Post reified propagator for b iff x is the minimal element of s.
Definition minmax.hpp:269
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
Definition macros.hpp:52
#define GECODE_REWRITE(prop, post)
Rewrite propagator by executing post function.
Definition macros.hpp:116
const Gecode::PropCond PC_INT_BND
Propagate when minimum or maximum of a view changes.
Definition var-type.hpp:99
const Gecode::PropCond PC_SET_ANY
Propagate when any bound or the cardinality of a view changes.
Definition var-type.hpp:256
Gecode toplevel namespace
