How to Compose Shortest Paths

Jade Master

View at source ↗PDF ↗Preprint3 citations
Preprint: not peer reviewed. Results may change in later versions.

Abstract

The composition problem for shortest paths asks the following: given shortest paths on weighted graphs M and N which share a common boundary, find the shortest paths on their union. This problem is a crucial step in any algorithm which uses the divide and conquer method to find shortest paths. This extended abstract details how this problem may be understood categorically. Finding shortest paths is represented by a functor and the composition problem asks to find the value of this functor on a pushout using the values of the functor on the components. Furthermore, we present an algorithm which solves the composition problem for shortest paths. When implemented in Python, this algorithm reduces the computation time for finding shortest paths by relying on precompilation.

Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.

Record

Archive ID
arxiv:2205.15306
Published
May 27, 2022
Updated
Sep 3, 2022
arXiv
2205.15306
Categories
cs.DM, cs.DS, math.CT
Provenance
arxiv

Topics