Representation of ordered trees with a given degree distribution

Research output: Contribution to journalArticlepeer-review

Abstract

The degree distribution of an ordered tree T with n nodes is n→=(n0,…,nn−1), where ni is the number of nodes in T with i children. Let N(n→) be the number of trees with degree distribution n→. We give a data structure that stores an ordered tree T with n nodes and degree distribution n→ using log⁡N(n→)+O(n/logt⁡n) bits for every constant t. The data structure answers tree queries in constant time. Our data structure has improved space complexity compared to the known data structures for ordered trees with lowest space complexity: The structure of Jansson et al. [14] that uses log⁡N(n→)+O(nlog⁡log⁡n/log⁡n) bits, and the structure of Navarro and Sadakane [18] that uses 2n+O(n/logt⁡n) bits for every constant t.

Original languageEnglish
Pages (from-to)119-130
Number of pages12
JournalJournal of Computer and System Sciences
Volume118
DOIs
StatePublished - 1 Jun 2021

Keywords

  • Ordered trees
  • Succinct data structures

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Computer Networks and Communications
  • Computational Theory and Mathematics
  • Applied Mathematics

Fingerprint

Dive into the research topics of 'Representation of ordered trees with a given degree distribution'. Together they form a unique fingerprint.

Cite this