MCPcopy Index your code
hub / github.com/MagnusS/Java-BloomFilter / getK

Method getK

src/com/skjegstad/utils/BloomFilter.java:279–281  ·  view source on GitHub ↗

Returns the value chosen for K. K is the optimal number of hash functions based on the size of the Bloom filter and the expected number of inserted elements. @return optimal k.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

testConstructorCNKMethod · 0.95
testGetKMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by 3

testConstructorCNKMethod · 0.76
testGetKMethod · 0.76