Skip to main navigation Skip to search Skip to main content

Tree compression with top trees

Philip Bille, Inge Li Gørtz, Gad M. Landau, Oren Weimann

Research output: Contribution to journalArticlepeer-review

Abstract

We introduce a new compression scheme for labeled trees based on top trees. Our compression scheme is the first to simultaneously take advantage of internal repeats in the tree (as opposed to the classical DAG compression that only exploits rooted subtree repeats) while also supporting fast navigational queries directly on the compressed representation. We show that the new compression scheme achieves close to optimal worst-case compression, can compress exponentially better than DAG compression, is never much worse than DAG compression, and supports navigational queries in logarithmic time.

Original languageAmerican English
Pages (from-to)166-177
Number of pages12
JournalInformation and Computation
Volume243
DOIs
StatePublished - 1 Aug 2015

Keywords

  • Pattern matching
  • Top trees
  • Tree compression

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Information Systems
  • Computer Science Applications
  • Computational Theory and Mathematics

Fingerprint

Dive into the research topics of 'Tree compression with top trees'. Together they form a unique fingerprint.

Cite this