paper

Compact routing schemes in undirected and directed graphs

arXiv:2503.13753

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 -stretch compact routing scheme that uses local storage, where is the normalized diameter, for every . We present a -stretch compact routing scheme that uses local storage \textit{on average} in each vertex. This is the first compact routing scheme that uses total local storage of while achieving a stretch, for a constant . 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 -stretch path, and the rest of the communication session is routed along an optimal -stretch path. It is straightforward to improve the -stretch of the handshake to -stretch using the compact routing scheme of Chechik [PODC'13]. We improve the handshake stretch to the optimal , 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)$-stretch compact roundtrip routing scheme that uses local storage for every . For , this gives a $(12+\eps)$-roundtrip stretch using local storage. We improve the stretch by developing a -roundtrip stretch routing scheme with local storage.

Compact routing schemes in undirected and directed graphs · wovepaper