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

网络最小生成树更新策略
引用本文:程远. 网络最小生成树更新策略[J]. 计算机与现代化, 2012, 0(6): 125-130
作者姓名:程远
作者单位:中国科学技术大学计算机科学与技术学院,安徽合肥230027;铜陵学院网络中心,安徽铜陵244000
摘    要:求解最小生成树问题被广泛应用于求解现实中的搜索相关问题。然而现实瞬息万变,一个连通网络的节点常常发生变动。而一旦发生改变,传统算法必须要再次计算最小生成树。但是虽然节点发生了变动,最小生成树未必全部发生改变,这就造成了不必要的浪费。鉴于此提出一种基于Kruskal算法和Prim算法的最小树更新策略,对Kruskal算法和Prim算法做了改进,使其不必重新计算也能在连通图发生改变时更新最小生成树。

关 键 词:Kruskal算法  Prim算法  最小生成树  连通网络

An Update Strategy for Minimum Spanning Tree of Net
CHENG Yuan. An Update Strategy for Minimum Spanning Tree of Net[J]. Computer and Modernization, 2012, 0(6): 125-130
Authors:CHENG Yuan
Affiliation:CHENG Yuan( 1. School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027, China; 2. Network Center, Tongling University, Tongling 244000, China)
Abstract:Solving the problem of minimum spanning tree has been widely used to solve searching issues in reality. However, the node of a connected graph net is often changed, and, once it' s changed, the traditional algorithm has to recalculate the minimum spanning tree. But, even the graph node changes, not all of minimum spanning tree will be changed, which results in unnecessa- ry waste. This article is aimed at improving Kruskal algorithm and Prim algorithm, which can update the minimum spanning tree when the graph changes without recalculating.
Keywords:Kruskal algorithm  Prim algorithm  minimum spanning tree  connected graph net
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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