Year: 2024
Type: preprint
Abstract: Random generation of shortest paths in graphs is utilized across various domains, including traffic-flow simulation and network topology exploration.In this paper, we address the challenge of uniform shortest path sampling in graphs from an algorithmic perspective.We introduce a novel uniform shortest path sampling algorithm that uses a biased random walk operating in two stages.We demonstrate that our algorithm, when combined with Alias sampling, is optimal in terms of worst-case running time among all algorithms in its class.Furthermore, we present an efficient implementation of our algorithm in a low-level programming language and evaluate it on both real-world and synthetic datasets.We compare our theoretically optimal algorithm with other variants to assess its practical performance and discuss its application in traffic modeling.
Source: HAL
Institution: LIP6
Language: English
Topic: Graph Theory and Algorithms
Subfield: Computational Theory and Mathematics
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Funder: Agence Nationale de la Recherche
OpenAlex ID: W4401978004
