Optimal Distance Labeling Schemes for Trees
نویسندگان
چکیده
Labeling schemes seek to assign a short label to each node in a network, so that a function on two nodes (such as distance or adjacency) can be computed by examining their labels alone. For the particular case of trees, following a long line of research, optimal bounds (up to low order terms) were recently obtained for adjacency labeling [FOCS ’15], nearest common ancestor labeling [SODA ’14], and ancestry labeling [SICOMP ’06]. In this paper we obtain optimal bounds for distance labeling. We present labels of size 1{4 log n` oplog nq, matching (up to low order terms) the recent 1{4 log n ́Oplog nq lower bound [ICALP ’16]. Prior to our work, all distance labeling schemes for trees could be reinterpreted as universal trees. A tree T is said to be universal if any tree on n nodes can be found as a subtree of T . A universal tree with |T | nodes implies a distance labeling scheme with label size log |T |. In 1981, Chung et al. proved that any distance labeling scheme based on universal trees requires labels of size 1{2 log n ́ log n ̈ log log n`Oplog nq. Our scheme is the first to break this lower bound, showing a separation between distance labeling and universal trees. The Θplog nq barrier for distance labeling in trees has led researchers to consider distances bounded by k. The size of such labels was improved from log n`Opk ? log nq [WADS ’01] to log n ` Opk logpk log nqq [SODA ’03] and finally to log n ` Opk logpk logpn{kqqq [PODC ’07]. We show how to construct labels whose size is the minimum between log n ` Opk logpplog nq{kqq and Oplog n ̈ logpk{ log nqq. We complement this with almost tight lower bounds of log n ` Ωpk logplog n{pk log kqqq and Ωplog n ̈ logpk{ log nqq. Finally, we consider p1` εq-approximate distances. We show that the recent labeling scheme of [ICALP ’16] can be easily modified to obtain an Oplogp1{εq ̈ log nq upper bound and we prove a matching Ωplogp1{εq ̈ log nq lower bound. ̊The research was supported in part by Israel Science Foundation grant 794/13.
منابع مشابه
Approximate Distance Labeling Schemes
We consider the problem of labeling the nodes of an n-node graph G with short labels in such a way that the distance between any two nodes u, v of G can be approximated efficiently (in constant time) by merely inspecting the labels of u and v, without using any other information. We develop such constant approximate distance labeling schemes for the classes of trees, bounded treewidth graphs, p...
متن کاملInformative Labeling Schemes for the Least Common Ancestor Problem
We address the problem of labeling the nodes of a tree such that one can determine the identifier of the least common ancestor of any two nodes by looking only at their labels. This problem has application in routing and in distributed computing in peer-to-peer networks. A labeling scheme using Θ(log n)-bit labels has been presented by Peleg. By engineering this scheme and a new one due to the ...
متن کاملLabeling Schemes for Bounded Degree Graphs
We investigate adjacency labeling schemes for graphs of bounded degree ∆ = O(1). In particular, we present an optimal (up to an additive constant) log n+ O(1) adjacency labeling scheme for bounded degree trees. The latter scheme is derived from a labeling scheme for bounded degree outerplanar graphs. Our results complement a similar bound recently obtained for bounded depth trees [Fraigniaud an...
متن کاملDistance Labeling Schemes for Trees
We consider distance labeling schemes for trees: given a tree with n nodes, label the nodes with binary strings such that, given the labels of any two nodes, one can determine, by looking only at the labels, the distance in the tree between the two nodes. A lower bound by Gavoille et al. [Gavoille et al., J. Alg., 2004] and an upper bound by Peleg [Peleg, J. Graph Theory, 2000] establish that l...
متن کاملLabeling Schemes for Weighted Dynamic Trees
A Distance labeling scheme is a type of localized network representation in which short labels are assigned to the vertices, allowing one to infer the distance between any two vertices directly from their labels, without using any additional information sources. As most applications for network representations in general, and distance labeling schemes in particular, concern large and dynamicall...
متن کامل