Affiliation:
1. CNRS and University Paris Diderot, France
Abstract
In this article, we solve the
ancestry
-labeling scheme problem, which aims at assigning the shortest possible labels (bit strings) to nodes of rooted trees, so ancestry queries between any two nodes can be answered by inspecting their assigned labels only. This problem was introduced more than 20 years ago by Kannan et al. [1988] and is among the most well-studied problems in the field of informative labeling schemes. We construct an ancestry-labeling scheme for
n
-node trees with label size log
2
n
+
O
(log log
n
) bits, thus matching the log
2
n
+ Ω(log log
n
) bits lower bound given by Alstrup et al. [2003]. Our scheme is based on a simplified ancestry scheme that operates extremely well on a restricted set of trees. In particular, for the set of
n
-node trees with a depth of at most
d
, the simplified ancestry scheme enjoys label size of log
2
n
+ 2log
2
d
+
O
(1) bits. Since the depth of most XML trees is at most some small constant, such an ancestry scheme may be of practical use. In addition, we also obtain an
adjacency
-labeling scheme that labels
n
-node trees of depth
d
with labels of size log
2
n
+ 3log
2
d
+
O
(1) bits. All our schemes assign the labels in linear time, and guarantee that any query can be answered in constant time.
Finally, our ancestry scheme finds applications to the construction of small
universal
partially ordered sets (posets). Specifically, for any fixed integer
k
, it enables the construction of a universal poset of size
Õ
(
n
k
) for the family of
n
-element posets with a tree dimension of at most
k
. Up to lower-order terms, this bound is tight thanks to a lower bound of
n
k
−
o
(1)
by to Alon and Scheinerman [1988].
Publisher
Association for Computing Machinery (ACM)
Subject
Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Implicit Graph Conjecture is False;2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS);2022-10
2. Shorter Labeling Schemes for Planar Graphs;SIAM Journal on Discrete Mathematics;2022-08-31
3. Decentralized Graph Processing for Reachability Queries;Advanced Data Mining and Applications;2022
4. Optimal Induced Universal Graphs and Adjacency Labeling for Trees;Journal of the ACM;2017-09-07