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

The binary tree of Jacobson in \( 2 n + 1 \) bits (chapter 15, Compressed Data Structures, of Ferragina's book). More...

Files

file  ADS/succinct/JacobsonTree.h
 The binary tree of Jacobson in \( 2 n + 1 \) bits (chapter 15, Compressed Data Structures, of Ferragina's book): the tree of \( n \) nodes is completed with a leaf in place of each missing child, its \( 2 n + 1 \) nodes are visited by levels, and the code \( B \) gets a 1 for a node of the tree and a 0 for a leaf added.

Classes

class  ADS::JacobsonTree
 a binary tree in \( 2 n + 1 \) bits, its nodes by levels More...

Detailed description

The binary tree of Jacobson in \( 2 n + 1 \) bits (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.