ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
CursorBinaryTree.h

A binary tree with cursors, beyond the book. More...

Files

file  ADS/tree/CursorBinaryTree.h
 A binary tree with cursors, beyond the book: the nodes in a vector, each with its value and the places of its parent and of its two children, NIL if missing, so that the links are indices instead of pointers and the tree can be copied, saved or moved as a whole.

Classes

class  ADS::CursorBinaryTree< T >
 a binary tree on a vector of nodes linked by their places More...

Detailed description

A binary tree with cursors, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of trees.