Abstract:
All-pairs shortest path problem on weighted undirected sparse graphs is considered. “Disassembly and assembly of graph” algorithm is proposed to obtain the solution of the problem for the given graph using the solution of the problem for a small-dimensional graph. The algorithm is compared with one of the fastest classic algorithms on public source data.