42 namespace Gecode {
namespace Int {
namespace Bool {
44 template<
class V0,
class V1,
class V2, PropCond pc>
49 x0.subscribe(home,*
this,pc);
50 x1.subscribe(home,*
this,pc);
51 x2.subscribe(home,*
this,pc);
54 template<
class V0,
class V1,
class V2, PropCond pc>
64 template<
class V0,
class V1,
class V2, PropCond pc>
67 return PropCost::ternary(PropCost::LO);
70 template<
class V0,
class V1,
class V2, PropCond pc>
74 x0.reschedule(home,*
this,pc);
75 x1.reschedule(home,*
this,pc);
76 x2.reschedule(home,*
this,pc);
79 template<
class V0,
class V1,
class V2, PropCond pc>
83 x0.cancel(home,*
this,pc);
84 x1.cancel(home,*
this,pc);
85 x2.cancel(home,*
this,pc);
86 (void) Propagator::dispose(home);
92 template<
class V0,
class V1,
class V2>
97 template<
class V0,
class V1,
class V2>
102 template<
class V0,
class V1,
class V2>
108 template<
class V0,
class V1,
class V2>
121 template<
class V0,
class V1,
class V2>
162 template<
class V0,
class V1,
class V2>
167 template<
class V0,
class V1,
class V2>
172 template<
class V0,
class V1,
class V2>
178 template<
class V0,
class V1,
class V2>
191 template<
class V0,
class V1,
class V2>
200 template<
class V0,
class V1,
class V2>
272 if (!shared<V0,V2>(
x0,
x2) && !shared<V1,V2>(
x1,
x2))
#define GECODE_REWRITE(prop, post)
Rewrite propagator by executing post function.
If-then-else bounds-consistent propagator.
bool zero(void) const
Test whether view is assigned to be zero.
Binary domain consistent equality propagator.
ExecStatus ES_SUBSUMED(Propagator &p)
const FloatNum max
Largest allowed float value.
RelTest rtest_eq_dom(VX x, VY y)
Test whether views x and y are equal (use full domain information)
bool one(void) const
Test whether view is assigned to be one.
Base-class for propagators.
Propagation has computed fixpoint.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
static ExecStatus post(Home home, BoolView b, V0 x0, V1 x1, V2 x2)
Post if-then-else propagator.
Base-class for both propagators and branchers.
Range iterator for integer views.
int p
Number of positive literals for node type.
If-then-else propagator base-class.
const FloatNum min
Smallest allowed float value.
Execution has resulted in failure.
ModEvent zero_none(Space &home)
Assign not yet assigned view to zero.
RelTest
Result of testing relation.
const Gecode::PropCond PC_INT_BND
Propagate when minimum or maximum of a view changes.
IteBnd(Space &home, IteBnd &p)
Constructor for cloning p.
ModEventDelta med
A set of modification events (used during propagation)
Binary bounds consistent equality propagator.
const Gecode::PropCond PC_INT_DOM
Propagate when domain changes.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (defined as high ternary)
static ExecStatus post(Home home, BoolView b, V0 x0, V1 x1, V2 x2)
Post if-then-else propagator.
union Gecode::@585::NNF::@62 u
Union depending on nodetype t.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
ExecStatus ES_FIX_PARTIAL(Propagator &p, const ModEventDelta &med)
Propagator p has computed partial fixpoint
RelTest rtest_eq_bnd(VX x, VY y)
Test whether views x and y are equal (use bounds information)
Range iterator for computing union (binary)
BoolView b
View for condition.
If-then-else domain-consistent propagator.
struct Gecode::@585::NNF::@62::@63 b
For binary nodes (and, or, eqv)
const Gecode::ModEvent ME_INT_DOM
Domain operation has changed the domain.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
IteDom(Space &home, IteDom &p)
Constructor for cloning p.
static PropCost ternary(PropCost::Mod m)
Three variables for modifier pcm.
Gecode toplevel namespace
ModEvent one_none(Space &home)
Assign not yet assigned view to one.
void reschedule(Space &home, Propagator &p, IntSet &y)
int ModEventDelta
Modification event deltas.
Home class for posting propagators
IteBase(Space &home, IteBase &p)
Constructor for cloning p.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
const Gecode::PropCond PC_BOOL_VAL
Propagate when a view becomes assigned (single value)
Boolean view for Boolean variables.