|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Quotient filter in Aleph-w: probabilistic set with deletion support. More...
#include <iostream>#include <iomanip>#include <string>#include <vector>#include <cmath>#include <tclap/CmdLine.h>#include <quotient-filter.H>Go to the source code of this file.
Functions | |
| void | print_section (const string &title) |
| void | print_sub (const string &title) |
| void | demo_basic () |
| void | demo_fp () |
| void | demo_comparison () |
| void | demo_merge () |
| void | demo_cache () |
| int | main (int argc, char *argv[]) |
Quotient filter in Aleph-w: probabilistic set with deletion support.
Demonstrates Quotient_Filter<T>: a cache-friendly probabilistic set that supports insertion, membership testing, and deletion — unlike Bloom filters.
Sections:
Definition in file quotient_filter_example.C.
| void demo_basic | ( | ) |
Definition at line 59 of file quotient_filter_example.C.
References Aleph::divide_and_conquer_partition_dp(), print_section(), print_sub(), tests(), and w.
Referenced by main().
| void demo_cache | ( | ) |
Definition at line 223 of file quotient_filter_example.C.
References Aleph::divide_and_conquer_partition_dp(), Aleph::Quotient_Filter< T >::from_capacity(), and print_section().
Referenced by main().
| void demo_comparison | ( | ) |
Definition at line 155 of file quotient_filter_example.C.
References Aleph::divide_and_conquer_partition_dp(), and print_section().
Referenced by main().
| void demo_fp | ( | ) |
Definition at line 116 of file quotient_filter_example.C.
References Aleph::divide_and_conquer_partition_dp(), and print_section().
Referenced by main().
| void demo_merge | ( | ) |
Definition at line 190 of file quotient_filter_example.C.
References Aleph::Quotient_Filter< T >::contains(), Aleph::divide_and_conquer_partition_dp(), Aleph::Quotient_Filter< T >::insert(), Aleph::Quotient_Filter< T >::merge(), print_section(), seed, and Aleph::Quotient_Filter< T >::size().
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 279 of file quotient_filter_example.C.
References cmd, demo_basic(), demo_cache(), demo_comparison(), demo_fp(), demo_merge(), Aleph::divide_and_conquer_partition_dp(), and section().
| void print_section | ( | const string & | title | ) |
Definition at line 43 of file quotient_filter_example.C.
Referenced by demo_basic(), demo_cache(), demo_comparison(), demo_fp(), and demo_merge().
| void print_sub | ( | const string & | title | ) |
Definition at line 50 of file quotient_filter_example.C.
Referenced by demo_basic().