|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <iostream>#include <string>#include <ctime>#include <cstdlib>#include <aleph.H>#include <tpl_linHash.H>#include <cassert>Go to the source code of this file.
Classes | |
| struct | Entry |
Functions | |
| void | print_stats (LinearHashTableVtl< unsigned long > &table) |
| int | main (int argc, char *argv[]) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 66 of file testLinHash.C.
References AH_ERROR, Aleph::count(), Aleph::divide_and_conquer_partition_dp(), Aleph::Dlink::Iterator::has_curr(), Aleph::GenLinearHashTable< Key, BucketType, Cmp >::insert(), keys, Aleph::GenLinearHashTable< Key, BucketType, Cmp >::print(), print_stats(), Aleph::GenLinearHashTable< Key, BucketType, Cmp >::remove(), Aleph::GenLinearHashTable< Key, BucketType, Cmp >::search(), and Aleph::GenLinearHashTable< Key, BucketType, Cmp >::size().
| void print_stats | ( | LinearHashTableVtl< unsigned long > & | table | ) |
Definition at line 57 of file testLinHash.C.
References Aleph::GenLinearHashTable< Key, BucketType, Cmp >::busy_slots(), Aleph::GenLinearHashTable< Key, BucketType, Cmp >::capacity(), Aleph::divide_and_conquer_partition_dp(), Aleph::GenLinearHashTable< Key, BucketType, Cmp >::expansions(), and Aleph::GenLinearHashTable< Key, BucketType, Cmp >::size().
Referenced by main().