, Volume 68, Issue 4, pp 1075-1097
Date: 18 Nov 2012

On the Complexity of Time-Dependent Shortest Paths

Rent the article at a discount

Rent now

* Final gross prices may vary according to local VAT.

Get Access


We investigate the complexity of shortest paths in time-dependent graphs where the costs of edges (that is, edge travel times) vary as a function of time, and as a result the shortest path between two nodes s and d can change over time. Our main result is that when the edge cost functions are (polynomial-size) piecewise linear, the shortest path from s to d can change n Θ(logn) times, settling a several-year-old conjecture of Dean (Technical Reports, 1999, 2004). However, despite the fact that the arrival time function may have superpolynomial complexity, we show that a minimum delay path for any departure time interval can be computed in polynomial time. We also show that the complexity is polynomial if the slopes of the linear function come from a restricted class and describe an efficient scheme for computing a (1+ϵ)-approximation of the travel time function.

A preliminary version of this paper was presented at the 22nd ACM-SIAM Symposium on Discrete Algorithms (SODA), 2011.
This work was partially supported by National Science Foundation grants CNS-1035917 and CCF-0514738.