Partially Dynamic Algorithms for Single-Source Temporal Paths
Davide Bilò, Bartłomiej Bosek, Jadwiga Czyżewska, Evangelos Kipouridis, Karol Węgrzycki, Anna Zych-Pawlewicz
Abstract
We present efficient partially dynamic algorithms for maintaining earliest arrival times from a fixed source in temporal digraphs with vertices. For the incremental scenario where updates are arc insertions, our algorithm has a constant query time and requires a total update time of , where 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 , where 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 total update time, query time, and space, where 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 in constant time per edge once the earliest arrival time at 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 amortized update time and 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.
Create a lesson
Related papers
A Simple Optimal Algorithm for Directed Multi-Failure Replacement Paths
Shared title terminology · Kaito Harada, Tatsuya Terao
Approximation Algorithms for Asymmetric Multi-Path TSP
Shared title terminology · Manuel Christalla, Vera Traub
An Optimal Online Algorithm for Single-machine Scheduling with Two Agents
Shared title terminology · Peihai Liu, Kejun Zhao, Xiwen Lu
Source Assignment: Hardness, Approximation, and Parameterized Algorithms
Shared title terminology · Ruxandra Marinescu-Ghemeci, Adrian Miclăuş, Alexandru Popa
A Note on the Hardness of Partially Dynamic Max Flow
Shared title terminology · Thatchaphol Saranurak, Benyu Wang
Parallel Algorithms for Higher-Order Temporal H-Index Computation
Shared title terminology · Lutz Oettershagen