Efficient Algorithms for Earliest and Fastest Paths in Public Transport Networks
Mithinti Srikanth, G. Ramakrishna
TL;DR
This work addresses efficient single-source computation of Earliest Arrival Time (EAT) and Fastest Path Duration (FPD) in public transport networks modeled as temporal graphs. It introduces the edge-scan-dependency graph ($\tilde{G}$) and the notion of useful dominating paths to prune exploration, achieving near-linear time $O(m+n)$ through a one-to-one mapping between temporal paths and $\tilde{G}$-paths. The authors provide practical algorithms with CSR-based ES DG implementations, plus GTFS preprocessing, and demonstrate substantial real-world speedups ($\approx$183x for EAT and $\approx$34x for FPD) across nine datasets. These results offer transit planners a scalable and efficient toolkit for route optimization and urban mobility analysis, with clear potential for real-time applications.
Abstract
Public transport administrators rely on efficient algorithms for various problems that arise in public transport networks. In particular, our study focused on designing linear-time algorithms for two fundamental path problems: the earliest arrival time (\textsc{eat}) and the fastest path duration (\textsc{fpd}) on public transportation data. We conduct a comparative analysis with state-of-the-art algorithms. The results are quite promising, indicating substantial efficiency improvements. Specifically, the fastest path problem shows a remarkable 34-fold speedup, while the earliest arrival time problem exhibits an even more impressive 183-fold speedup. These findings highlight the effectiveness of our algorithms to solve \textsc{eat} and \textsc{fpd} problems in public transport, and eventually help public administrators to enrich the urban transport experience.
