[Paper Review] Engineering Time-dependent One-To-All Computation
This paper presents an optimized algorithm for time-dependent one-to-all shortest path computation in road networks using time-dependent contraction hierarchies (TCH). By leveraging approximate travel time functions (TTFs) and pruning expensive TTF operations through lower and upper bounds, the method significantly accelerates query processing—achieving a 45% speedup over standard TCH at 0.1% approximation error, with further gains via parallelization.
Very recently a new algorithm to the nonnegative single-source shortest path problem on road networks has been discovered. It is very cache-efficient, but only on static road networks. We show how to augment it to the time-dependent scenario. The advantage if the new approach is that it settles nodes, even for a profile query, by scanning all downward edges. We improve the scanning of the downward edges with techniques developed for time-dependent many-to-many computations.
Motivation & Objective
- To address the performance bottleneck in time-dependent one-to-all shortest path queries, where TTF operations dominate over graph traversal.
- To adapt the cache-efficient, node-ordering-based algorithm from static contraction hierarchies to the time-dependent scenario.
- To reduce the computational cost of expensive TTF operations (linking, minimum) through approximate bounds and pruning strategies.
- To enable core-based computation for precomputing exact arc flags, improving speed-up techniques with exactness guarantees.
Proposed method
- The algorithm processes nodes in descending order of importance, similar to static contraction hierarchies, but adapts to time-dependent edge weights via TTFs.
- It uses three passes over incoming downward edges to compute intermediate upper bounds (based on maxima and ε-approximations) for pruning.
- Pruning is applied using lower and upper bounds: only TTF operations are performed when the lower bound of a candidate path does not exceed the current upper bound.
- Approximate TTFs (ε-bounds) are computed via the Imai-Iri geometric algorithm to reduce complexity and speed up operations.
- The method integrates upper bound tightening and minima-based pruning to limit expensive linking and minimum operations to only promising paths.
- Parallelization is applied across multiple threads, with performance measured on a German road network with 4.7M nodes and 10.8M edges.
Experimental results
Research questions
- RQ1Can the cache-efficient node-ordering strategy from static contraction hierarchies be extended to time-dependent one-to-all shortest path computation?
- RQ2How can expensive TTF operations (linking, minimum) be reduced in time-dependent one-to-all queries?
- RQ3To what extent can approximate TTFs and pruning heuristics improve performance without sacrificing accuracy?
- RQ4Can core-based computation with exact TTFs enable faster and more accurate precomputation of speed-up techniques like arc flags?
Key findings
- Using 0.1% approximation error (ε) reduced query time from 105 seconds (TCH) to 32.6 seconds, achieving a 70% speedup over baseline.
- With 8 threads and 0.1% ε, query time dropped to 5.7 seconds, demonstrating strong scalability.
- The algorithm outperforms standard TCH and Profile Dijkstra by reducing the number of expensive TTF operations through effective pruning.
- Core-based computation with exact TTFs enables faster precomputation of arc flags, offering both speed and exactness advantages.
- The use of upper and lower bounds based on minima and ε-approximations significantly reduces the number of full TTF operations.
- The method maintains correctness while achieving high performance, even with complex, piecewise linear TTFs representing real-world traffic patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.