ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
CuckooFilter.h

The cuckoo filter of Fan, Andersen, Kaminsky and Mitzenmacher, beyond the book. More...

Files

file  ADS/set/CuckooFilter.h
 The cuckoo filter of Fan, Andersen, Kaminsky and Mitzenmacher, beyond the book: a dynamic filter, which takes insertions and removals one at a time, of a set \( S \) of keys, answering maybe for every key of \( S \) and for a key out of \( S \) with a small probability.

Classes

class  ADS::CuckooFilter< T, F, H >
 a dynamic filter of the keys of type T with fingerprints of type F (8 or 16 bits), 2 buckets of 4 places per key More...

Macros

#define ADS_FILTER_INLINE   ADS_ALWAYS_INLINE
 a function inlined even where the compiler would not

Detailed description

The cuckoo filter of Fan, Andersen, Kaminsky and Mitzenmacher, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of sets.

Macro definition documentation

◆ ADS_FILTER_INLINE

#define ADS_FILTER_INLINE   ADS_ALWAYS_INLINE

a function inlined even where the compiler would not