Representation of ordered trees with a given degree distribution

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 N(n)+O(n/t n) bits for every constant t. 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 (n)+O(n n/ n) bits, and the structure of Navarro and Sadakane [TALG 2014] that uses 2n+O(n/t n) bits for every constant t.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…