libBf 0.1
Public Types | Public Member Functions | Private Types

bf::spectral_mi< Core > Class Template Reference

The spectral Bloom filter with minimum increase optimization. More...

#include <bloom_filter_spectral.h>

Inheritance diagram for bf::spectral_mi< Core >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<typename Core = core<>>
class bf::spectral_mi< Core >

The spectral Bloom filter with minimum increase optimization.

Definition at line 12 of file bloom_filter_spectral.h.


Constructor & Destructor Documentation

template<typename Core = core<>>
bf::spectral_mi< Core >::spectral_mi ( core_type &&  core) [inline]

Create a spectral Bloom filter.

Parameters:
coreAn rvalue reference to a core object.

Definition at line 20 of file bloom_filter_spectral.h.


Member Function Documentation

template<typename Core = core<>>
template<typename T >
void bf::spectral_mi< Core >::add ( const T &  x) [inline]

Add an item to the set.

Template Parameters:
TThe type of the item to insert.
Parameters:
xAn instance of type T.

Reimplemented from bf::basic< Core >.

Definition at line 26 of file bloom_filter_spectral.h.

template<typename Core = core<>>
template<typename T >
void bf::spectral_mi< Core >::remove ( const T &  x)

Remove an item from the set.

Template Parameters:
TThe type of the item to delete.
Parameters:
xAn instance of type T.

Reimplemented from bf::basic< Core >.


The documentation for this class was generated from the following file:
 All Classes Functions Variables