Enumerating all geodesics
arXiv:2409.16955
Abstract
By "geodesic" we mean any sequence of vertices of a graph that constitute a shortest path from to . We propose a novel, natural algorithm to enumerate all geodesics of , and pit it (using Mathematica) against the standard procedure for the task. The distance matrix plays a crucial role in this. In fact, part of our article is devoted to survey its many uses in related tasks.
12 pages