文件名称:Kruskal-algorithm
-
所属分类:
- 标签属性:
- 上传时间:2014-04-09
-
文件大小:1.43kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
使用克鲁斯卡尔算法生成最小生成树,将输入的边按照权值大小进行排列,每条边的端点属于不同的集合,当选取的一条边的两个端点同属于一个集合时,此边放弃。不属于同一个集合则合并。
-Use kruskal algorithm to generate the minimum spanning tree, the edge of the input according to the weight, size of each edge endpoints belong to different collections, elected to take an edge of two endpoints with belongs to a collection, this side to give up. Do not belong to the same collection is merged.
-Use kruskal algorithm to generate the minimum spanning tree, the edge of the input according to the weight, size of each edge endpoints belong to different collections, elected to take an edge of two endpoints with belongs to a collection, this side to give up. Do not belong to the same collection is merged.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Kruskal algorithm.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.