unionConst.hpp
Go to the documentation of this file.
void notice(Actor &a, ActorProperty p, bool duplicate=false)
Notice actor property.
Definition core.hpp:3373
Range iterator for singleton range.
Definition ranges-singleton.hpp:42
Range iterator for computing union (binary).
Definition ranges-union.hpp:44
static PropCost linear(PropCost::Mod m, unsigned int n)
Linear complexity for modifier pcm and size measure n.
Definition core.hpp:5080
void update(Space &home, BndSet &x)
Update this set to be a clone of set x.
Definition integerset.hpp:140
ElementUnionConst(Space &home, ElementUnionConst &p)
Constructor for cloning p.
Definition unionConst.hpp:56
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Definition unionConst.hpp:80
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition unionConst.hpp:115
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition unionConst.hpp:67
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
T * alloc(long unsigned int n)
Allocate block of n objects of type T from space heap.
Definition core.hpp:2973
void ignore(Actor &a, ActorProperty p, bool duplicate=false)
Ignore actor property.
Definition core.hpp:4321
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
Definition macros.hpp:52
bool me_modified(ModEvent me)
Check whether modification event me describes variable modification.
Definition modevent.hpp:59
bool subset(I &i, J &j)
Check whether range iterator i is subset of range iterator j.
Definition ranges-operations.hpp:97
const Gecode::PropCond PC_SET_ANY
Propagate when any bound or the cardinality of a view changes.
Definition var-type.hpp:256
const Gecode::ModEvent ME_SET_FAILED
Domain operation has resulted in failure.
Definition var-type.hpp:146
Gecode toplevel namespace
