paper

Representation of ordered trees with a given degree distribution

arXiv:1807.00371

Abstract

The degree distribution of an ordered tree with nodes is , where is the number of nodes in with children. Let be the number of trees with degree distribution . We give a data structure that stores an ordered tree with nodes and degree distribution using bits for every constant . The data structure answers tree queries in constant time. This improves the current data structures with lowest space for ordered trees: The structure of Jansson et al.\ [JCSS 2012] that uses bits, and the structure of Navarro and Sadakane [TALG 2014] that uses bits for every constant .