English

Compact routing schemes in undirected and directed graphs

Networking and Internet Architecture 2025-09-03 v3

Abstract

In this paper, we study the problem of compact routing schemes in weighted undirected and directed graphs. \textit{For weighted undirected graphs}, more than a decade ago, Chechik [PODC'13] presented a 3.68k\approx3.68k-stretch compact routing scheme that uses O~(n1/klogD)\tilde{O}(n^{1/k}\log{D}) local storage, where DD is the normalized diameter, for every k>1k>1. We present a 2.64k\approx 2.64k-stretch compact routing scheme that uses O~(n1/k)\tilde{O}(n^{1/k}) local storage \textit{on average} in each vertex. This is the first compact routing scheme that uses total local storage of O~(n1+1/k)\tilde{O}(n^{1+1/k}) while achieving a ckc \cdot k stretch, for a constant c<3c < 3. In real-world network protocols, messages are usually transformed as part of a communication session between two parties. Therefore, more than two decades ago, Thorup and Zwick [SPAA'01] considered compact routing schemes that establish a communication session using a handshake. In their handshake-based compact routing scheme, the handshake is routed along a (4k5)(4k-5)-stretch path, and the rest of the communication session is routed along an optimal (2k1)(2k-1)-stretch path. It is straightforward to improve the (4k5)(4k-5)-stretch of the handshake to 3.68k\approx3.68k-stretch using the compact routing scheme of Chechik [PODC'13]. We improve the handshake stretch to the optimal (2k1)(2k-1), by borrowing the concept of roundtrip routing from directed graphs to \textit{undirected} graphs. \textit{For weighted directed graphs}, more than two decades ago, Roditty, Thorup, and Zwick [SODA'02 and TALG'08] presented a (4k+\eps)(4k+\eps)-stretch compact roundtrip routing scheme that uses O~(n1/k)\tilde{O}(n^{1/k}) local storage for every k3k\ge 3. For k=3k=3, this gives a (12+\eps)(12+\eps)-roundtrip stretch using O~(n1/3)\tilde{O}(n^{1/3}) local storage. We improve the stretch by developing a 77-roundtrip stretch routing scheme with O~(n1/3)\tilde{O}(n^{1/3}) local storage.

Cite

@article{arxiv.2503.13753,
  title  = {Compact routing schemes in undirected and directed graphs},
  author = {Avi Kadria and Liam Roditty},
  journal= {arXiv preprint arXiv:2503.13753},
  year   = {2025}
}
R2 v1 2026-06-28T22:24:30.745Z