|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <tpl_dynLhash.H>#include <tpl_dynArray.H>#include <iostream>#include <string>#include <ctime>#include <cstdlib>#include <cassert>Go to the source code of this file.
Macros | |
| #define | NumItems 10000 |
Typedefs | |
| typedef DynLhashTable< unsigned, unsigned > | HTable |
Functions | |
| static size_t | hashFct (const unsigned &key) |
| static void | testResize (HTable &table) |
| static void | printPars (const HTable &table) |
| int | main (int argc, char *argv[]) |
| #define NumItems 10000 |
Definition at line 35 of file testDynHash.C.
| typedef DynLhashTable<unsigned, unsigned> HTable |
Definition at line 40 of file testDynHash.C.
|
static |
Definition at line 42 of file testDynHash.C.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 65 of file testDynHash.C.
References Primes::check_primes_database(), Aleph::divide_and_conquer_partition_dp(), hashFct(), Aleph::DynLhashTable< Key, Record, Cmp >::insert(), keys, NumItems, printPars(), Aleph::DynLhashTable< Key, Record, Cmp >::remove(), Aleph::DynLhashTable< Key, Record, Cmp >::search(), Aleph::GenLhashTable< Key, BucketType, Cmp >::size(), and testResize().
|
static |
Definition at line 58 of file testDynHash.C.
References Aleph::GenLhashTable< Key, BucketType, Cmp >::capacity(), Aleph::divide_and_conquer_partition_dp(), Aleph::GenLhashTable< Key, BucketType, Cmp >::get_num_busy_slots(), and Aleph::GenLhashTable< Key, BucketType, Cmp >::size().
Referenced by main().
|
static |
Definition at line 47 of file testDynHash.C.
References Aleph::and, Aleph::GenLhashTable< Key, BucketType, Cmp >::capacity(), Aleph::divide_and_conquer_partition_dp(), Aleph::GenLhashTable< Key, BucketType, Cmp >::get_num_busy_slots(), Aleph::GenLhashTable< Key, BucketType, Cmp >::resize(), and Aleph::GenLhashTable< Key, BucketType, Cmp >::size().
Referenced by main().