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

An ordered tree in a vector in preorder, beyond the book. More...

Files

file  ADS/tree/PreorderArrayTree.h
 An ordered tree in a vector in preorder, beyond the book: the place \( i \) holds the value of the \( i \)-th node of the previsit and the place of its parent, NIL for the root in the place 0.

Classes

class  ADS::PreorderArrayTree< T >
 an ordered tree in a vector of ( parent , value ) in preorder More...

Detailed description

An ordered tree in a vector in preorder, beyond the book.

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