FIBONACCI HEAPS AND THEIR USES IN IMPROVED NETWORK OPTIMIZATION ALGORITHMS

被引:1571
作者
FREDMAN, ML [1 ]
TARJAN, RE [1 ]
机构
[1] AT&T BELL LABS,MURRAY HILL,NJ 07974
关键词
D O I
10.1145/28869.28874
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper we develop a new data structure for implementing heaps (priority queues). Our structure, Fibonacci heaps (abbreviated F-heaps), extends the binomial queues proposed by Vuillemin and studied further by Brown. F-heaps support arbitrary deletion from an n-item heap in O(log n) amortized time and all other standard heap operations in O(1) amortized time. Using F-heaps we are able to obtain improved running times for several network optimization algorithms. In particular, we obtain the following worst-case bounds, where n is the number of vertices and m the number of edges in the problem graph: O(n log n + m) for the single-source shortest path problem with nonnegative edge lengths, improved from O(mlog(m/n+2)n); O(n2log n + nm) for the all-pairs shortest path problem, improved from O(nm log(m/n+2)n); O(n2log n + nm) for the assignment problem (weighted bipartite matching), improved from O(nmlog(m/n+2)n); O(mβ(m, n)) for the minimum spanning tree problem, improved from O(mlog log(m/n+2)n); where β(m, n) = min {i ↿ log(i)n ≤ m/n}. Note that β(m, n) ≤ log*n if m ≥ n. Of these results, the improved bound for minimum spanning trees is the most striking, although all the results give asymptotic improvements for graphs of appropriate densities. © 1987, ACM. All rights reserved.
引用
收藏
页码:596 / 615
页数:20
相关论文
共 28 条
[1]  
Aho A. V., 1974, DESIGN ANAL COMPUTER, V1st
[2]   IMPLEMENTATION AND ANALYSIS OF BINOMIAL QUEUE ALGORITHMS [J].
BROWN, MR .
SIAM JOURNAL ON COMPUTING, 1978, 7 (03) :298-319
[3]   NOTE ON FINDING OPTIMUM BRANCHINGS [J].
CAMERINI, PM ;
FRATTA, L ;
MAFFIOLI, F .
NETWORKS, 1979, 9 (04) :309-312
[4]  
Cheriton D., 1976, SIAM Journal on Computing, V5, P724, DOI 10.1137/0205051
[5]  
Dijkstra E. W., 1959, NUMER MATH, P269, DOI DOI 10.1007/BF01386390
[6]   THEORETICAL IMPROVEMENTS IN ALGORITHMIC EFFICIENCY FOR NETWORK FLOW PROBLEMS [J].
EDMONDS, J ;
KARP, RM .
JOURNAL OF THE ACM, 1972, 19 (02) :248-&
[7]   EFFICIENT ALGORITHMS FOR FINDING MINIMUM SPANNING-TREES IN UNDIRECTED AND DIRECTED-GRAPHS [J].
GABOW, HN ;
GALIL, Z ;
SPENCER, T ;
TARJAN, RE .
COMBINATORICA, 1986, 6 (02) :109-122
[8]  
GABOW HN, 1985, LECT NOTES COMPUT SC, V194, P210
[9]   EFFICIENT ALGORITHMS FOR A FAMILY OF MATROID INTERSECTION PROBLEMS [J].
GABOW, HN ;
TARJAN, RE .
JOURNAL OF ALGORITHMS, 1984, 5 (01) :80-131
[10]  
GABOW HN, 1984, 25TH P ANN IEEE S F, P338