English

Optimal top dag compression

Data Structures and Algorithms 2017-12-19 v1

Abstract

It is shown that for a given ordered node-labelled tree of size nn and with ss many different node labels, one can construct in linear time a top dag of height O(logn)O(\log n) and size O(n/logσn)O(dlogn)O(n / \log_\sigma n) \cap O(d \cdot \log n), where σ=max{2,s}\sigma = \max\{ 2, s\} and dd is the size of the minimal dag. The size bound O(n/logσn)O(n / \log_\sigma n) is optimal and improves on previous bounds.

Keywords

Cite

@article{arxiv.1712.05822,
  title  = {Optimal top dag compression},
  author = {Markus Lohrey and Carl Philipp Reh and Kurt Sieber},
  journal= {arXiv preprint arXiv:1712.05822},
  year   = {2017}
}
R2 v1 2026-06-22T23:19:46.258Z