|
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 76 of file test_bin_to_tree.C.
References Aleph::areEquivalents(), Aleph::bin_to_forest(), Aleph::blossom_maximum_cardinality_matching(), Aleph::destroy_forest(), Aleph::destroyRec(), engine, Aleph::forest_preorder_traversal(), Aleph::forest_to_bin(), Aleph::inOrderRec(), Aleph::preOrderRec(), printNode(), and random_tree().
Definition at line 70 of file test_bin_to_tree.C.
Referenced by main().
| int random | ( | int | l, |
| int | r | ||
| ) |
Definition at line 47 of file test_bin_to_tree.C.
References Aleph::blossom_maximum_cardinality_matching(), engine, l, and r.
Referenced by random_tree().
| BinNode< int > * random_tree | ( | int | l, |
| int | r | ||
| ) |
Definition at line 55 of file test_bin_to_tree.C.
References Aleph::blossom_maximum_cardinality_matching(), KEY, l, LLINK, r, random(), random_tree(), RLINK, and root().
Referenced by main(), and random_tree().
|
static |
Definition at line 45 of file test_bin_to_tree.C.
Referenced by aleph_ca_copy_frame_v1(), aleph_ca_destroy_engine_v1(), aleph_ca_extents_v1(), aleph_ca_get_cell_v1(), aleph_ca_run_v1(), aleph_ca_set_cell_v1(), aleph_ca_step_v1(), aleph_ca_steps_run_v1(), Aleph::CA::apply_delta_checkpoint(), Aleph::CA::attach_observer(), Aleph::CA::attach_observer_graph(), Aleph::CA::ca_checkpoint_detail::capture_header(), LLVMFuzzerTestOneInput(), Aleph::CA::load_checkpoint_into(), main(), main(), main(), random(), Aleph::CA::ca_checkpoint_detail::restore_frame_from_bytes(), Aleph::CA::Reproductions::run_gray_scott(), Aleph::adversarial_search_detail::run_iterative_deepening(), run_strategy(), Aleph::CA::ca_checkpoint_detail::snapshot_frame_bytes(), 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(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().