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

Arrays of small unsigned integers packed in words, beyond the book. More...

Files

file  ADS/succinct/PackedArray.h
 Arrays of small unsigned integers packed in words, beyond the book:

Classes

class  ADS::PackedArray< B, Saturate >
 \( n \) unsigned fields of \( B \) bits, \( 64 / B \) to a word, the values above \( 2^B - 1 \) clamped to it if Saturate More...
class  ADS::TritArray
 \( n \) values in \( \{ 0 , 1 , 2 \} \), five to a byte in base 3 More...

Detailed description

Arrays of small unsigned integers packed in words, beyond the book.

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