Abstract
In this paper we describe an algorithm that embeds a graph metric $(V,d_G)$ on an undirected weighted graph $G=(V,E)$ into a distribution of tree metrics $(T,D_T)$ such that for every pair $u,v\in V$, $d_G(u,v)\leq d_T(u,v)$ and $\mathbf{E}_{T}[d_T(u,v)]\leq O(\log n)\cdot d_G(u,v)$. For a graph with $n$ vertices and $m$ edges, our algorithm runs in $O(m\log n)$ time with high probability. The key component to achieve it is a new approximate single-source shortest-path algorithm, which implements the priority queue with a new data structure named "leveled buckets". The algorithm has three properties: it only requires linear time in terms of the number of edges in the input graph, the computed distances preserve triangle inequality, most importantly, when computing the shortest-paths to the $k$-nearest vertices from the source, it only requires to visit these vertices and their edge lists. These properties are essential to guarantee the correctness and the stated work bound. With this shortest-path algorithm, we discuss how to generate an intermediate structure, the approximate dominance sequences of the input graph, in $O(m \log n)$ time, and further proposed a simple yet efficient algorithm to converted this sequence to a tree embedding (FRT-embedding) in $O(n\log n)$ time, both with high probability. Combining the three subroutines gives the stated work bound of the algorithm. Then we show that this efficient construction can facilitate a number of applications. We proved that FRT trees (the generated tree embedding) are Ramsey partitions with asymptotically tight bound, so the construction of a series of distance oracles can be accelerated. We implemented a simple distance oracle based on FRT trees, and show that this simple approach provides good distance approximation on real-world graphs.

This publication has 8 references indexed in Scilit: