Nearest Common Ancestors: Universal Trees and Improved Labeling Schemes
Abstract
We investigate the nearest common ancestor (NCA) function in rooted trees. As the main conceptual contribution, the paper introduces universal trees for the NCA function: For a given family of rooted trees, an NCA-universal tree is a rooted tree such that any tree of the family can be embedded into such that the embedding of the NCA in of two nodes of is equal to the NCA in of the embeddings of the two nodes. As the main technical result we give explicit constructions of NCA-universal trees of size for the family of rooted -vertex trees and of size for the family of rooted binary -vertex trees. A direct consequence is the explicit construction of NCA-labeling schemes with labels of size and for the two families of rooted trees. This improves on the best known such labeling schemes established by Alstrup, Halvorsen and Larsen [SODA 2014].
Cite
@article{arxiv.1707.08807,
title = {Nearest Common Ancestors: Universal Trees and Improved Labeling Schemes},
author = {Fabian Kuhn and Konstantinos Panagiotou and Pascal Su},
journal= {arXiv preprint arXiv:1707.08807},
year = {2017}
}