offset.hpp
Go to the documentation of this file.
static ModEvent me(const ModEventDelta &med)
Definition view.hpp:639
void update(Space &home, DerivedView< View > &y)
Update this view to be a clone of view y.
Definition view.hpp:681
int med(void) const
Return median of domain (greatest element not greater than the median).
Definition int.hpp:66
ModEvent gr(Space &home, int n)
Restrict domain values to be greater than n.
Definition offset.hpp:154
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
Definition offset.hpp:127
void update(Space &home, OffsetView &y)
Update this view to be a clone of view y.
Definition offset.hpp:262
ModEvent inter_r(Space &home, I &i, bool depends=true)
Intersect domain with ranges described by i.
Definition offset.hpp:193
int med(void) const
Return median of domain (greatest element not greater than the median).
Definition offset.hpp:72
unsigned int regret_min(void) const
Return regret of domain minimum (distance to next larger value).
Definition offset.hpp:95
ModEvent narrow_v(Space &home, I &i, bool depends=true)
Replace domain by values described by i.
Definition offset.hpp:205
unsigned int regret_max(void) const
Return regret of domain maximum (distance to next smaller value).
Definition offset.hpp:99
ModEvent minus_v(Space &home, I &i, bool depends=true)
Remove from domain the values described by i.
Definition offset.hpp:217
unsigned int width(void) const
Return width of domain (distance between maximum and minimum).
Definition offset.hpp:87
bool operator<(const OffsetView &y) const
Whether this view comes before view y (arbitrary order).
Definition offset.hpp:273
ModEvent minus_r(Space &home, I &i, bool depends=true)
Remove from domain the ranges described by i.
Definition offset.hpp:199
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
Definition offset.hpp:145
ModEvent inter_v(Space &home, I &i, bool depends=true)
Intersect domain with values described by i.
Definition offset.hpp:211
ModEvent nq(Space &home, int n)
Restrict domain values to be different from n.
Definition offset.hpp:163
ModEvent narrow_r(Space &home, I &i, bool depends=true)
Replace domain by ranges described by i.
Definition offset.hpp:187
Range iterator for pointwise offset (by some constant).
Definition ranges-offset.hpp:42
Value iterator for pointwise offset (by some constant).
Definition values-offset.hpp:42
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
