|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <ctime>#include <cstdlib>#include <cassert>#include <cstdio>#include <random>#include <iostream>#include <string>#include <tpl_dnode.H>Go to the source code of this file.
Typedefs | |
| typedef Dnode< int > | Test |
Functions | |
| void | print_list (Test *link) |
| void | create_random_list (Test *link, int n, unsigned int seed) |
| int | main (int argc, char *argv[]) |
Definition at line 37 of file testDnode.C.
| void create_random_list | ( | Test * | link, |
| int | n, | ||
| unsigned int | seed | ||
| ) |
Definition at line 53 of file testDnode.C.
References Aleph::divide_and_conquer_partition_dp(), rng, and seed.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 65 of file testDnode.C.
References Aleph::and, create_random_list(), Aleph::divide_and_conquer_partition_dp(), Aleph::Dnode< T >::get_data(), Aleph::Dlink::Iterator::has_curr(), and print_list().
| void print_list | ( | Test * | link | ) |
Definition at line 41 of file testDnode.C.
References Aleph::divide_and_conquer_partition_dp(), and Aleph::Dlink::Iterator::has_curr().
Referenced by main().