|
ADS
Algorithms and Data Structures
|
The prefix filter of Even, Even and Morrison, beyond the book. More...
Files | |
| file | ADS/set/PrefixFilter.h |
| The prefix filter of Even, Even and Morrison, beyond the book: an incremental filter, which takes insertions one at a time and no removals, of a set \( S \) of at most \( n \) keys, \( n \) known at its construction, answering maybe for every key of \( S \) and for a key out of \( S \) with a small probability. | |
Classes | |
| class | ADS::PrefixFilter< T, H > |
| an incremental filter of at most \( n \) keys of type T: bins of 25 fingerprints of 8 bits over 25 quotients, the overflow in a spare More... | |
Macros | |
| #define | ADS_FILTER_INLINE ADS_ALWAYS_INLINE |
| a function inlined even where the compiler would not | |
| #define | ADS_FILTER_NOINLINE ADS_NOINLINE |
| a function never inlined, the rare path out of a query | |
The prefix filter of Even, Even and Morrison, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of sets.
| #define ADS_FILTER_INLINE ADS_ALWAYS_INLINE |
a function inlined even where the compiler would not
| #define ADS_FILTER_NOINLINE ADS_NOINLINE |
a function never inlined, the rare path out of a query