我们提出了高效的部分动态算法,用于维护含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.
Gran Sasso Science Institute(格兰萨索科学研究所);LUISS University(鲁伊西斯大学);National Technical University of Athens(雅典国立技术大学);Archimedes, Athena Research Center(阿基米德雅典研究中心)
Temporal Path Covers: Dilworth Properties and Parameterized Complexity
Università degli Studi di Firenze(佛罗伦萨大学);National Technical University of Athens(雅典国立技术大学);Archimedes, Athena Research Center(阿基米德雅典研究中心);Université Paris Dauphine – PSL(巴黎第九大学-PSL);CNRS UMR7243, LAMSADE(法国国家科学研究中心联合研究实验室7243,LAMSADE);University of Southern Denmark(南丹麦大学)