|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Statistics about chain length distribution. More...
#include <hashDry.H>
Public Attributes | |
| float | avg |
| Average chain length. | |
| float | var |
| Variance of chain lengths. | |
| DynArray< size_t > | lens |
| Distribution: lens[i] = number of chains with length i. | |
Statistics about chain length distribution.
Contains metrics about how entries are distributed across chains (buckets), useful for analyzing hash function quality.
| float HashStats< HashTbl >::Stats::avg |
Average chain length.
Definition at line 1412 of file hashDry.H.
Referenced by HashStats< HashTbl >::print_stats(), and HashStats< HashTbl >::stats().
Distribution: lens[i] = number of chains with length i.
Definition at line 1414 of file hashDry.H.
Referenced by HashStats< HashTbl >::print_stats(), and HashStats< HashTbl >::stats().
| float HashStats< HashTbl >::Stats::var |
Variance of chain lengths.
Definition at line 1413 of file hashDry.H.
Referenced by HashStats< HashTbl >::print_stats(), and HashStats< HashTbl >::stats().