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

The treap that stores no priorities (exercise 7.6 of Morin), beyond the book. More...

Files

file  ADS/tree/HashedTreap.h
 The treap that stores no priorities (exercise 7.6 of Morin), beyond the book: the treap of Seidel and Aragon [see Treap.h] whose priority of a node is the simple tabulation hash of its address [see RandomHashing.h], computed when needed, so that a node keeps only its pair and its two links.

Classes

class  ADS::HashedTreap< K, V >
 a DICTIONARY on a treap whose priorities are the hashes of the addresses of the nodes More...

Detailed description

The treap that stores no priorities (exercise 7.6 of Morin), beyond the book.

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