int-dom.hpp
Go to the documentation of this file.
Backward iterator for ranges of integer variable implementations.
Definition var-imp.hpp:435
Range iterator for ranges of integer variable implementation.
Definition var-imp.hpp:392
ModEvent minus_v(Space &home, I &i, bool depends=true)
Remove from domain the values described by i.
Definition int.hpp:206
Propagator for domain consistent n-ary linear equality
Definition linear.hh:609
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition int-dom.hpp:382
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition int-dom.hpp:391
static ExecStatus post(Home home, ViewArray< View > &x, ViewArray< View > &y, Val c)
Post propagator for .
Definition int-dom.hpp:362
Lin(Space &home, Lin< Val, View, View, pc > &p)
Definition int-nary.hpp:69
ViewArray< View > y
Definition linear.hh:502
ViewArray< View > x
Definition linear.hh:500
Support-based iterator for negative view.
Definition int-dom.hpp:138
Support-based iterator for positive view.
Definition int-dom.hpp:113
void init(Region &r, int a, const IntView &x, Val l, Val u)
Initialize view.
Definition int-dom.hpp:217
ModEvent tell(Space &home)
Tell back new variable domain according to support found.
Definition int-dom.hpp:229
ModEvent tell(Space &home, IntView &x) const
Perform tell according to recorded support information on.
Definition int-dom.hpp:193
void init(Region &r, unsigned int n)
Initialize support set with cardinality n.
Definition int-dom.hpp:165
void operator++(void)
Definition ranges-values.hpp:117
static PropCost crazy(PropCost::Mod m, unsigned int n)
Exponential complexity for modifier m and size measure n.
Definition core.hpp:5053
static PropCost linear(PropCost::Mod m, unsigned int n)
Linear complexity for modifier pcm and size measure n.
Definition core.hpp:5080
ExecStatus ES_FIX_PARTIAL(Propagator &p, const ModEventDelta &med)
Propagator p has computed partial fixpoint
Definition core.hpp:3786
#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
Linear propagators
ExecStatus prop_bnd(Space &home, ModEventDelta med, Propagator &p, ViewArray< P > &x, ViewArray< N > &y, Val &c)
Definition int-nary.hpp:183
const Gecode::ModEvent ME_INT_FAILED
Domain operation has resulted in failure.
Definition var-type.hpp:60
const Gecode::ModEvent ME_INT_NONE
Domain operation has not changed domain.
Definition var-type.hpp:62
Gecode toplevel namespace
