AI / ML
A Faster Shortest Path Algorithm
Researchers at the University of California, San Diego, and the University of California, Berkeley, have developed a new algorithm for finding the shortest path in a graph, called 'Fastest Shortest Path (FSP)'. This algorithm can be used in various fields such as transportation networks, logistics, and computer networks. The new algorithm is based on a modification of the Bellman-Ford algorithm, which is a well-known algorithm for finding the shortest path in a graph. The researchers made several key changes to the Bellman-Ford algorithm to improve its performance, including the use of a new data structure called a 'lookahead' table. This table allows the algorithm to skip unnecessary iterations and reduce the number of edge relaxations. The researchers claim that the new algorithm is up to 10 times faster than the standard Bellman-Ford algorithm for certain types of graphs. The algorithm has been implemented in C++ and is available on GitHub.
Read the full article at vals.ai →