|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Tree balancing with extended nodes. More...
Go to the source code of this file.
Namespaces | |
| namespace | Aleph |
| Main namespace for Aleph-w library functions. | |
Functions | |
| template<class Node > | |
| Node * | Aleph::select_gotoup_root (Node *root, const size_t &i) |
| Select a node of a binary tree by its inorder position and make it the root. | |
| template<class Node > | |
| Node * | Aleph::balance_tree (Node *root) |
| Rebalance a binary search tree. | |
Tree balancing with extended nodes.
Utilities for balancing trees with subtree counts.
Definition in file tpl_balanceXt.H.