Algorithms for Routing and Solving the Traffic Assignment Problem
Overview
Calculation of distances, shortest paths and isochrones on weighted graphs using several variants of Dijkstra algorithm. Proposed algorithms are unidirectional Dijkstra (Dijkstra, E. W. (1959) doi:10.1007/BF01386390), bidirectional Dijkstra (Goldberg, Andrew & Fonseca F. Werneck, Renato (2005) https://www.cs.princeton.edu/courses/archive/spr06/cos423/Handouts/EPP%20shortest%20path%20algorithms.pdf), A* search (P. E. Hart, N. J. Nilsson et B. Raphael (1968) doi:10.1109/TSSC.1968.300136), new bidirectional A* (Pijls & Post (2009) https://repub.eur.nl/pub/16100/ei2009-10.pdf), Contraction hierarchies (R. Geisberger, P. Sanders, D. Schultes and D. Delling (2008) doi:10.1007/978-3-540-68552-4_24), PHAST (D. Delling, A.Goldberg, A. Nowatzyk, R. Werneck (2011) doi:10.1016/j.jpdc.2012.02.007). Algorithms for solving the traffic assignment problem are All-or-Nothing assignment, Method of Successive Averages, Frank-Wolfe algorithm (M. Fukushima (1984) doi:10.1016/0191-2615(84)90029-8), Conjugate and Bi-Conjugate Frank-Wolfe algorithms (M. Mitradjieva, P. O. Lindberg (2012) doi:10.1287/trsc.1120.0409), Algorithm-B (R. B. Dial (2006) doi:10.1016/j.trb.2006.02.008).
- update DESCRIPTION file : remove c++11 specification and add Authors@R field
From NEWS.md in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘RcppProgress’ All declared Imports should be used.
- NOTE11 OK, 2 NOTENow
- NOTE9 OK, 5 NOTE2026-04-22
- ERROR8 OK, 5 NOTE, 1 ERROR2026-04-18
- NOTE9 OK, 5 NOTE2026-04-10
- ERROR8 OK, 5 NOTE, 1 ERROR2026-04-09
- NOTE9 OK, 5 NOTE2026-03-10
Documentation
- Help pages
- 12
- Examples that run
- 100%12 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 8%
- cppRouting HTML
Downloads
Repository
- PRs merged (all time)
- 25%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
2 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/vlarmet/cpprouting on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing cppRouting adds 4 packages (3 with compiled code, 8.2 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, RcppParallel 744 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 3.12022-12-01 · diff ↗
- 3.0
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 2.0
- 1.2
- 1.12019-06-21
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-06-21
- Total releases
- 6 / 7 yrs
- License
- GPL (>= 2) OSI
- Download size
- 66 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cppRouting")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.