CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 其他小程序

文件名称:text

介绍说明--下载内容来自于网络,使用问题请自行百度

给定N个顶点、E条边的图G,完成图的相关算法,具体要求如下:

1 完成图的创建方法,即从键盘或文件输入图的信息,建立图的邻接表或是邻接矩阵存储结构。

2 给出判定图的性质的算法,即能够判定图是否是有向图、无向图、有向无环图、连通图等。

3 根据输入的图的性质,实现以下算法(选择其中一两个):

  如果图是有向无环图,则先实现图的某种遍历算法,在此基础上实现图的拓扑排序算法。

  如果图是连通图,则求出图的最大生成树(不是最小生成树,参考讲授的方法),即得到的生成树权值之和最大。

  如果图是无向图,则以第一个顶点当做源点,求出单源最短路径。

-Given N vertices, E edges Figure G, complete graph related algorithms, specific requirements are as follows: a complete graph creation method, that is, from the keyboard or file input map information, to establish the adjacency table or the adjacency matrix storage structure. Figure 2 shows the determination of the nature of the algorithm, that is able to determine whether the graph is a directed graph, undirected graph, a directed acyclic graph, connectivity maps. 3 According to the nature of the input graph, to achieve the following algorithm (choose one or two): If the graph is a directed acyclic graph, the first plan is to achieve some kind of traversal algorithm, based on this map of topological sorting algorithm implementation. If the graph is a connected graph, then calculate the Maximum Spanning Tree (not a minimum spanning tree, the reference teaches a method), which obtained the right values ​ ​ and the maximum spanning tree. If the graph is undirected, places the f
(系统自动生成,下载前可以参看下载内容)

下载文件列表

text/
text/Debug/
text/Debug/text.exe
text/Debug/text.ilk
text/Debug/text.pdb
text/ipch/
text/ipch/text-e7a07229/
text/ipch/text-e7a07229/text-2fde9051.ipch
text/text/
text/text.sdf
text/text.sln
text/text.suo
text/text/Debug/
text/text/Debug/cl.command.1.tlog
text/text/Debug/CL.read.1.tlog
text/text/Debug/CL.write.1.tlog
text/text/Debug/link-cvtres.read.1.tlog
text/text/Debug/link-cvtres.write.1.tlog
text/text/Debug/link.5044-cvtres.read.1.tlog
text/text/Debug/link.5044-cvtres.write.1.tlog
text/text/Debug/link.5044.read.1.tlog
text/text/Debug/link.5044.write.1.tlog
text/text/Debug/link.5220-cvtres.read.1.tlog
text/text/Debug/link.5220-cvtres.write.1.tlog
text/text/Debug/link.5220.read.1.tlog
text/text/Debug/link.5220.write.1.tlog
text/text/Debug/link.7952-cvtres.read.1.tlog
text/text/Debug/link.7952-cvtres.write.1.tlog
text/text/Debug/link.7952.read.1.tlog
text/text/Debug/link.7952.write.1.tlog
text/text/Debug/link.8868-cvtres.read.1.tlog
text/text/Debug/link.8868-cvtres.write.1.tlog
text/text/Debug/link.8868.read.1.tlog
text/text/Debug/link.8868.write.1.tlog
text/text/Debug/link.command.1.tlog
text/text/Debug/link.read.1.tlog
text/text/Debug/link.write.1.tlog
text/text/Debug/mt.command.1.tlog
text/text/Debug/mt.read.1.tlog
text/text/Debug/mt.write.1.tlog
text/text/Debug/rc.command.1.tlog
text/text/Debug/rc.read.1.tlog
text/text/Debug/rc.write.1.tlog
text/text/Debug/stdafx.obj
text/text/Debug/text.exe.embed.manifest
text/text/Debug/text.exe.embed.manifest.res
text/text/Debug/text.exe.intermediate.manifest
text/text/Debug/text.lastbuildstate
text/text/Debug/text.log
text/text/Debug/text.obj
text/text/Debug/text.pch
text/text/Debug/text.vcxprojResolveAssemblyReference.cache
text/text/Debug/text.write.1.tlog
text/text/Debug/text_manifest.rc
text/text/Debug/vc100.idb
text/text/Debug/vc100.pdb
text/text/ReadMe.txt
text/text/stdafx.cpp
text/text/stdafx.h
text/text/targetver.h
text/text/text.cpp
text/text/text.vcxproj
text/text/text.vcxproj.filters
text/text/text.vcxproj.user

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com