36 namespace Gecode {
namespace Float {
namespace Rel {
42 template<
class View0,
class View1>
47 template<
class View0,
class View1>
50 if (x0.assigned() && x1.assigned()) {
53 }
else if (
same(x0,x1)) {
61 template<
class View0,
class View1>
66 template<
class View0,
class View1>
72 template<
class View0,
class View1>
75 if (
x0.assigned() &&
x1.assigned()) {
NqFloat(Space &home, NqFloat< View > &p)
Constructor for cloning p.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
ExecStatus ES_SUBSUMED(Propagator &p)
View0 x0
View of type View0.
bool overlap(const FloatVal &x, const FloatVal &y)
Nq(Space &home, Nq< View0, View1 > &p)
Constructor for cloning p.
Multi _c(Gecode::IntArgs(3, 1, 2, 3))
static ExecStatus post(Home home, View x0, FloatVal c)
Post bounds consistent propagator .
Propagation has computed fixpoint.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
View1 x1
View of type View1.
Base-class for both propagators and branchers.
Binary bounds consistent disequality propagator.
Gecode::FloatVal c(-8, 8)
virtual Actor * copy(Space &home)
Copy propagator during cloning.
int p
Number of positive literals for node type.
bool same(const ConstView< ViewA > &, const ConstView< ViewB > &)
Test whether two views are the same.
FloatVal c
Float constant to check.
Execution has resulted in failure.
const Gecode::PropCond PC_FLOAT_VAL
Propagate when a view becomes assigned (single value)
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
static ExecStatus post(Home home, View0 x0, View1 x1)
Post bounds consistent propagator .
Post propagator for SetVar x
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
Home class for posting propagators
Binary bounds consistent disequality propagator with float value.