文件名称:Kruskal
-
所属分类:
- 标签属性:
- 上传时间:2014-08-06
-
文件大小:12.61kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Kruskal 算法是一种按照图中边的权值递增的顺序构造最小生成树的方法。其基本思想是:设无向连通网为G=(V,E),令G 的最小生成树为T,其初态为T=(V,{}),即开始时,最小生成树T 由图G 中的n 个顶点构成,顶点之间没有一条边,这样T 中各顶点各自构成一个连通分量。然后,按照边的权值由小到大的顺序,考察G 的边集E 中的各条边。若被考察的边的两个顶点属于T 的两个不同的连通分量,则将此边作为最小生成树的边加入到T 中,同时把两个连通分量连接为一个连通分量;若被考察边的两个顶点属于同一个连通分量,则舍去此边,以免造成回路,如此下去,当T 中的连通分量个数为1 时,此连通分量便为G 的一棵最小生成树。-Kruskal algorithm is a value in accordance with the right side of the graph in order of increasing minimum spanning tree approach. The basic idea is: Let undirected network connectivity for G = (V, E), so that the minimum spanning tree of G is T, its initial state is T = (V, {}), when that started, the minimum spanning tree T by The graph G of n vertices, there is an edge between vertices, and the vertices of each of the T constituting a connected component. Then, follow the right side of the value of the order from small to big, examining G' s edge set E of the respective sides. Two vertices belonging to the edge if they are examined two different T connected component, then this edge as the minimum spanning tree edge added to T while the two connected components connected to a connected component side if they are investigated two vertices belong to the same connected component, then rounding the edges to avoid loops, and so on, when the number of connected components T 1, this co
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Kruskal/Kruskal.cfp
Kruskal/Kruskal.cfpg
Kruskal/src/graph.c
Kruskal/src/heap_sort.c
Kruskal/src/Kruskal.c
Kruskal/src/Kruskal.LIB
Kruskal/src/Kruskal.o
Kruskal/src/main.c
Kruskal/src/utils.h
Kruskal/debug
Kruskal/output
Kruskal/src
Kruskal
Kruskal/Kruskal.cfpg
Kruskal/src/graph.c
Kruskal/src/heap_sort.c
Kruskal/src/Kruskal.c
Kruskal/src/Kruskal.LIB
Kruskal/src/Kruskal.o
Kruskal/src/main.c
Kruskal/src/utils.h
Kruskal/debug
Kruskal/output
Kruskal/src
Kruskal
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.