Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
A priority queue for the all pairs shortest path problem
Moffat A., Takaoka T. Information Processing Letters18 (4):189-193,1984.Type:Article
Date Reviewed: Mar 1 1985

The authors present an implementation of a priority queue by k doubly linked lists. Each list contains elements in nondecreasing order of the weights. Searching for the minimal element is reduced to finding the smallest of the list head elements. Updating a weight is realized by deleting the element from the list it is contained in and adding it to an extra chain. The data structure allows update operations and insertions to be carried out in constant time if the elements can be accessed via an additional array of pointers and if the weights of elements changed or inserted between two successive EXTRACTMIN operations form a monotone sequence. Thus, the time complexity of the priority queue algorithm is O(nl.5+m) with n being the initial size of the queue, and m the number of updates.

In order to show that the assumption can be met in practice, the authors use this data structure to solve the all paris shortest path problem on a directed graph. Their algorithm requires n3+O(n2.5) operations on edge weights. They acknowledge that Yen’s algorithm [1] will run faster in practice although its bound is 1.5n3. This paper is clearly written. It is especially easy to go through the efficiency considerations. There is a misprint in the proof of Theorem 1: one must read a plus sign instead of the equal sign.

Reviewer:  H. J. Schneider Review #: CR108805
1) Yen, J. Y.Finding the lengths of all shortest paths in N-node nonnegative-distance complete networks using 1/2 N3 additions and N3 comparisons, J. ACM 19 (1972), 423-424. See <CR> 13, 11 (Nov. 1972), Rev. 24,138.
Bookmark and Share
  Featured Reviewer  
 
Lists, Stacks, And Queues (E.1 ... )
 
 
Computations On Discrete Structures (F.2.2 ... )
 
 
Graph Algorithms (G.2.2 ... )
 
 
Linked Representations (E.2 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Lists, Stacks, And Queues": Date
Amortized efficiency of list update and paging rules
Sleator D., Tarjan R. (ed) Communications of the ACM 28(2): 202-208, 1985. Type: Article
Nov 1 1985
Self-organizing search lists using probabilistic back-pointers
Hester J., Hirschberg D. Communications of the ACM 30(12): 1074-1079, 1987. Type: Article
Oct 1 1988
Self-organizing linear search
Hester J., Hirschberg D. ACM Computing Surveys 17(3): 295-311, 1985. Type: Article
Sep 1 1986
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy