کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
474218 698850 2007 16 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Two fast algorithms for all-pairs shortest paths
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر علوم کامپیوتر (عمومی)
پیش نمایش صفحه اول مقاله
Two fast algorithms for all-pairs shortest paths
چکیده انگلیسی

In a large, dense network, the computation of the ‘distances’, i.e., the shortest path lengths between all pairs of nodes, can take a long time with algorithms known from the literature.We present two all-pairs shortest path algorithms, based on the equations of Bellman. These algorithms run fast, much faster than indicated by their time complexity bound of O(n2m)O(n2m), where n is the number of nodes and m the number of arcs.As in Bellman's method ‘candidate’ distances are maintained and updated, obtaining the distances eventually. However, the order of updating the candidate distances is changed, in such a way that arcs are eliminated as soon as it is clear that they are not relevant for the update of candidate distances later in the algorithm. In dense graphs this can significantly reduce the computation time.By scanning the arcs in order of increasing weight, arcs are eliminated earlier. By scanning the nodes in a ‘pseudo-topological’ order, the computation time can further decrease. In acyclic directed networks one of the resulting all-pairs algorithms runs in O(mlogn+nm0)O(mlogn+nm0) time, where m0m0 denotes the number of ‘essential’ arcs, i.e., arcs that are indispensable in some shortest path.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Computers & Operations Research - Volume 34, Issue 9, September 2007, Pages 2824–2839
نویسندگان
,