Shortest distances as enumeration problem

DISCRETE APPLIED MATHEMATICS(2024)

引用 0|浏览19
暂无评分
摘要
We investigate the single source shortest distance (SSSD) and all pairs shortest dis-tance (APSD) problems as enumeration problems (on unweighted and integer weighted graphs), meaning that the elements (u, v, d(u, v)) - where u and v are vertices with shortest distance d(u, v) - are produced and listed one by one without repetition. The performance is measured in the RAM model of computation with respect to prepro-cessing time and delay, i.e., the maximum time that elapses between two consecutive outputs. This point of view reveals that specific types of output (e.g., excluding the non-reachable pairs (u, v, infinity), or excluding the self-distances (u, u, 0)) and the order of enumeration (e.g., sorted by distance, sorted row-wise with respect to the distance matrix) have a huge impact on the complexity of APSD while they appear to have no effect on SSSD.In particular, we show for APSD that enumeration without output restrictions is possible with delay in the order of the average degree. Excluding non-reachable pairs, or requesting the output to be sorted by distance, increases this delay to the order of the maximum degree. Further, for weighted graphs, a delay in the order of the average degree is also not possible without preprocessing or considering self-distances as output. In contrast, for SSSD we find that a delay in the order of the maximum degree without preprocessing is attainable and unavoidable for any of these requirements.(c) 2023 Elsevier B.V. All rights reserved.
更多
查看译文
关键词
Enumeration,Shortest paths,APSP,Fine-grained complexity
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要