Public Member Functions | |
SharedHandle::Object * | copy (void) const |
Return copy of object. | |
bool | in (int n) const |
Check whether n is included in the set. | |
virtual | ~IntSetObject (void) |
Delete object. | |
Static Public Member Functions | |
static IntSetObject * | allocate (int m) |
Allocate object with m elements. | |
Public Attributes | |
unsigned int | size |
Size of set. | |
int | n |
Number of ranges. | |
Range * | r |
Array of ranges. |
Gecode::IntSet::IntSetObject::~IntSetObject | ( | void | ) | [virtual] |
Delete object.
Definition at line 79 of file int-set.cpp.
IntSet::IntSetObject * Gecode::IntSet::IntSetObject::allocate | ( | int | m | ) | [static] |
Allocate object with m elements.
Definition at line 43 of file int-set.cpp.
SharedHandle::Object * Gecode::IntSet::IntSetObject::copy | ( | void | ) | const [virtual] |
Return copy of object.
Implements Gecode::SharedHandle::Object.
Definition at line 51 of file int-set.cpp.
bool Gecode::IntSet::IntSetObject::in | ( | int | n | ) | const |
Check whether n is included in the set.
Definition at line 60 of file int-set.cpp.
unsigned int Gecode::IntSet::IntSetObject::size |