Gecode::Int::Extensional::BitSet Class Reference
Simple bitsets. More...
#include <bitset.hpp>
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. | |
Detailed Description
Simple bitsets.Definition at line 47 of file bitset.hpp.
Constructor & Destructor Documentation
| Gecode::Int::Extensional::BitSet::BitSet | ( | void | ) | [inline] |
| Gecode::Int::Extensional::BitSet::BitSet | ( | Space & | home, | |
| int | s, | |||
| bool | value = false | |||
| ) | [inline] |
Member Function Documentation
| void Gecode::Int::Extensional::BitSet::init | ( | Space & | home, | |
| int | s, | |||
| bool | value = false | |||
| ) | [inline] |
| bool Gecode::Int::Extensional::BitSet::get | ( | unsigned int | i | ) | [inline] |
| void Gecode::Int::Extensional::BitSet::set | ( | unsigned int | i, | |
| bool | value = true | |||
| ) | [inline] |
The documentation for this class was generated from the following file:
- gecode/int/extensional/bitset.hpp (Revision: 8082)
