Macros§
Structs§
- A fixed-size 2D bit matrix type with a dense representation.
- A fixed-size bitset type with a dense representation.
- A fixed-size bitset type with a partially dense, partially sparse representation. The bitset is broken into chunks, and chunks that are all zeros or all ones are represented and handled very efficiently.
- A fixed-sized bitset type represented by an integer type. Indices outwith than the range representable by
T
are considered set. - A resizable bitset type with a dense representation.
- A fixed-column-size, variable-row-size 2D bit matrix with a moderately sparse representation.
Enums§
- Chunk π
- Chunk
Iter π - A bitset with a mixed representation, using
BitSet
for small and medium bitsets, andChunkedBitSet
for large bitsets, i.e. those with enough bits for at least two chunks. This is a good choice for many bitsets that can have large domain sizes (e.g. 5000+).
Constants§
- CHUNK_
BITS π - CHUNK_
WORDS π - WORD_
BITS π - WORD_
BYTES π
Traits§
- Integral type used to represent the bit set.
Functions§
- bitwise π
- bitwise_
changes πDoes this bitwise operation changeout_vec
? - chunk_
index π - inclusive_
start_ πend - max_bit π
- num_
chunks π - num_
words π - sequential_
update π - word_
index_ πand_ mask