Skip to content

t3nsed/bmssp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bounded Multi-Source Shortest Paths

Just a small fun exercise to implement the new fastest known algorithm for the bounded multi-source shortest paths problem in Rust. Uses Vec<Vec<>> for data and BinaryHeap for the prio queue.

We're looking at $O(m \log^{(2/3)} n)$ time. For the limited tests I've run, it's still like 10% slower than the current reference rust implementation of Dijkstra's SSSP, but I'm sure it's a matter of a few rust-specific compute and/or caching tweaks.

https://arxiv.org/pdf/2504.17033 https://x.com/dorsa_rohani/status/1954573594853244964

About

Bounded Multi-Source Shortest Path implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages