minus.hpp
Go to the documentation of this file.
static ModEvent me(const ModEventDelta &med)
Definition view.hpp:639
void init(const IntVarImp *x)
Initialize with ranges from variable implementation x.
Definition int.hpp:480
int med(void) const
Return median of domain (greatest element not greater than the median).
Definition int.hpp:66
ModEvent narrow_v(Space &home, I &i, bool depends=true)
Replace domain by values described by i.
Definition minus.hpp:196
ModEvent nq(Space &home, int n)
Restrict domain values to be different from n.
Definition minus.hpp:151
unsigned int regret_max(void) const
Return regret of domain maximum (distance to next smaller value).
Definition minus.hpp:87
unsigned int width(void) const
Return width of domain (distance between maximum and minimum).
Definition minus.hpp:75
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
Definition minus.hpp:115
unsigned int regret_min(void) const
Return regret of domain minimum (distance to next larger value).
Definition minus.hpp:83
ModEvent minus_r(Space &home, I &i, bool depends=true)
Remove from domain the ranges described by i.
Definition minus.hpp:189
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
Definition minus.hpp:133
ModEvent inter_v(Space &home, I &i, bool depends=true)
Intersect domain with values described by i.
Definition minus.hpp:203
ModEvent inter_r(Space &home, I &i, bool depends=true)
Intersect domain with ranges described by i.
Definition minus.hpp:182
ModEvent narrow_r(Space &home, I &i, bool depends=true)
Replace domain by ranges described by i.
Definition minus.hpp:175
ModEvent minus_v(Space &home, I &i, bool depends=true)
Remove from domain the values described by i.
Definition minus.hpp:210
Range iterator for pointwise minus of a range iterator.
Definition ranges-minus.hpp:47
Value iterator for pointwise minus of a value iterator.
Definition values-minus.hpp:47
bool operator==(const CachedView< View > &x, const CachedView< View > &y)
Definition cached.hpp:401
bool operator!=(const CachedView< View > &x, const CachedView< View > &y)
Definition cached.hpp:406
Gecode toplevel namespace
