- Introduction
- List of Algorithms
- Usage Instructions
- Contributing
- Creators
- References
- Copyright and license
Conventional approaches model the transit network as a time-expanded or time-dependent graph and run a variant of the Dijkstra’s algorithm. However, this method turns out to be too slow for large networks. Furthermore, while planning a journey using public transit, the number of transfers is equally important besides travel time. Popular techniques developed for PTR in the past decade include—Transfer Patterns, Connection Scan Algorithm (CSA), Round based Public Transit Routing (RAPTOR), and Trip-Based Public Transit Routing (TBTR). This repository provides various efficient algorithms to solve bicriteria shortest path problems in public transit routing. For documentation, refer to the link below.
Our main focus is on two bicriteria approaches, RAPTOR and TBTR, with arrival time and number of transfers as the two optimization criteria. Apart from the Python implementation of already published RAPTOR, rRAPTOR, TBTR, rTBTR, and HypRAPTOR, we also include HypTBTR and their multilevel variants, such as MhypTBTR and MhypRAPTOR. Additionally, to make the two approaches more practical for solving real-world problems, the repository provides a One-To-Many version of rTBTR and rRAPTOR. These not only reduce the preprocessing times of the partitioning variants but also significantly outperform the existing approach for location-based queries.
Switzerland's public transit network has been provided as a test case. The figure below shows the transit stop location (left) and 4-way partitioning using KaHyPar (right).
Algorithm | Varient | SOURCE | Status | Comments |
---|---|---|---|---|
Time-Expanded Dijkstra | Dijkstra | link | Complete | |
RAPTOR | Standard RAPTOR | link | Complete | |
RAPTOR | HypRAPTOR | link | Complete | |
RAPTOR | rRAPTOR | link | Complete | |
RAPTOR | One-To-All rRAPTOR | link | To be updated soon | |
TBTR | Standard TBTR | link | Complete | |
TBTR | rTBTR | link | Complete | |
TBTR | One-To-Many rTBTR | link | Complete | |
TBTR | HypTBTR | link | Complete | |
TBTR | MHypTBTR | link | Complete | |
Transfer Patterns | Transfer Patterns | link | Complete | |
Transfer Patterns | Scalable Transfer Patterns | link | To be updated soon | |
CSA | Standard CSA | link | Complete | |
CSA | One-To-Many CSA | link | To be updated soon |
Refer https://transnetlab.github.io/transit-routing/html/index.html.
We welcome all suggestions from the community. If you wish to contribute or report any bug, create an issue on issue tracking system.
-
Prateek Agarwal
- Ph.D. at Indian Institute of Science (IISc) Bengaluru, India.
- Mail Id: [email protected]
- https://sites.google.com/view/prateek-agarwal/
-
Tarun Rambha
- Assistant Professor in the Department of Civil Engineering and the Center for Infrastructure, Sustainable Transportation and Urban Planning (CiSTUP) at Indian Institute of Science (IISc) Bengaluru, India.
- Mail Id: [email protected]
- http://civil.iisc.ernet.in/~tarunr/
- P. Agarwal and T. Rambha, "Scalable Algorithms for Bicriterion Trip-Based Transit Routing," in IEEE Transactions on Intelligent Transportation Systems, doi: 10.1109/TITS.2024.3391343
- Delling, D., Pajor, T. and Werneck, R.F., 2015. Round-based public transit routing. Transportation Science, 49(3), pp.591-604.
- Delling, D., Dibbelt, J., Pajor, T. and Zündorf, T., 2017. Faster transit routing by hyper partitioning. In 17th Workshop on Algorithmic Approaches for Transportation Modelling, Optimization, and Systems (ATMOS 2017). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.
- Witt, S., 2015. Trip-based public transit routing. In Algorithms-ESA 2015 (pp. 1025-1036). Springer, Berlin, Heidelberg.
- Bast, Hannah, Matthias Hertel, and Sabine Storandt. "Scalable transfer patterns." 2016 Proceedings of the Eighteenth Workshop on Algorithm Engineering and Experiments (ALENEX). Society for Industrial and Applied Mathematics, 2016.
Please cite the original paper if you find this codebase useful in your research.
@ARTICLE{10517862,
author={Agarwal, Prateek and Rambha, Tarun},
journal={IEEE Transactions on Intelligent Transportation Systems},
title={Scalable Algorithms for Bicriterion Trip-Based Transit Routing},
year={2024},
volume={},
number={},
pages={1-15},
keywords={Partitioning algorithms;Routing;Heuristic algorithms;Roads;Terminology;Reviews;Optimization;Transit routing;shortest paths;multi-criteria optimization;hypergraph partitioning},
doi={10.1109/TITS.2024.3391343}}
The content of this repository is bounded by MIT License. For more information, refer COPYING file