We propose an algorithm for computing alternatives to the shortest path in a road network, based on the speed-up technique CCH (customizable contraction hierarchy). Computing alternative paths is a well-studied problem, motivated by the fact that route-planning applications benefit from presenting different high-quality options the user can choose from. Another crucial feature of modern routing applications is the inclusion of live traffic, which requires speed-up techniques that allow efficient metric updates. Besides CCH, the other speed-up technique supporting metric updates is CRP (customizable route planning). Of the two, CCH is the more modern solution with the advantages of providing faster queries and being substantially simpler to implement efficiently. However, so far, CCH has been lacking a way of computing alternative paths. While for CRP, the commonly used plateau method for computing alternatives can be applied, this is not so straightforward for CCH. With this paper, we make CCH a viable option for alternative paths, by proposing a new separator-based approach to computing alternative paths that works hand-in-hand with the CCH data structure. With our experiments, we demonstrate that CCH can indeed be used to compute alternative paths efficiently. With this, we provide an alternative to CRP that is simpler and has lower query times.
@InProceedings{bacherle_et_al:OASIcs.ATMOS.2025.12, author = {Bacherle, Scott and Bl\"{a}sius, Thomas and Z\"{u}ndorf, Michael}, title = {{Separator-Based Alternative Paths in Customizable Contraction Hierarchies}}, booktitle = {25th Symposium on Algorithmic Approaches for Transportation Modelling, Optimization, and Systems (ATMOS 2025)}, pages = {12:1--12:16}, series = {Open Access Series in Informatics (OASIcs)}, ISBN = {978-3-95977-404-8}, ISSN = {2190-6807}, year = {2025}, volume = {137}, editor = {Sauer, Jonas and Schmidt, Marie}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.ATMOS.2025.12}, URN = {urn:nbn:de:0030-drops-247685}, doi = {10.4230/OASIcs.ATMOS.2025.12}, annote = {Keywords: Alternative routes, realistic road networks, customizable contraction hierarchies, route planning, shortest paths} }