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

The ordered tree of any degree in \( 2 n + 1 \) bits by LOUDS, the level-order unary degree sequence of Jacobson (chapter 15, Compressed Data Structures, of Ferragina's book). More...

Files

file  ADS/succinct/LoudsTree.h
 The ordered tree of any degree in \( 2 n + 1 \) bits by LOUDS, the level-order unary degree sequence of Jacobson (chapter 15, Compressed Data Structures, of Ferragina's book): a dummy root of degree 1 is put above the root, the nodes are visited by levels, and the degree \( d \) of each one is written in unary as \( 0^d 1 \), so that the code \( B \) has \( n \) 0s, one per node (each one is the child of somebody), and \( n + 1 \) 1s, one per node and the dummy root, i.e., \( 2 n + 1 \) bits.

Classes

class  ADS::LoudsTree
 an ordered tree in \( 2 n + 1 \) bits by LOUDS, its nodes by levels More...

Detailed description

The ordered tree of any degree in \( 2 n + 1 \) bits by LOUDS, the level-order unary degree sequence of Jacobson (chapter 15, Compressed Data Structures, of Ferragina's book).

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