登录
首页 » Visual C++ » Graph

Graph

于 2020-12-13 发布 文件大小:4KB
0 309
下载积分: 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 个回复

  • laplace
    说明:  用opencv编写的视频捕捉以及边缘提取的程序,调试成功,另附调试用的avi视频,希望对大家有所帮助(Opencv prepared with video capture as well as the procedures for edge detection, debugging success, followed by the avi debug video, hope to help everyone)
    2008-09-04 20:10:07下载
    积分:1
  • opticalflow
    改进的聚类光流法,聚类方法有kmeans和DBSCAN,光流法金字塔LK可以用,HS光流法占用内存太多。(Improved clustering optical flow method, clustering method kmeans and DBSCAN, pyramid LK optical flow method can be used, HS optical flow occupy too much memory.)
    2021-01-07 16:18:53下载
    积分:1
  • division
    图像的分割处理,可以将图像中的数字分割找出(IMAGE division)
    2010-08-28 08:43:02下载
    积分:1
  • Shadow-Detection
    阴影检测,基于OpenCV用于对图像中阴影的检测(Shadow detection, OpenCV for image shadow detection)
    2021-04-11 19:08:58下载
    积分:1
  • Z_buffer
    计算机图形学基础算法z-buffer, 实现隐藏面消除(Computer graphics based algorithm z-buffer, to achieve hidden surface removal)
    2020-07-24 14:38:43下载
    积分:1
  • HoughMFC
    用OpenCV进行图像处理与工程开发的一个入门示例程序——Hough变换,效果不错(using OpenCV for image processing and development of a project portal sample program-- Hough Transform good results!)
    2006-11-03 21:15:57下载
    积分:1
  • Wavelet-transform-image
    图像分割处理的小波变换算法源代码,使用vc++(Wavelet transform image segmentation algorithm source code vc++)
    2012-03-25 13:55:21下载
    积分:1
  • directxshow
    vc6.0 控制摄像头源代码,采用directxshow 效率很高,小弟参考了很多的资料才搞明白,和大家共享,希望对大家有帮助(camera control vc6.0 source code, the use of highly efficient directxshow,小弟reference a lot of information in order to engage in to understand, and share, in the hope that we have to help)
    2007-11-30 09:56:35下载
    积分:1
  • Mirror_DImageProcess
    这个实例就像一个魔镜一样,能把原始图像照出各种变换效果,是基于MFC的多文档应用程序(This example is like a mirror,which can convert original image according to a variety of effects)
    2013-11-29 16:23:24下载
    积分:1
  • GMS-Feature-Matcher-master
    说明:  利用GMS对特征点匹配进行约束,降低误匹配率,代码包含python版本,C++版本,matlab版本。(GMS is used to constrain the matching of feature points to reduce the error matching rate. The code includes Python version, C + + version and Matlab version.)
    2021-05-06 16:31:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载