Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
generate_tree.H File Reference

Tree visualization and output generation. More...

#include <fstream>
#include <tpl_tree_node.H>
#include <tpl_binNodeUtils.H>
#include <ah-errors.H>
Include dependency graph for generate_tree.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Aleph::Dft_Write< Node >
 

Namespaces

namespace  Aleph
 Main namespace for Aleph-w library functions.
 

Functions

template<typename Node , class Write >
static void Aleph::__generate_tree (Node *node, int deway[], const size_t &current_level, const size_t &size, std::ostream &output)
 
template<typename Node , class Write = Dft_Write<Node>>
void Aleph::generate_tree (Node *root, std::ostream &out, const int &tree_number=0)
 Generate a tree specification for the ntreepic drawing tool.
 
template<typename Node , class Write = Dft_Write<Node>>
void Aleph::generate_forest (Node *root, std::ostream &out)
 Generate a forest specification for the ntreepic drawing tool.
 
template<typename Node , class Write >
void Aleph::generate_btree (Node *root, std::ostream &out)
 Generate a binary tree specification for the btreepic drawing tool.
 

Variables

constexpr size_t Aleph::Max_Tree_Node_Depth = 1024
 

Detailed Description

Tree visualization and output generation.

Provides functions for generating visual representations of tree structures including DOT format for Graphviz.

Author
Leandro Rabindranath León

Definition in file generate_tree.H.