BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
fc::bloom_parameters Class Reference

#include <bloom_filter.hpp>

Classes

struct  optimal_parameters_t
 

Public Member Functions

 bloom_parameters ()
 
 bloom_parameters (unsigned long long int projected_element_count, double false_positive_probability, unsigned long long int maximum_size)
 
virtual ~bloom_parameters ()
 
bool operator! ()
 
virtual bool compute_optimal_parameters ()
 

Public Attributes

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

Detailed Description

Definition at line 46 of file bloom_filter.hpp.

Constructor & Destructor Documentation

◆ bloom_parameters() [1/2]

fc::bloom_parameters::bloom_parameters ( )
inline

Definition at line 50 of file bloom_filter.hpp.

◆ bloom_parameters() [2/2]

fc::bloom_parameters::bloom_parameters ( unsigned long long int  projected_element_count,
double  false_positive_probability,
unsigned long long int  maximum_size 
)
inline

Definition at line 60 of file bloom_filter.hpp.

◆ ~bloom_parameters()

virtual fc::bloom_parameters::~bloom_parameters ( )
inlinevirtual

Definition at line 74 of file bloom_filter.hpp.

Member Function Documentation

◆ compute_optimal_parameters()

virtual bool fc::bloom_parameters::compute_optimal_parameters ( )
inlinevirtual

Definition at line 123 of file bloom_filter.hpp.

◆ operator!()

bool fc::bloom_parameters::operator! ( )
inline

Definition at line 77 of file bloom_filter.hpp.

Member Data Documentation

◆ false_positive_probability

double fc::bloom_parameters::false_positive_probability

Definition at line 106 of file bloom_filter.hpp.

◆ maximum_number_of_hashes

unsigned int fc::bloom_parameters::maximum_number_of_hashes

Definition at line 96 of file bloom_filter.hpp.

◆ maximum_size

unsigned long long int fc::bloom_parameters::maximum_size

Definition at line 92 of file bloom_filter.hpp.

◆ minimum_number_of_hashes

unsigned int fc::bloom_parameters::minimum_number_of_hashes

Definition at line 95 of file bloom_filter.hpp.

◆ minimum_size

unsigned long long int fc::bloom_parameters::minimum_size

Definition at line 91 of file bloom_filter.hpp.

◆ optimal_parameters

optimal_parameters_t fc::bloom_parameters::optimal_parameters

Definition at line 121 of file bloom_filter.hpp.

◆ projected_element_count

unsigned long long int fc::bloom_parameters::projected_element_count

Definition at line 101 of file bloom_filter.hpp.

◆ random_seed

unsigned long long int fc::bloom_parameters::random_seed

Definition at line 108 of file bloom_filter.hpp.


The documentation for this class was generated from the following file: