psync::BloomParameters Class Reference

#include <bloom-filter.hpp>

+ Collaboration diagram for psync::BloomParameters:

Public Member Functions

 BloomParameters ()
 
bool compute_optimal_parameters ()
 
bool operator! () const
 

Public Attributes

double false_positive_probability
 
unsigned int maximum_number_of_hashes
 
unsigned int maximum_size
 
unsigned int minimum_number_of_hashes
 
unsigned int minimum_size
 
optimal_parameters_t optimal_parameters
 
unsigned int projected_element_count
 
unsigned long long int random_seed
 

Detailed Description

Definition at line 69 of file bloom-filter.hpp.

Constructor & Destructor Documentation

◆ BloomParameters()

psync::BloomParameters::BloomParameters ( )

Definition at line 76 of file bloom-filter.cpp.

Member Function Documentation

◆ compute_optimal_parameters()

bool psync::BloomParameters::compute_optimal_parameters ( )

Definition at line 87 of file bloom-filter.cpp.

◆ operator!()

bool psync::BloomParameters::operator! ( ) const
inline

Definition at line 77 of file bloom-filter.hpp.

Member Data Documentation

◆ false_positive_probability

double psync::BloomParameters::false_positive_probability

Definition at line 95 of file bloom-filter.hpp.

◆ maximum_number_of_hashes

unsigned int psync::BloomParameters::maximum_number_of_hashes

Definition at line 93 of file bloom-filter.hpp.

◆ maximum_size

unsigned int psync::BloomParameters::maximum_size

Definition at line 91 of file bloom-filter.hpp.

◆ minimum_number_of_hashes

unsigned int psync::BloomParameters::minimum_number_of_hashes

Definition at line 92 of file bloom-filter.hpp.

◆ minimum_size

unsigned int psync::BloomParameters::minimum_size

Definition at line 90 of file bloom-filter.hpp.

◆ optimal_parameters

optimal_parameters_t psync::BloomParameters::optimal_parameters

Definition at line 97 of file bloom-filter.hpp.

◆ projected_element_count

unsigned int psync::BloomParameters::projected_element_count

Definition at line 94 of file bloom-filter.hpp.

◆ random_seed

unsigned long long int psync::BloomParameters::random_seed

Definition at line 96 of file bloom-filter.hpp.