文件名称:prim
-
所属分类:
- 标签属性:
- 上传时间:2013-12-31
-
文件大小:1.02mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
无向图应用问题
任务:如果以五向网表示n个城市之间通信网络的建设计划,顶点表示城市,边上的权表示该线路的造价,设计一个方案,使这个通讯网的总造价最低。
提示:这是一个求最小生成树的问题。n个城市名和各边的权值由用户输入,建立图的邻接矩阵,然后以Prim算法来求最小生成树,然后输出方案。
-
The application of an undirected graph
Task: If the five-way communications network, said network between n cities construction plan, the vertices represent cities, said the right side of the line cost, design a plan to make the lowest total cost of this communications network.
Tip: This is a minimum spanning tree problem. n cities weights on each side of the name and entered by the user to establish the adjacency matrix, then Prim algorithm to find the minimum spanning tree, and then output the program.
任务:如果以五向网表示n个城市之间通信网络的建设计划,顶点表示城市,边上的权表示该线路的造价,设计一个方案,使这个通讯网的总造价最低。
提示:这是一个求最小生成树的问题。n个城市名和各边的权值由用户输入,建立图的邻接矩阵,然后以Prim算法来求最小生成树,然后输出方案。
-
The application of an undirected graph
Task: If the five-way communications network, said network between n cities construction plan, the vertices represent cities, said the right side of the line cost, design a plan to make the lowest total cost of this communications network.
Tip: This is a minimum spanning tree problem. n cities weights on each side of the name and entered by the user to establish the adjacency matrix, then Prim algorithm to find the minimum spanning tree, and then output the program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
kcsj/
kcsj/Debug/
kcsj/Debug/kcsj.exe
kcsj/Debug/kcsj.ilk
kcsj/Debug/kcsj.pch
kcsj/Debug/kcsj.pdb
kcsj/Debug/prim.obj
kcsj/Debug/vc60.idb
kcsj/Debug/vc60.pdb
kcsj/kcsj.dsp
kcsj/kcsj.dsw
kcsj/kcsj.ncb
kcsj/kcsj.opt
kcsj/kcsj.plg
kcsj/prim.cpp
kcsj/Debug/
kcsj/Debug/kcsj.exe
kcsj/Debug/kcsj.ilk
kcsj/Debug/kcsj.pch
kcsj/Debug/kcsj.pdb
kcsj/Debug/prim.obj
kcsj/Debug/vc60.idb
kcsj/Debug/vc60.pdb
kcsj/kcsj.dsp
kcsj/kcsj.dsw
kcsj/kcsj.ncb
kcsj/kcsj.opt
kcsj/kcsj.plg
kcsj/prim.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.