A distance labeling scheme labels the nodes of a graph with binary strings such that, given the labels of any two nodes, one can determine the distance in the graph between the two nodes by looking only at the labels. A -preserving distance labeling scheme only returns precise distances between pairs of nodes that are at distance at least from each other. In this paper we consider distance labeling schemes for the classical case of unweighted graphs with both directed and undirected edges. We present a bit -preserving distance labeling scheme, improving the previous bound by Bollob'as et. al. [SIAM J. Discrete Math. 2005]. We also give an almost matching lower bound of . With our -preserving distance labeling scheme as a building block, we additionally achieve the following results:

生成讲解博客的中文版本

生成AI智能校验的中文版本