libBf 0.1
|
The spectral Bloom filter with minimum increase optimization. More...
#include <bloom_filter_spectral.h>
Public Types | |
typedef base::core_type | core_type |
Public Member Functions | |
spectral_mi (core_type &&core) | |
Create a spectral Bloom filter. | |
template<typename T > | |
void | add (const T &x) |
Add an item to the set. | |
template<typename T > | |
void | remove (const T &x) |
Remove an item from the set. | |
Private Types | |
typedef basic< Core > | base |
The spectral Bloom filter with minimum increase optimization.
Definition at line 12 of file bloom_filter_spectral.h.
bf::spectral_mi< Core >::spectral_mi | ( | core_type && | core | ) | [inline] |
Create a spectral Bloom filter.
core | An rvalue reference to a core object. |
Definition at line 20 of file bloom_filter_spectral.h.
void bf::spectral_mi< Core >::add | ( | const T & | x | ) | [inline] |
Add an item to the set.
T | The type of the item to insert. |
x | An instance of type T. |
Reimplemented from bf::basic< Core >.
Definition at line 26 of file bloom_filter_spectral.h.
void bf::spectral_mi< Core >::remove | ( | const T & | x | ) |
Remove an item from the set.
T | The type of the item to delete. |
x | An instance of type T. |
Reimplemented from bf::basic< Core >.