English

Traversing Grammar-Compressed Trees with Constant Delay

Data Structures and Algorithms 2015-11-11 v2

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.

Keywords

Cite

@article{arxiv.1511.02141,
  title  = {Traversing Grammar-Compressed Trees with Constant Delay},
  author = {Markus Lohrey and Sebastian Maneth and Carl Philipp Reh},
  journal= {arXiv preprint arXiv:1511.02141},
  year   = {2015}
}
R2 v1 2026-06-22T11:39:09.506Z