var-imp.hpp
Go to the documentation of this file.
142 GECODE_FLOAT_EXPORT void subscribe(Space& home, Propagator& p, PropCond pc, bool schedule=true);
FloatVarImpBase(Gecode::Space &home, FloatVarImpBase &x)
Constructor for cloning x.
Definition var-imp.hpp:443
static void schedule(Gecode::Space &home, Gecode::Propagator &p, Gecode::ModEvent me)
Schedule propagator p.
Definition var-imp.hpp:456
void subscribe(Space &home, Propagator &p, PropCond pc, bool schedule=true)
Subscribe propagator p with propagation condition pc to variable.
Definition float.cpp:50
ModEvent eq(Space &home, FloatNum n)
Restrict domain values to be equal to n.
Definition float.hpp:185
void reschedule(Space &home, Propagator &p, PropCond pc)
Re-schedule propagator p with propagation condition pc.
Definition float.cpp:56
FloatNum size(void) const
Return width of domain (distance between maximum and minimum).
Definition float.hpp:89
ModEvent lq(Space &home, FloatNum n)
Restrict domain values to be less or equal than n.
Definition float.hpp:159
ModEvent gq(Space &home, FloatNum n)
Restrict domain values to be greater or equal than n.
Definition float.hpp:133
ModEvent fail(Space &home)
Definition core.hpp:4829
static ModEvent me(const ModEventDelta &med)
Definition core.hpp:4523
Floating point numbers.
Gecode toplevel namespace
