- Param
name: name of BF, to save bitarray
length: length of bitarray
number: number of hash functions
save_frequency: frequency to save bitarray
- Attention
a file with name param(name) will be created at homework space.
- Functions
is_contain: to judge whether a key is in BF, return true/false
insert: insert a key into BF