BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface 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

fc::bloom_parameters::bloom_parameters ( )
inline

Definition at line 50 of file bloom_filter.hpp.

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.

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

Definition at line 74 of file bloom_filter.hpp.

Member Function Documentation

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

Definition at line 123 of file bloom_filter.hpp.

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

Definition at line 77 of file bloom_filter.hpp.

Member Data Documentation

double fc::bloom_parameters::false_positive_probability

Definition at line 106 of file bloom_filter.hpp.

unsigned int fc::bloom_parameters::maximum_number_of_hashes

Definition at line 96 of file bloom_filter.hpp.

unsigned long long int fc::bloom_parameters::maximum_size

Definition at line 92 of file bloom_filter.hpp.

unsigned int fc::bloom_parameters::minimum_number_of_hashes

Definition at line 95 of file bloom_filter.hpp.

unsigned long long int fc::bloom_parameters::minimum_size

Definition at line 91 of file bloom_filter.hpp.

optimal_parameters_t fc::bloom_parameters::optimal_parameters

Definition at line 121 of file bloom_filter.hpp.

unsigned long long int fc::bloom_parameters::projected_element_count

Definition at line 101 of file bloom_filter.hpp.

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: