Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
testBinTree.C File Reference
#include <ctime>
#include <cstdlib>
#include <cassert>
#include <iostream>
#include <vector>
#include <algorithm>
#include <random>
#include <memory>
#include <aleph.H>
#include <tpl_binTree.H>
#include <tpl_tree_node.H>
#include <generate_tree.H>
#include <gsl/gsl_rng.h>
Include dependency graph for testBinTree.C:

Go to the source code of this file.

Classes

struct  GslRngDeleter
 
struct  Write
 

Typedefs

using GslRngHandle = std::unique_ptr< gsl_rng, GslRngDeleter >
 

Functions

static void printNode (BinTree< int >::Node *node, int, int)
 
void print_forest_par (Tree_Node< int > *p)
 
void print_forest_deway (Tree_Node< int > *p, const string &idx)
 
int main (int argc, char *argv[])
 

Typedef Documentation

◆ GslRngHandle

using GslRngHandle = std::unique_ptr<gsl_rng, GslRngDeleter>

Definition at line 51 of file testBinTree.C.

Function Documentation

◆ main()

◆ print_forest_deway()

void print_forest_deway ( Tree_Node< int > *  p,
const string &  idx 
)

◆ print_forest_par()

void print_forest_par ( Tree_Node< int > *  p)

◆ printNode()

static void printNode ( BinTree< int >::Node node,
int  ,
int   
)
static

Definition at line 53 of file testBinTree.C.

Referenced by main().