vix.ing · top · new · best · stats · spec

Traversing Grammar-Compressed Trees with Constant Delay

2015/11/06 by Lohrey, Markus, Maneth, Sebastian, Reh, Carl Philipp
#Data Structures and Algorithms (cs.DS) #FOS: Computer and information sciences

paper · doi:10.48550/arxiv.1511.02141

Abstract

A grammar-compressed ranked tree is represented with a linear space overhead so that a single traversal step, i.e., the move to the parent or the i-th child, can be carried out in constant time. Moreover, we extend our data structure such that equality of subtrees can be checked in constant time.

Related