Saved in:
Bibliographic Details
Main Authors: Großmann, Ernestine, Sauer, Jonas, Schulz, Christian, Steil, Patrick, Witt, Sascha
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2312.13146
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916997419237376
author Großmann, Ernestine
Sauer, Jonas
Schulz, Christian
Steil, Patrick
Witt, Sascha
author_facet Großmann, Ernestine
Sauer, Jonas
Schulz, Christian
Steil, Patrick
Witt, Sascha
contents We present FLASH-TB, a journey planning algorithm for public transit networks that combines Trip-Based Public Transit Routing (TB) with the Arc-Flags speedup technique. The basic idea is simple: The network is partitioned into a configurable number of cells. For each cell and each possible transfer between two vehicles, the algorithm precomputes a flag that indicates whether the transfer is required to reach the cell. During a query, only flagged transfers are explored. Our algorithm improves upon previous attempts to apply Arc-Flags to public transit networks, which saw limited success due to conflicting rules for pruning the search space. We show that these rules can be reconciled while still producing correct results. Because the number of cells is configurable, FLASH-TB offers a tradeoff between query time and memory consumption. It is significantly more space-efficient than existing techniques with a comparable preprocessing time, which store generalized shortest-path trees: to match their query performance, it requires up to two orders of magnitude less memory. The fastest configuration of FLASH-TB achieves a speedup of more than two orders of magnitude over TB, offering sub-millisecond query times even on large countrywide networks.
format Preprint
id arxiv_https___arxiv_org_abs_2312_13146
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle FLASH-TB: Integrating Arc-Flags and Trip-Based Public Transit Routing
Großmann, Ernestine
Sauer, Jonas
Schulz, Christian
Steil, Patrick
Witt, Sascha
Data Structures and Algorithms
We present FLASH-TB, a journey planning algorithm for public transit networks that combines Trip-Based Public Transit Routing (TB) with the Arc-Flags speedup technique. The basic idea is simple: The network is partitioned into a configurable number of cells. For each cell and each possible transfer between two vehicles, the algorithm precomputes a flag that indicates whether the transfer is required to reach the cell. During a query, only flagged transfers are explored. Our algorithm improves upon previous attempts to apply Arc-Flags to public transit networks, which saw limited success due to conflicting rules for pruning the search space. We show that these rules can be reconciled while still producing correct results. Because the number of cells is configurable, FLASH-TB offers a tradeoff between query time and memory consumption. It is significantly more space-efficient than existing techniques with a comparable preprocessing time, which store generalized shortest-path trees: to match their query performance, it requires up to two orders of magnitude less memory. The fastest configuration of FLASH-TB achieves a speedup of more than two orders of magnitude over TB, offering sub-millisecond query times even on large countrywide networks.
title FLASH-TB: Integrating Arc-Flags and Trip-Based Public Transit Routing
topic Data Structures and Algorithms
url https://arxiv.org/abs/2312.13146