bitset-offset.hpp
Go to the documentation of this file.
unsigned int next(unsigned int i) const
Return position greater or equal i of next set bit (i is allowed to be equal to size).
Definition bitset-base.hpp:606
void resize(A &a, unsigned int n, bool setbits=false)
Resize bitset to n elememts.
Definition bitset-base.hpp:542
int next(int i) const
Return position greater or equal i of next set bit (i is allowed to be equal to size).
Definition bitset-offset.hpp:124
int offset(void) const
Definition bitset-offset.hpp:138
void resize(A &a, unsigned int n, int offset, bool set=false)
Resize bitset to n elements with specified offset.
Definition bitset-offset.hpp:131
BitSetOffset(A &a, unsigned int s, int o)
Bit set with space for s bits with offset of o.
Definition bitset-offset.hpp:90
Support algorithms and datastructures
std::basic_ostream< Char, Traits > & operator<<(std::basic_ostream< Char, Traits > &os, const BitSetOffset< A > &bs)
Definition bitset-offset.hpp:157
Gecode toplevel namespace
