7,819 research outputs found

    Near-optimal adjacency labeling scheme for power-law graphs

    Get PDF
    An adjacency labeling scheme is a method that assigns labels to the vertices of a graph such that adjacency between vertices can be inferred directly from the assigned label, without using a centralized data structure. We devise adjacency labeling schemes for the family of power-law graphs. This family that has been used to model many types of networks, e.g. the Internet AS-level graph. Furthermore, we prove an almost matching lower bound for this family. We also provide an asymptotically near- optimal labeling scheme for sparse graphs. Finally, we validate the efficiency of our labeling scheme by an experimental evaluation using both synthetic data and real-world networks of up to hundreds of thousands of vertices

    Distance labeling schemes for trees

    Get PDF
    We consider distance labeling schemes for trees: given a tree with nn 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. (J. Alg. 2004) and an upper bound by Peleg (J. Graph Theory 2000) establish that labels must use Θ(log2n)\Theta(\log^2 n) bits\footnote{Throughout this paper we use log\log for log2\log_2.}. Gavoille et. al. (ESA 2001) show that for very small approximate stretch, labels use Θ(lognloglogn)\Theta(\log n \log \log n) bits. Several other papers investigate various variants such as, for example, small distances in trees (Alstrup et. al., SODA'03). We improve the known upper and lower bounds of exact distance labeling by showing that 14log2n\frac{1}{4} \log^2 n bits are needed and that 12log2n\frac{1}{2} \log^2 n bits are sufficient. We also give (1+ϵ1+\epsilon)-stretch labeling schemes using Θ(logn)\Theta(\log n) bits for constant ϵ>0\epsilon>0. (1+ϵ1+\epsilon)-stretch labeling schemes with polylogarithmic label size have previously been established for doubling dimension graphs by Talwar (STOC 2004). In addition, we present matching upper and lower bounds for distance labeling for caterpillars, showing that labels must have size 2lognΘ(loglogn)2\log n - \Theta(\log\log n). For simple paths with kk nodes and edge weights in [1,n][1,n], we show that labels must have size k1klogn+Θ(logk)\frac{k-1}{k}\log n+\Theta(\log k)

    Simpler, faster and shorter labels for distances in graphs

    Full text link
    We consider how to assign labels to any undirected graph with n nodes such that, given the labels of two nodes and no other information regarding the graph, it is possible to determine the distance between the two nodes. The challenge in such a distance labeling scheme is primarily to minimize the maximum label lenght and secondarily to minimize the time needed to answer distance queries (decoding). Previous schemes have offered different trade-offs between label lengths and query time. This paper presents a simple algorithm with shorter labels and shorter query time than any previous solution, thereby improving the state-of-the-art with respect to both label length and query time in one single algorithm. Our solution addresses several open problems concerning label length and decoding time and is the first improvement of label length for more than three decades. More specifically, we present a distance labeling scheme with label size (log 3)/2 + o(n) (logarithms are in base 2) and O(1) decoding time. This outperforms all existing results with respect to both size and decoding time, including Winkler's (Combinatorica 1983) decade-old result, which uses labels of size (log 3)n and O(n/log n) decoding time, and Gavoille et al. (SODA'01), which uses labels of size 11n + o(n) and O(loglog n) decoding time. In addition, our algorithm is simpler than the previous ones. In the case of integral edge weights of size at most W, we present almost matching upper and lower bounds for label sizes. For r-additive approximation schemes, where distances can be off by an additive constant r, we give both upper and lower bounds. In particular, we present an upper bound for 1-additive approximation schemes which, in the unweighted case, has the same size (ignoring second order terms) as an adjacency scheme: n/2. We also give results for bipartite graphs and for exact and 1-additive distance oracles

    Near-Optimal Induced Universal Graphs for Bounded Degree Graphs

    Get PDF
    A graph UU is an induced universal graph for a family FF of graphs if every graph in FF is a vertex-induced subgraph of UU. For the family of all undirected graphs on nn vertices Alstrup, Kaplan, Thorup, and Zwick [STOC 2015] give an induced universal graph with O ⁣(2n/2)O\!\left(2^{n/2}\right) vertices, matching a lower bound by Moon [Proc. Glasgow Math. Assoc. 1965]. Let k=D/2k= \lceil D/2 \rceil. Improving asymptotically on previous results by Butler [Graphs and Combinatorics 2009] and Esperet, Arnaud and Ochem [IPL 2008], we give an induced universal graph with O ⁣(k2kk!nk)O\!\left(\frac{k2^k}{k!}n^k \right) vertices for the family of graphs with nn vertices of maximum degree DD. For constant DD, Butler gives a lower bound of Ω ⁣(nD/2)\Omega\!\left(n^{D/2}\right). For an odd constant D3D\geq 3, Esperet et al. and Alon and Capalbo [SODA 2008] give a graph with O ⁣(nk1D)O\!\left(n^{k-\frac{1}{D}}\right) vertices. Using their techniques for any (including constant) even values of DD gives asymptotically worse bounds than we present. For large DD, i.e. when D=Ω(log3n)D = \Omega\left(\log^3 n\right), the previous best upper bound was (nD/2)nO(1){n\choose\lceil D/2\rceil} n^{O(1)} due to Adjiashvili and Rotbart [ICALP 2014]. We give upper and lower bounds showing that the size is (n/2D/2)2±O~(D){\lfloor n/2\rfloor\choose\lfloor D/2 \rfloor}2^{\pm\tilde{O}\left(\sqrt{D}\right)}. Hence the optimal size is 2O~(D)2^{\tilde{O}(D)} and our construction is within a factor of 2O~(D)2^{\tilde{O}\left(\sqrt{D}\right)} from this. The previous results were larger by at least a factor of 2Ω(D)2^{\Omega(D)}. As a part of the above, proving a conjecture by Esperet et al., we construct an induced universal graph with 2n12n-1 vertices for the family of graphs with max degree 22. In addition, we give results for acyclic graphs with max degree 22 and cycle graphs. Our results imply the first labeling schemes that for any DD are at most o(n)o(n) bits from optimal

    Sublinear Distance Labeling

    Get PDF
    A distance labeling scheme labels the nn 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 DD-preserving distance labeling scheme only returns precise distances between pairs of nodes that are at distance at least DD 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 O(nDlog2D)O(\frac{n}{D}\log^2 D) bit DD-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 Ω(nD)\Omega(\frac{n}{D}). With our DD-preserving distance labeling scheme as a building block, we additionally achieve the following results: 1. We present the first distance labeling scheme of size o(n)o(n) for sparse graphs (and hence bounded degree graphs). This addresses an open problem by Gavoille et. al. [J. Algo. 2004], hereby separating the complexity from distance labeling in general graphs which require Ω(n)\Omega(n) bits, Moon [Proc. of Glasgow Math. Association 1965]. 2. For approximate rr-additive labeling schemes, that return distances within an additive error of rr we show a scheme of size O(nrpolylog(rlogn)logn)O\left ( \frac{n}{r} \cdot\frac{\operatorname{polylog} (r\log n)}{\log n} \right ) for r2r \ge 2. This improves on the current best bound of O(nr)O\left(\frac{n}{r}\right) by Alstrup et. al. [SODA 2016] for sub-polynomial rr, and is a generalization of a result by Gawrychowski et al. [arXiv preprint 2015] who showed this for r=2r=2.Comment: A preliminary version of this paper appeared at ESA'1

    Adjacency labeling schemes and induced-universal graphs

    Full text link
    We describe a way of assigning labels to the vertices of any undirected graph on up to nn vertices, each composed of n/2+O(1)n/2+O(1) bits, such that given the labels of two vertices, and no other information regarding the graph, it is possible to decide whether or not the vertices are adjacent in the graph. This is optimal, up to an additive constant, and constitutes the first improvement in almost 50 years of an n/2+O(logn)n/2+O(\log n) bound of Moon. As a consequence, we obtain an induced-universal graph for nn-vertex graphs containing only O(2n/2)O(2^{n/2}) vertices, which is optimal up to a multiplicative constant, solving an open problem of Vizing from 1968. We obtain similar tight results for directed graphs, tournaments and bipartite graphs

    Shorter Labeling Schemes for Planar Graphs

    Get PDF
    An \emph{adjacency labeling scheme} for a given class of graphs is an algorithm that for every graph GG from the class, assigns bit strings (labels) to vertices of GG so that for any two vertices u,vu,v, whether uu and vv are adjacent can be determined by a fixed procedure that examines only their labels. It is known that planar graphs with nn vertices admit a labeling scheme with labels of bit length (2+o(1))logn(2+o(1))\log{n}. In this work we improve this bound by designing a labeling scheme with labels of bit length (43+o(1))logn(\frac{4}{3}+o(1))\log{n}. In graph-theoretical terms, this implies an explicit construction of a graph on n4/3+o(1)n^{4/3+o(1)} vertices that contains all planar graphs on nn vertices as induced subgraphs, improving the previous best upper bound of n2+o(1)n^{2+o(1)}. Our scheme generalizes to graphs of bounded Euler genus with the same label length up to a second-order term. All the labels of the input graph can be computed in polynomial time, while adjacency can be decided from the labels in constant time
    corecore