Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
testDynSetTree.C File Reference
#include <ctime>
#include <cerrno>
#include <climits>
#include <gsl/gsl_rng.h>
#include <cassert>
#include <iostream>
#include <ahFunctional.H>
#include <ahSort.H>
#include <tpl_sort_utils.H>
#include <tpl_dynMapTree.H>
Include dependency graph for testDynSetTree.C:

Go to the source code of this file.

Macros

#define NumItems   10000
 

Functions

unsigned long insert_n_random_items_in_set (DynSetTree< unsigned long > &table, DynArray< unsigned long > &keys, unsigned long n)
 
DynSetTree< unsigned long > create_table (const DynSetTree< unsigned long > &other)
 
void test_DynSet (size_t n)
 
unsigned long insert_n_random_items_in_map (DynMapTree< unsigned long, long > &table, DynArray< unsigned long > &keys, unsigned long n)
 
void test_DynMap (size_t n)
 
int main (int argc, char *argv[])
 

Variables

gsl_rng * r = nullptr
 

Macro Definition Documentation

◆ NumItems

#define NumItems   10000

Definition at line 39 of file testDynSetTree.C.

Function Documentation

◆ create_table()

DynSetTree< unsigned long > create_table ( const DynSetTree< unsigned long > &  other)

◆ insert_n_random_items_in_map()

unsigned long insert_n_random_items_in_map ( DynMapTree< unsigned long, long > &  table,
DynArray< unsigned long > &  keys,
unsigned long  n 
)

◆ insert_n_random_items_in_set()

unsigned long insert_n_random_items_in_set ( DynSetTree< unsigned long > &  table,
DynArray< unsigned long > &  keys,
unsigned long  n 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ test_DynMap()

◆ test_DynSet()

Variable Documentation

◆ r

gsl_rng* r = nullptr