[Paper Review] Time Dependent Contraction Hierarchies -- Basic Algorithmic Ideas
This paper introduces Time-Dependent Contraction Hierarchies (TCHs), a hierarchical routing technique that extends static contraction hierarchies to time-dependent road networks with time-varying edge weights. It enables exact, bidirectional shortest-path queries by generalizing Dijkstra’s algorithm to handle time-dependent travel-time functions (TTFs) via profile queries, chaining, and min operations on piecewise-linear functions, achieving efficient query performance while preserving correctness through careful shortcut insertion and pruning strategies.
Contraction hierarchies are a simple hierarchical routing technique that has proved extremely efficient for static road networks. We explain how to generalize them to networks with time-dependent edge weights. This is the first hierarchical speedup technique for time-dependent routing that allows bidirectional query algorithms.
Motivation & Objective
- To extend contraction hierarchies—originally designed for static road networks—to support time-dependent edge weights, enabling fast and exact shortest-path queries in dynamic traffic environments.
- To overcome the challenge of bidirectional search in time-dependent networks, where arrival time is unknown a priori, by introducing a novel query algorithm that combines forward and backward searches with marked edges.
- To maintain the efficiency and correctness of hierarchical routing in time-dependent settings by generalizing Dijkstra’s algorithm to operate on time-dependent travel-time functions (TTFs) as abstract data types.
- To develop practical refinements such as approximate TTF representations and bound-based pruning to reduce space and time complexity without sacrificing query accuracy.
- To evaluate the feasibility and performance of TCHs in real-world road networks and public transportation systems, with potential integration with goal-directed techniques like arc-flags.
Proposed method
- Generalizes contraction hierarchies to time-dependent networks by modeling edge weights as piecewise-linear time-dependent travel-time functions (TTFs), supporting operations like chaining and min computation.
- Adapts the static node ordering heuristic to time-dependent settings by using average travel times or sampled departure times to estimate node importance.
- During contraction, inserts shortcuts (u,w) only if the path ⟨u,v,w⟩ is potentially optimal at any time, using profile-Dijkstra to evaluate whether the chained TTF of (u,v) and (v,w) is better than existing (u,w) edges.
- Enables bidirectional queries by performing a forward search from the source in the upward graph and a backward search from the target in the downward graph, marking all edges that can reach the target.
- Uses lower bounds ℓ(v) on travel time from nodes to target (computed via static Dijkstra) and upper bounds U (computed via static path unpacking and time-dependent evaluation) to prune forward search during query.
- Proposes an approximate TCH (ATCH) construction using upper and lower bounds on TTFs to reduce complexity, with exact query resolution via unpacking and re-evaluation on a pruned graph.
Experimental results
Research questions
- RQ1Can contraction hierarchies be generalized to support time-dependent edge weights while preserving the efficiency and correctness of bidirectional search?
- RQ2How can the bidirectional search challenge in time-dependent networks—where arrival time is unknown—be resolved using hierarchical preprocessing?
- RQ3What are effective strategies to manage the growing complexity of time-dependent TTFs during preprocessing and query time?
- RQ4Can approximate TTF representations be used to reduce space and time overhead without compromising query accuracy?
- RQ5How do bound-based pruning and approximate TCH construction improve query performance in practice?
Key findings
- The proposed TCH framework correctly supports exact bidirectional queries in time-dependent networks by combining forward and backward searches with edge marking, ensuring that all potential shortest paths are explored.
- Profile-Dijkstra, a label-correcting variant of Dijkstra’s algorithm, is effective for computing tentative distances as TTFs, though it loses the label-setting property, yet performs well in practice.
- Using piecewise-linear approximations within a 1+ε factor of true travel times allows for significant reduction in TTF complexity during preprocessing with minimal impact on query correctness.
- Pruning the forward search using lower bounds ℓ(v) and upper bounds U reduces the search space substantially, improving query efficiency without sacrificing accuracy.
- The method enables exact queries on approximate TCHs by first pruning non-viable paths and then performing exact forward search on the remaining, compacted graph.
- The approach is expected to outperform existing techniques like SHARC in exact time-dependent routing, especially when combined with goal-directed methods such as arc-flags.
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.