登录
首页 » Visual C++ » Graph

Graph

于 2020-12-13 发布 文件大小:4KB
0 308
下载积分: 1 下载次数: 25

代码说明:

  输入一个带权无向图的顶点数、边数、各条边信息(两个顶点和权值),建立该图的邻接矩阵结构,输出该邻接矩阵。将上述无向图邻接矩阵转换为邻接表结构,输出该邻接表;根据该邻接表对无向图进行深度优先遍历序列和广度优先遍历序列,并输出遍历结果;用prim算法实现构造该带权无向图的最小生成树,并将该最小生成树的各条边信息输出。(Enter a weighted undirected graph with vertices, edges, each of the side information (two vertices and weights), the establishment of the adjacency matrix structure, the output of the adjacency matrix. The above undirected graph adjacency matrix into adjacency list structure, the output of the adjacency list according to the adjacency table undirected graph depth-first traversal sequence and breadth-first traversal sequence, and outputs through the results using prim algorithm construct the weighted undirected graph minimum spanning tree, and the minimum spanning tree information on respective sides of the output.)

文件列表:

Graph.txt,10889,2013-10-13

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • CV3
    opencv读取一个视频并设置其播放帧率播放速度(use opencv to read a video and change the rate)
    2017-10-30 23:56:11下载
    积分:1
  • Icb__Spectruut
    用Visual C编的用于语音的频频谱的检测,能显示出来语音的频谱图。 (Visual C series of the spectrum for voice detection, displayed the frequency spectrum of the voice.)
    2012-07-26 22:36:07下载
    积分:1
  • Choen-Sutherland
    Choen-Sutherland算法裁剪线段 计算机图形学中使用Choen-Sutherland算法进行图形多边形裁剪,并用MFC实现(Choen-Sutherland )
    2010-11-20 18:43:09下载
    积分:1
  • Circle
    visualc++6.0 实现图像中圆的检测(circle detection)
    2009-06-30 11:18:16下载
    积分:1
  • 2019DSP实验
    说明:  锐化图片 拉普拉斯算法 两种方法 一种是自己写的一种是用了matlab里面自带的函数(ruihua picture Laplace there are two mechof a fi [as fs aflasl;nvb)
    2019-05-28 21:51:24下载
    积分:1
  • HistogramaOTSU
    说明:  分块直方图均衡化处理图像 用户输入分块的x,y方向的分块个数,即可将图形分成各个小块进行直方图均衡化。 大津法处理图形,包括一维大津法和二维大津法的实现 (the realization of the Histogram equalization algorithm. the realization of otsu algorithm to process the images)
    2011-04-17 21:52:58下载
    积分:1
  • Saolei
    一个扫雷应用程序,在VC下开发,用来提高编程水平(A de-mining applications, developed in the VC used to improve the programming level)
    2007-11-23 11:11:51下载
    积分:1
  • SLIC
    超像素分割程序,既有原码,也有可执行程序,验证过,好用。(Super-pixel segmentation procedure, both the original code, there are executable programs, proven, easy to use.)
    2021-01-18 16:08:42下载
    积分:1
  • HistDemoA
    数字图像处理实验——直方图的均衡化,打开图像并实现其均衡化(Digital image processing experiments- histogram equalization, open the image and realize its equalization)
    2014-06-07 00:05:05下载
    积分:1
  • wtcl1
    应用Intel® JPEG Library v1.5处理图像的例子(Using Intel® JPEG Library v1.5 to process image.)
    2009-06-02 21:23:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载