Gecode::Int::Extensional::BitSet Class Reference
List of all members.
Detailed Description
Simple bitsets.
Definition at line 47 of file bitset.icc.
|
Public Member Functions |
| BitSet (void) |
| Default (empty) initialization of BitSet.
|
| BitSet (Space *home, int s, bool value=false) |
| BitSet with space for s bits. The bits are set to value.
|
| BitSet (Space *home, const BitSet &bs) |
| Copy BitSet bs.
|
void | init (Space *home, int s, bool value=false) |
| Initialize BitSet for s bits. The bits are set to value.
|
bool | get (unsigned int i) |
| Access value at bit i.
|
void | set (unsigned int i, bool value=true) |
| Set value at bit i to value.
|
Constructor & Destructor Documentation
Gecode::Int::Extensional::BitSet::BitSet |
( |
void |
|
) |
[inline] |
Gecode::Int::Extensional::BitSet::BitSet |
( |
Space * |
home, |
|
|
int |
s, |
|
|
bool |
value = false | |
|
) |
| | [inline] |
BitSet with space for s bits. The bits are set to value.
Definition at line 82 of file bitset.icc.
Gecode::Int::Extensional::BitSet::BitSet |
( |
Space * |
home, |
|
|
const BitSet & |
bs | |
|
) |
| | [inline] |
Member Function Documentation
void Gecode::Int::Extensional::BitSet::init |
( |
Space * |
home, |
|
|
int |
s, |
|
|
bool |
value = false | |
|
) |
| | [inline] |
Initialize BitSet for s bits. The bits are set to value.
Definition at line 70 of file bitset.icc.
bool Gecode::Int::Extensional::BitSet::get |
( |
unsigned int |
i |
) |
[inline] |
Access value at bit i.
Definition at line 93 of file bitset.icc.
void Gecode::Int::Extensional::BitSet::set |
( |
unsigned int |
i, |
|
|
bool |
value = true | |
|
) |
| | [inline] |
The documentation for this class was generated from the following file: