首页 | 本学科首页   官方微博 | 高级检索  
     

基于优先队列的最小生成树算法
引用本文:曾湘燕 陶文祥. 基于优先队列的最小生成树算法[J]. 微电子学与计算机, 1997, 14(1): 39-41
作者姓名:曾湘燕 陶文祥
作者单位:西北师范大学计算机系!兰州,730070,西北师范大学计算机系!兰州,730070
摘    要:本文提出一个获取连通网络是小生成树的算法。该算法采用一个优先队列组织各顶点集合,每次根据边的权值对队列头集合进行增长。由于对每个顶点的相关联边进行了按权值分级排序的预处理,算法获取具有。个预示e条边的无向连通网络的最小生成树的期望时间是O(e*loglogn)。

关 键 词:最小生成树  优先队列  算法分析

An Algorithm Based on Priority Queue for Producing Minimum Spanning Tree
Zeng Xiangyan and Tao Wenxiang. An Algorithm Based on Priority Queue for Producing Minimum Spanning Tree[J]. Microelectronics & Computer, 1997, 14(1): 39-41
Authors:Zeng Xiangyan and Tao Wenxiang
Abstract:An algorithm fOr producing minimum spanning trees of undirected networks is provided. A priority queue is used to organize sets of nodes, and the head set of the queue is always grown in accordance with the edge weights. Since the edges are sotted according to weights beforehand, the minimum spannins tree of an undirected network with n nodes and e edges can be computed in expected time O (e * loglogn)
Keywords:Minimum spanning tree   Priority queue   Algorithm analysis
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号