A many-to-many variant of the Dijkstra's shortest distance algorithm
github.com