|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <ctime>#include <cstdlib>#include <cassert>#include <gsl/gsl_rng.h>#include <cstring>#include <iostream>#include <ah-errors.H>#include <tpl_binNode.H>#include <tpl_binNodeUtils.H>Go to the source code of this file.
Functions | |
| void | init_random (int seed) |
| size_t | get_rand (const size_t &n) |
| template<class Node > | |
| Node * | random_tree (const size_t &n) |
| template<class Node > | |
| string | luka (Node *p) |
| template<class Node > | |
| Node * | luka_to_tree (char *&cod) |
| int | main (int argc, char *argv[]) |
Variables | |
| gsl_rng * | r = NULL |
| size_t get_rand | ( | const size_t & | n | ) |
Definition at line 53 of file testLuka.C.
References Aleph::divide_and_conquer_partition_dp(), and r.
Referenced by random_tree().
| void init_random | ( | int | seed | ) |
Definition at line 42 of file testLuka.C.
References ah_bad_alloc, Aleph::divide_and_conquer_partition_dp(), r, and seed.
Referenced by main().
Definition at line 87 of file testLuka.C.
References Aleph::divide_and_conquer_partition_dp(), LLINK, and RLINK.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 103 of file testLuka.C.
References Aleph::areSimilar(), Aleph::destroyRec(), Aleph::divide_and_conquer_partition_dp(), init_random(), luka(), and r.
Definition at line 60 of file testLuka.C.
References Aleph::divide_and_conquer_partition_dp(), get_rand(), LLINK, RLINK, and root().
| gsl_rng* r = NULL |
Definition at line 39 of file testLuka.C.
Referenced by get_rand(), init_random(), and main().