|
ADS
Algorithms and Data Structures
|
A binary tree in a positional vector, beyond the book. More...
Files | |
| file | ADS/tree/ArrayBinaryTree.h |
| A binary tree in a positional vector, beyond the book: the root in the place 0, the children of the place \( i \) in \( 2 i + 1 \) and \( 2 i + 2 \), its parent in \( \lfloor ( i - 1 ) / 2 \rfloor \) [see dary_child()], an empty place where no node is. | |
Classes | |
| class | ADS::ArrayBinaryTree< T > |
| a binary tree in a positional vector More... | |
A binary tree in a positional vector, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of trees.