Minimum-Cost Temporal Walks under Waiting-Time Constraints in Linear Time - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Preprints, Working Papers, ... Year : 2022

Minimum-Cost Temporal Walks under Waiting-Time Constraints in Linear Time


In a temporal graph, each edge is available at specific points in time. Such an availability point is often represented by a "temporal edge" that can be traversed from its tail only at a specific departure time, for arriving in its head after a specific travel time. In such a graph, the connectivity from one node to another is naturally captured by the existence of a temporal path where temporal edges can be traversed one after the other. When imposing constraints on how much time it is possible to wait at a node in-between two temporal edges, it then becomes interesting to consider temporal walks where it is allowed to visit several times the same node, possibly at different times. We study the complexity of computing minimum-cost temporal walks from a single source under waiting-time constraints in a temporal graph, and ask under which conditions this problem can be solved in linear time. Our main result is a linear time algorithm when temporal edges are provided in input by non-decreasing departure time and also by non-decreasing arrival time. We use an algebraic framework for manipulating abstract costs, enabling the optimization of a large variety of criteria or even combinations of these. It allows to improve previous results for several criteria such as number of edges or overall waiting time. This result is somehow optimal: a logarithmic factor in the time complexity appears to be necessary if the input contains only one ordering of the temporal edges (either by arrival times or departure times).
Fichier principal
Vignette du fichier
main-long.pdf (398.66 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03864725 , version 1 (21-11-2022)
hal-03864725 , version 2 (20-01-2023)



Filippo Brunelli, Laurent Viennot. Minimum-Cost Temporal Walks under Waiting-Time Constraints in Linear Time. 2022. ⟨hal-03864725v1⟩
58 View
30 Download



Gmail Facebook X LinkedIn More