integerset.hpp
Go to the documentation of this file.
Range iterator for computing the complement (described by template arguments).
Definition ranges-compl.hpp:49
Gecode::Set::LubRanges< Gecode::ValSelCommitBase< typenameValSel::View, typenameValSel::Val >::View > i
Definition ranges-compl.hpp:52
Compl(void)
Definition ranges-compl.hpp:135
Range iterator for computing intersection (binary).
Definition ranges-inter.hpp:44
void init(const Gecode::RangeList *s)
Initialize with range list s.
Definition ranges-rangelist.hpp:86
Range iterator for computing union (binary).
Definition ranges-union.hpp:44
void dispose(Space &home, RangeList *l)
Free memory for all elements between this and l (inclusive).
Definition range-list.hpp:201
unsigned int width(void) const
Return width (distance between maximum and minimum).
Definition range-list.hpp:172
bool overwrite(Space &home, I &i)
Overwrite the ranges with those represented by i.
Definition integerset.hpp:171
static const int MAX_OF_EMPTY
Returned by empty sets when asked for their maximum element.
Definition var-imp.hpp:110
void update(Space &home, BndSet &x)
Update this set to be a clone of set x.
Definition integerset.hpp:140
static const int MIN_OF_EMPTY
Returned by empty sets when asked for their minimum element.
Definition var-imp.hpp:112
bool includeI(Space &home, I &i)
Include the set represented by i in this set.
Definition integerset.hpp:296
bool include(Space &home, int i, int j, SetDelta &d)
Include the set in this set.
Definition integerset.hpp:279
void init(Space &home)
Initialize as the full set including everything between Limits::min and Limits::max.
Definition integerset.hpp:328
bool intersectI(Space &home, I &i)
Exclude all elements not in the set represented by i from this set.
Definition integerset.hpp:370
bool excludeI(Space &home, I &i)
Exclude all elements in the set represented by i from this set.
Definition integerset.hpp:385
bool intersect(Space &home, int i, int j)
Intersect this set with the set .
Definition integerset.hpp:355
bool exclude(Space &home, int i, int j, SetDelta &d)
Exclude the set from this set.
Definition integerset.hpp:339
T * alloc(long unsigned int n)
Allocate block of n objects of type T from space heap.
Definition core.hpp:2973
Gecode toplevel namespace
