view.hpp
Go to the documentation of this file.
FloatNum size(void) const
Return size of float value (distance between maximum and minimum).
Definition val.hpp:78
void subscribe(Space &home, Propagator &p, PropCond pc, bool process=true)
Cancel subscription of propagator p with propagation condition pc to view.
Definition view.hpp:273
void cancel(Space &home, Propagator &p, PropCond pc)
Cancel subscription of propagator p with propagation condition pc to view.
Definition view.hpp:275
void init(Space &home, int min, int max, int c)
Initialize with min, max, and cardinality c.
Definition view.hpp:217
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
Definition view.hpp:260
void reschedule(Space &home, Propagator &p, PropCond pc)
Schedule propagator p.
Definition view.hpp:277
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
Definition view.hpp:254
ModEvent minus_v(Space &home, I &i, bool depends=true)
Remove from domain the values described by i.
Definition view.hpp:363
void init(const IntView &y, int c)
Initialize with integer view y and value c.
Definition view.hpp:299
ModEvent inter_v(Space &home, I &i, bool depends=true)
Intersect domain with values described by i.
Definition view.hpp:358
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
Definition view.hpp:339
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
Definition view.hpp:343
ModEvent narrow_v(Space &home, I &i, bool depends=true)
Replace domain by values described by i.
Definition view.hpp:353
Global cardinality propagators (Counting).
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
