Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
HashDistributionTest Class Reference
Inheritance diagram for HashDistributionTest:
[legend]
Collaboration diagram for HashDistributionTest:
[legend]

Protected Member Functions

void SetUp () override
 
double measureHashUniqueness (const std::vector< size_t > &hashes)
 

Protected Attributes

std::vector< std::string > keys
 

Static Protected Attributes

static constexpr size_t NUM_KEYS = 10000
 

Detailed Description

Definition at line 553 of file hash_fct_test.cc.

Member Function Documentation

◆ measureHashUniqueness()

double HashDistributionTest::measureHashUniqueness ( const std::vector< size_t > &  hashes)
inlineprotected

Definition at line 578 of file hash_fct_test.cc.

References Aleph::maps(), and Aleph::HTList::size().

◆ SetUp()

void HashDistributionTest::SetUp ( )
inlineoverrideprotected

Definition at line 559 of file hash_fct_test.cc.

References Aleph::maps().

Member Data Documentation

◆ keys

std::vector<std::string> HashDistributionTest::keys
protected

Definition at line 557 of file hash_fct_test.cc.

◆ NUM_KEYS

constexpr size_t HashDistributionTest::NUM_KEYS = 10000
staticconstexprprotected

Definition at line 556 of file hash_fct_test.cc.


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