BloomFilter

A data structure optimized for fast, space-efficient set membership tests
Download

BloomFilter Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Ms-PL
  • Publisher Name:
  • Burton H Bloom
  • Operating Systems:
  • Windows All
  • File Size:
  • 4 KB

BloomFilter Tags


BloomFilter Description

A Bloom filter was designed to be a data structure optimized for fast, space-efficient set membership tests. Bloom filters have the unusual property of requiring constant time to add an element to the set or test for membership, regardless of the size of the elements or the number of elements already in the set. No other constant-space set data structure has this property. It works by storing a bit vector representing the set S' = {h(x) | x in S, i = 1, …, k}, where h, …, h := {0, 1} -> are hash functions. Additions are simply setting k bits to 1, specifically those at h(x), …, h(x). Checks are implemented by performing those same hash functions and returning if all of the resulting positions are 1. Because the set stored is a proper superset of the set of items added, false positives may occur, though false negatives cannot. The false positive rate can be specified.


BloomFilter Related Software