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

The binary tries of the integers of \( w \) bits, beyond the book. More...

Files

file  ADS/dictionary/BinaryTrie.h
 The binary tries of the integers of \( w \) bits, beyond the book: a SORTED SET of keys \( x \in \{ 0 , \ldots , 2^w - 1 \} \), each with a value, in which lowerBound( x ) gives the smallest key \( \ge x \) (the successor, the find( x ) of the SSet of Morin's book), in time that depends on \( w \) and not on the number \( n \) of keys.

Concepts

concept  ADS::TrieWidth
 the number of bits of the keys of a trie on U: \( w \), if it is between 1 and the bits of U

Classes

class  ADS::BinaryTrie< U, V, W >
 a binary trie of the integers of \( w \) bits with the list of the leaves and the jump pointers, a SORTED SET with a value per key More...
class  ADS::SimpleBinaryTrie< U, V, W >
 a binary trie of the integers of \( w \) bits with no list and no jump pointers (exercise 13.1 of Morin's book) More...

Detailed description

The binary tries of the integers of \( w \) bits, beyond the book.

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