Sublinear-Space Distance Labeling using Hubs
Abstract
A distance labeling scheme is an assignment of bit-labels to the vertices of an undirected, unweighted graph such that the distance between any pair of vertices can be decoded solely from their labels. We propose a series of new labeling schemes within the framework of so-called hub labeling (HL, also known as landmark labeling or 2-hop-cover labeling), in which each node stores its distance to all nodes from an appropriately chosen set of hubs . For a queried pair of nodes , the length of a shortest -path passing through a hub node from is then used as an upper bound on the distance between and . We present a hub labeling which allows us to decode exact distances in sparse graphs using labels of size sublinear in the number of nodes. For graphs with at most nodes and average degree , the tradeoff between label bit size and query decoding time for our approach is given by , for any . Our simple approach is thus the first sublinear-space distance labeling for sparse graphs that simultaneously admits small decoding time (for constant , we can achieve any while maintaining ), and it also provides an improvement in terms of label size with respect to previous slower approaches. By using similar techniques, we then present a -additive labeling scheme for general graphs, i.e., one in which the decoder provides a 2-additive-approximation of the distance between any pair of nodes. We achieve almost the same label size-time tradeoff , for any . To our knowledge, this is the first additive scheme with constant absolute error to use labels of sublinear size. The corresponding decoding time is then small (any is sufficient).
Cite
@article{arxiv.1507.06240,
title = {Sublinear-Space Distance Labeling using Hubs},
author = {Paweł Gawrychowski and Adrian Kosowski and Przemysław Uznański},
journal= {arXiv preprint arXiv:1507.06240},
year = {2016}
}