arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.06387cs.DS
收藏

单源时间路径的部分动态算法

Partially Dynamic Algorithms for Single-Source Temporal Paths

University of L’Aquila(拉奎拉大学);Jagiellonian University(雅盖隆大学);University of Warsaw(华沙大学);Max Planck Institute for Informatics(马克斯·普朗克计算机科学研究所)

Davide Bilò, Bartłomiej Bosek, Jadwiga Czyżewska, Evangelos Kipouridis, Karol Węgrzycki, Anna Zych-Pawlewicz

AI总结:

该研究针对时间有向图的单源最早到达路径问题,提出了增量、减量及带出发时间阈值的部分动态算法,并基于OMv猜想给出了条件下界,证明算法的总运行时间是最优的。

摘要:

我们提出了高效的部分动态算法,用于维护含n个顶点的时间有向图中固定源点的最早到达时间。对于弧插入的增量场景,我们的算法查询时间为常数,总更新时间为O(n + m log m),其中m是向无弧图中添加的弧总数。对于弧删除的减量场景,我们的算法查询时间为常数,总更新时间为O(n + m log m),其中m是图初始化时的弧数。我们还考虑了具有任意出发时间阈值的最早到达查询,开发了一种增量算法,其总更新时间为O(n+Δ_s m log m),查询时间为O(log m),空间为O(n+m),其中Δ_s是离开源点的弧的不同出发时间数量。我们的所有算法在已知顶点v的最早到达时间后,还能以每条边常数时间报告从源点到查询顶点v的最早到达路径。我们基于在线布尔矩阵-向量乘法猜想(又称OMv猜想)补充了条件下界结果。对于增量和减量场景,我们证明即使算法是随机的且弧上的延迟是均匀的,也不存在具有O(n^{1−ε})分摊更新时间和O(n^{2−ε})分摊查询时间的算法。对于任意出发时间查询,我们还建立了基于OMv的条件下界,表明我们的增量算法在稠密时间图上的对数因子范围内是最优的。因此,高效的总运行时间本质上是我们能获得的最佳结果。我们的条件下界也适用于无向时间图的情况。

英文摘要:

We present efficient partially dynamic algorithms for maintaining earliest arrival times from a fixed source in temporal digraphs with $n$ vertices. For the incremental scenario where updates are arc insertions, our algorithm has a constant query time and requires a total update time of $O(n + m \log m)$, where $m$ is the total number of arcs added to the arc-less graph. For the decremental scenario where updates are arc removals, our algorithm has a constant query time and requires a total update time of $O(n + m \log m)$, where $m$ is the number of arcs in the graph upon its initialization. We also consider earliest-arrival queries with an arbitrary departure-time threshold and develop an incremental algorithm with $O(n+Δ_s m\log m)$ total update time, $O(\log m)$ query time, and $O(n+m)$ space, where $Δ_s$ is the number of distinct departure times of arcs leaving the source. All of our algorithms are also capable of reporting an earliest arrival path from the source to the queried vertex $v$ in constant time per edge once the earliest arrival time at $v$ is known. We complement our positive results with conditional lower bounds based on the Online Boolean Matrix-Vector Multiplication conjecture (a.k.a. OMv conjecture). For both the incremental and the decremental scenarios, we show the non-existence of an algorithm with $O(n^{1-\varepsilon})$ amortized update time and $O(n^{2-\varepsilon})$ amortized query time, even if the algorithm is randomized and latencies on the arcs are uniform. For arbitrary departure-time queries, we also establish an OMv-based conditional lower bound showing that our incremental algorithm is optimal up to logarithmic factors on dense temporal graphs. Thus, efficient total running time is essentially the best outcome we can get. Our conditional lower bounds hold also for the case of undirected temporal graphs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑