文件名称:prim
-
所属分类:
- 标签属性:
- 上传时间:2013-06-01
-
文件大小:1.69kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
假设G=(V,E)是连通的,TE是G上最小生成树中边的集合。算法从U={u0}(u0∈V)、TE={}开始。重复执行下列操作:
在所有u∈U,v∈V-U的边(u,v)∈E中找一条权值最小的边(u0,v0)并入集合TE中,同时v0并入U,直到V=U为止。-Suppose G = (V, E) is connected, TE minimum spanning tree of G on the set of edges. Algorithm from U = {u0} (u0 ∈ V), TE = {} begin. Repeat the following: In all u ∈ U, v ∈ V-U edge (u, v) ∈ E, find a minimum weight edge (u0, v0) into the collection TE, while v0 into the U, until V = U so far.
在所有u∈U,v∈V-U的边(u,v)∈E中找一条权值最小的边(u0,v0)并入集合TE中,同时v0并入U,直到V=U为止。-Suppose G = (V, E) is connected, TE minimum spanning tree of G on the set of edges. Algorithm from U = {u0} (u0 ∈ V), TE = {} begin. Repeat the following: In all u ∈ U, v ∈ V-U edge (u, v) ∈ E, find a minimum weight edge (u0, v0) into the collection TE, while v0 into the U, until V = U so far.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
prim/
prim/prim.cpp
prim/prim.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.