inter.hpp
Go to the documentation of this file.
Range iterator for computing intersection (binary).
Definition ranges-inter.hpp:44
Range iterator for intersection of iterators.
Definition ranges-inter.hpp:74
virtual size_t dispose(Space &home)
Definition pattern.hpp:766
MixNaryOnePropagator(Space &home, MixNaryOnePropagator &p)
Definition pattern.hpp:733
ViewArray< View0 > x
Definition pattern.hpp:275
View1 y
Definition pattern.hpp:277
View0 x0
Definition pattern.hpp:240
View1 x1
Definition pattern.hpp:242
View2 x2
Definition pattern.hpp:244
MixTernaryPropagator(Space &home, MixTernaryPropagator &p)
Definition pattern.hpp:661
static PropCost quadratic(PropCost::Mod m, unsigned int n)
Quadratic complexity for modifier m and size measure n.
Definition core.hpp:5071
void update(Space &home, BndSet &x)
Update this set to be a clone of set x.
Definition integerset.hpp:140
bool includeI(Space &home, I &i)
Include the set represented by i in this set.
Definition integerset.hpp:296
bool intersectI(Space &home, I &i)
Exclude all elements not in the set represented by i from this set.
Definition integerset.hpp:370
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition inter.hpp:267
static ExecStatus post(Home home, ViewArray< View0 > &y, View1 x)
Post propagator .
Definition inter.hpp:235
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition inter.hpp:273
static ExecStatus post(Home home, View0 x, View1 y, View2 z)
Post propagator .
Definition inter.hpp:48
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition inter.hpp:62
#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
#define GECODE_ES_CHECK(es)
Check whether execution status es is failed or subsumed, and forward failure or subsumption.
Definition macros.hpp:91
#define GECODE_ME_CHECK_MODIFIED(modified, me)
Check whether me is failed or modified, and forward failure.
Definition macros.hpp:64
ExecStatus interCard(Space &home, bool &retmodified, View0 &x0, View1 &x1, View2 &x2)
Definition common.hpp:91
bool testSetEventLB(ModEvent me0, ModEvent me1, ModEvent me2)
Definition common.hpp:83
bool testSetEventUB(ModEvent me0, ModEvent me1, ModEvent me2)
Definition common.hpp:87
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
bool viewarrayshared(const ViewArray< View0 > &va, const View1 &y)
Definition common.hpp:47
