Skip to content

fix BloomFilter's hash parameters#7

Open
tomowind wants to merge 1 commit into
pranab:masterfrom
tomowind:fix_bloomfilter
Open

fix BloomFilter's hash parameters#7
tomowind wants to merge 1 commit into
pranab:masterfrom
tomowind:fix_bloomfilter

Conversation

@tomowind
Copy link
Copy Markdown

@tomowind tomowind commented Apr 20, 2020

MultiHashFamily(int numHash, int hashValueMax) takes the number of hashes and the maximum of the BitSet size. Then, the caller should be like this:

hashFamily = new Hashing.MultiHashFamily(hashFamilySize, bitVectorSize);

Hashing.MultiHashFamily takes (numHash, hashValueMax) in order, which is (hashFamilySize, bitVectorSize)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant