Generated on Mon Aug 25 11:35:51 2008 for Gecode by doxygen 1.5.6

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]

Default (empty) initialization of BitSet.

Definition at line 79 of file bitset.icc.

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]

Copy BitSet bs.

Definition at line 87 of file bitset.icc.


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]

Set value at bit i to value.

Definition at line 100 of file bitset.icc.


The documentation for this class was generated from the following file: