|
ADS
Algorithms and Data Structures
|
The table with direct access of chapter 7. More...
Files | |
| file | ADS/dictionary/DirectTable.h |
| The table with direct access of chapter 7: when the keys are the integers in an interval \( [ a , b ] \) of size \( m \), the function \( H( k ) = k - a \) is injective, a perfect hash, and the DICTIONARY [see ADT.h] is a vector of size \( m \), every operation in \( O( 1 ) \) time. | |
Classes | |
| class | ADS::DirectTable< V > |
| the table with direct access of the keys in \( [ a , b ] \), \( H( k ) = k - a \): every operation in \( O( 1 ) \) time, \( b - a + 1 \) places of memory More... | |
The table with direct access of chapter 7.
The definitions, the invariants and the costs of the area are in Theory of dictionaries.