single.hpp
Go to the documentation of this file.
Advisor(Space &home, Propagator &p, Council< A > &c)
Constructor for creation.
Definition core.hpp:4060
Advisors for views (by position in array)
Definition precede.hh:65
Index(Space &home, Propagator &p, Council< Index > &c, int i)
Create index advisor.
Definition single.hpp:49
virtual ExecStatus advise(Space &home, Advisor &a, const Delta &d)
Give advice to propagator.
Definition single.hpp:183
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition single.hpp:211
Single(Home home, ViewArray< View > &x, int s, int t, int beta, int gamma)
Constructor for posting.
Definition single.hpp:84
virtual PropCost cost(const Space &, const ModEventDelta &) const
Cost function.
Definition single.hpp:171
static ExecStatus post(Home home, ViewArray< View > &x, int s, int t)
Post propagator that s precedes t in x.
Definition single.hpp:96
NaryPropagator(Space &home, NaryPropagator &p)
static PropCost linear(PropCost::Mod m, unsigned int n)
Linear complexity for modifier pcm and size measure n.
Definition core.hpp:5080
virtual Val val(const Space &home, View x, int i)=0
Return value of view x at position i.
#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
Value precedence propagators.
const Gecode::ModEvent ME_INT_BND
Domain operation has changed the minimum or maximum of the domain.
Definition var-type.hpp:73
const Gecode::PropCond PC_INT_NONE
Propagation condition to be ignored (convenience).
Definition var-type.hpp:82
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
