Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

kit-algo/ULTRA-PHAST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT

NOTE: This repository is outdated. Please refer to https://github.com/kit-algo/ULTRA.


ULTRA-PHAST

One-to-many variant of ULTRA

This framework contains C++ code for ULTRA-PHAST, an algorithmic approach for fast answering of one-to-all and one-to-many queries in public transit networks with a secondary transportation mode (e.g., walking or taxis). It was developed at KIT in the group of Prof. Dorothea Wagner.

Usage

This framework contains code for the ULTRA preprocessing step (i.e., contraction hierarchies and shortcut computation) as well as two query algorithms (UP-RAPTOR and UP-CSA). Each of the major components of the framework can be used/tested separately using one of the programs in the Runnables folder:

  • BuildCoreCH takes the public transit network and computes the core-CH required for the ULTRA preprocessing
  • ComputeShortcuts takes the public transit network as well as the core-CH and computes the ULTRA shortcuts
  • BuildCH takes the transfer graph and computes the CH required in the query phase for initial/final transfers
  • RunRAPTORQueriesToBall takes the public transit network, shortcuts, and CH and performs UP-RAPTOR experiments, with the target set randomly chosen from a ball
  • RunRAPTORQueriesToStops takes the public transit network, shortcuts, and CH and performs UP-RAPTOR experiments, with a target set of all stops
  • RunRAPTORQueriesToVertices takes the public transit network, shortcuts, and CH and performs UP-RAPTOR experiments, with a target set of all vertices
  • RunCSAQueriesToBall takes the public transit network, shortcuts, and CH and performs UP-CSA experiments, with the target set randomly chosen from a ball
  • RunCSAQueriesToStops takes the public transit network, shortcuts, and CH and performs UP-CSA experiments, with a target set of all stops
  • RunCSAQueriesToVertices takes the public transit network, shortcuts, and CH and performs UP-CSA experiments, with a target set of all vertices

The Makefile located in the Runnables folder contains instructions for building all of the above programs. Simply edit the top part of the Makefile to adjust the compiler and flags available to you and run make afterwards.

All of the above programs use a custom binary format for loading the public transit network as well as the transfer graph. As an example we provide the public transit network of Switzerland together with a transfer graph extracted from OpenStreetMap in the appropriate binary format at https://i11www.iti.kit.edu/PublicTransitData/Switzerland/binaryFiles/.

Publications

The algorithms in this framework are based on the following publications:

  • PHAST: Hardware-Accelerated Shortest Path Trees Daniel Delling, Andrew V Goldberg, Andreas Nowatzyk, Renato F Werneck In: Journal of Parallel and Distributed Computing, 73(7):940–952, 2013 pdf
  • UnLimited TRAnsfers for Multi-Modal Route Planning: An Efficient Solution Moritz Baum, Valentin Buchhold, Jonas Sauer, Dorothea Wagner, Tobias Zündorf In: Proceedings of the 27th Annual European Symposium on Algorithms (ESA'19), Leibniz International Proceedings in Informatics, pages 14:1–14:16, 2019 pdf arXiv
  • An Efficient Solution for One-to-Many Multi-Modal Journey Planning Jonas Sauer, Dorothea Wagner, Tobias Zündorf To appear in: 20th Workshop on Algorithmic Approaches for Transportation Modelling, Optimization, and Systems (ATMOS 2020), 2020

About

One-to-many variant of ULTRA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages