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

A static sequence \( B \) of balanced parentheses, 1 for an open one and 0 for a closed one, with the matching of Munro and Raman by the range min-max tree of Navarro and Sadakane. More...

Files

file  ADS/succinct/BalancedParentheses.h
 A static sequence \( B \) of balanced parentheses, 1 for an open one and 0 for a closed one, with the matching of Munro and Raman by the range min-max tree of Navarro and Sadakane: the base of the trees by parentheses [see BPTree.h], which chapter 15, Compressed Data Structures, of Ferragina's book counts among the codes of \( 2 n \) bits of a tree, and which, unlike the codes by levels, also give the size of a subtree and the depth of a node.

Classes

class  ADS::BalancedParentheses
 a static sequence of balanced parentheses with a range min-max tree More...

Detailed description

A static sequence \( B \) of balanced parentheses, 1 for an open one and 0 for a closed one, with the matching of Munro and Raman by the range min-max tree of Navarro and Sadakane.

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