Bloomex v1.0.5 Bloomex.Bloom View Source

A plain bloom filter.

  • :error_prob - error probability
  • :max - maximum number of elements
  • :mb - 2^mb = m, the size of each slice (bitvector)
  • :size - number of elements
  • :bv - list of bitvectors
  • :hash_func - hash function to use

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Bloomex.Bloom{
  bv: [Bloomex.BitArray.t()],
  error_prob: number(),
  hash_func: Bloomex.hash_func(),
  max: integer(),
  mb: integer(),
  size: integer()
}