Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::df_tree_detail Namespace Reference

Classes

struct  Dewey_Level
 A level of the path that number_tree() follows: the length of the Dewey number of the parent, and the position of the node among its siblings. More...
 
class  Df_Low_Builder
 Depth-first traversal that builds the tree of build_df_low_tree(). More...
 
struct  Tree_Deleter
 Deleter that frees a whole tree. More...
 

Functions

void number_tree (Df_Low_Tree_Node *root, const DynList< Df_Low_Non_Tree_Arc > &arcs, DynMapTree< Df_Low_Tree_Node *, std::string > &numbers)
 Give to each node that an arc of arcs names its Dewey number, as generate_tree() writes them.
 

Function Documentation

◆ number_tree()

void Aleph::df_tree_detail::number_tree ( Df_Low_Tree_Node *  root,
const DynList< Df_Low_Non_Tree_Arc > &  arcs,
DynMapTree< Df_Low_Tree_Node *, std::string > &  numbers 
)
inline