English

Shorter Labels for Routing in Trees

Data Structures and Algorithms 2020-03-17 v1

Abstract

A routing labeling scheme assigns a binary string, called a label, to each node in a network, and chooses a distinct port number from {1,,d}\{1,\ldots,d\} for every edge outgoing from a node of degree dd. Then, given the labels of uu and ww and no other information about the network, it should be possible to determine the port number corresponding to the first edge on the shortest path from uu to ww. In their seminal paper, Thorup and Zwick [SPAA 2001] designed several routing methods for general weighted networks. An important technical ingredient in their paper that according to the authors ``may be of independent practical and theoretical interest'' is a routing labeling scheme for trees of arbitrary degrees. For a tree on nn nodes, their scheme constructs labels consisting of (1+o(1))logn(1+o(1))\log n bits such that the sought port number can be computed in constant time. Looking closer at their construction, the labels consist of logn+O(lognlogloglogn/loglogn)\log n + O(\log n\cdot \log\log\log n / \log\log n) bits. Given that the only known lower bound is logn+Ω(loglogn)\log n+\Omega(\log\log n), a natural question that has been asked for other labeling problems in trees is to determine the asymptotics of the smaller-order term. We make the first (and significant) progress in 19 years on determining the correct second-order term for the length of a label in a routing labeling scheme for trees on nn nodes. We design such a scheme with labels of length logn+O((loglogn)2)\log n+O((\log\log n)^{2}). Furthermore, we modify the scheme to allow for computing the port number in constant time at the expense of slightly increasing the length to logn+O((loglogn)3)\log n+O((\log\log n)^{3}).

Keywords

Cite

@article{arxiv.2003.06691,
  title  = {Shorter Labels for Routing in Trees},
  author = {Paweł Gawrychowski and Wojciech Janczewski and Jakub Łopuszański},
  journal= {arXiv preprint arXiv:2003.06691},
  year   = {2020}
}

Comments

33 pages, 4 figures

R2 v1 2026-06-23T14:14:54.437Z