节点文献

求无向赋权图最小生成树的两种算法的探讨

Discussions about the Two Algorithms for Finding the Minimal Spanning Tree of an Undirected Weighted Graph

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 吴陈苏勇杨宏林聂桂军於跃成陈楠

【Author】 WU Chen, SU Yong, YANG Hong-lin, NIE Gui-jun, YU Yue-cheng, CHEN Nan (Dept. of Electronics and Information, East China Shipbuilding Institue,Zhenjiang Jiangsu 212003,China)

【机构】 华东船舶工业学院电子与信息系华东船舶工业学院电子与信息系 江苏 镇江 212003江苏 镇江 212003江苏 镇江 212003

【摘要】 对求无向赋权图最小生成树两种算法分别是PRIM算法和KRUSKAL算法。本文通过用堆改进了PRIM方法中选择最小边的方法。结合C语言的特点,实现了集合的划分和合并。对KRUSKAL方法进行了探讨,弥补了一些数据结构教科书上未给出C语言实现的KRUSKAL算法的不足。

【Abstract】 The two algorithms for finding the minimal spanning tree of an undirected weighted graph are PRIM algorithm and KRUSKAL algorithm. This paper improves the method for selecting the minimal edge in PRIM algorithm by using a heap. Combining the characteristics of programming langrage C, it implements set partition and merger and explores the realization of KRUSCAL algorithm. This overcomes the shortage of not giving the KRUSCAL algorithm in langrage C in some data structure textbooks.

【关键词】 无向赋权图最小生成树
【Key words】 undirected weighted graphminimal spanning treeheap
  • 【文献出处】 华东船舶工业学院学报(自然科学版) ,Journal of East China Shipbuilding Institute(Natural Science Edition) , 编辑部邮箱 ,2004年02期
  • 【分类号】TP301
  • 【被引频次】2
  • 【下载频次】298
节点文献中: 

本文链接的文献网络图示:

本文的引文网络