|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <cstdlib>#include <ctime>#include <iostream>#include <random>#include <memory>#include <tpl_binNodeUtils.H>#include <tpl_tree_node.H>#include <cassert>Go to the source code of this file.
Functions | |
| int | random (int l, int r) |
| BinNode< int > * | random_tree (int l, int r) |
| template<class Node > | |
| static void | printNode (Node *node, int, int) |
| int | main (int argc, char *argv[]) |
Variables | |
| static mt19937 | engine |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 71 of file test_bin_to_tree.C.
References Aleph::areEquivalents(), Aleph::bin_to_forest(), Aleph::destroy_forest(), Aleph::destroyRec(), Aleph::divide_and_conquer_partition_dp(), engine, Aleph::forest_preorder_traversal(), Aleph::forest_to_bin(), Aleph::inOrderRec(), Aleph::preOrderRec(), printNode(), and random_tree().
Definition at line 65 of file test_bin_to_tree.C.
Referenced by main().
| int random | ( | int | l, |
| int | r | ||
| ) |
Definition at line 42 of file test_bin_to_tree.C.
References Aleph::divide_and_conquer_partition_dp(), engine, l, and r.
Referenced by random_tree().
| BinNode< int > * random_tree | ( | int | l, |
| int | r | ||
| ) |
Definition at line 50 of file test_bin_to_tree.C.
References Aleph::divide_and_conquer_partition_dp(), KEY, l, LLINK, r, random(), random_tree(), RLINK, and root().
Referenced by main(), and random_tree().
|
static |
Definition at line 40 of file test_bin_to_tree.C.
Referenced by main(), main(), random(), Aleph::adversarial_search_detail::run_iterative_deepening(), run_strategy(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().