Is it possible to start heating any of the known algorithms (Dijkstra / Floyd-Warshall, etc.) for the APSP problem in order to be able to reduce the time complexity and, possibly, the computation time?
Say the graph is represented by the matrix NxN. I only consider changes to one or more matrix entries (<N), that is, the distances between the corresponding vertices, between any 2 algorithm calls. Can we use the solution from the first call and only incremental changes in the matrix to speed up the calculation of the second call to the algorithm? First of all, I look at dense matrices, but if there are known methods for sparse matrices, feel free to share them. Thanks.
source share