libBf 0.1
|
Partition the bitvector of size \(m\) in \(k\) sub-vectors of size \(\frac{m}{k}\). More...
#include <partition.h>
Public Member Functions | |
partitioning (unsigned parts) | |
unsigned | parts () const |
unsigned | position (std::size_t hash, unsigned i, unsigned cells) const |
Private Attributes | |
unsigned | parts_ |
Partition the bitvector of size \(m\) in \(k\) sub-vectors of size \(\frac{m}{k}\).
Each hash value \(h_i\) for \(i\in[k]\) maps to one of the sub-vectors.
Definition at line 55 of file partition.h.