登录
首页 » Visual C++ » Graph

Graph

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

代码说明:

  输入一个带权无向图的顶点数、边数、各条边信息(两个顶点和权值),建立该图的邻接矩阵结构,输出该邻接矩阵。将上述无向图邻接矩阵转换为邻接表结构,输出该邻接表;根据该邻接表对无向图进行深度优先遍历序列和广度优先遍历序列,并输出遍历结果;用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.)

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

发表评论

0 个回复

  • sarMatch
    说明:  基于边缘特征的SAR图像与光学图像匹配,测度为Hausdorff距离(SAR images based on edge features and optical image matching, for the Hausdorff distance measure )
    2020-10-12 09:57:32下载
    积分:1
  • vc
    说明:  用c写的jpg编解码,包括jpeg2bmp和bmp2jpeg,可在vc6下调试。(With c written jpg codec, including jpeg2bmp and bmp2jpeg, may be under vc6 debugger.)
    2008-05-11 04:22:06下载
    积分:1
  • A-Wavelet-Tour-of-Signal-Processing
    信号处理的小波导引:稀疏方法(原书第3版) 《信号处理的小波导引:稀疏方法(原书第3版)》全面论述了稀疏表示的重要概念、技术和应用,反映了该主题在当今信号处理领域所起的关键作用。作者在解释了稀疏的主要概念后将其运用于信号压缩、噪声衰减和逆问题,同时给出了冗余字典、超分辨率和压缩感知中的稀疏表示。   本书既可以让应用数学系的学生了解数学公式的工程意义,也可以让计算机及电子工程系的学生了解工程问题的数学描述。对于小波理论与应用的研究人员,本书更是一本极具价值的参考书。(a Wavelet Tour of Signal Processing(Third Edition.The Sparse Way))
    2016-03-23 15:27:38下载
    积分:1
  • TTsaidemarcats
    Tsai标定算法,用用于图像标定的,可以使用 (Tsai calibration algorithm used for image calibration, you can use)
    2012-09-15 19:07:10下载
    积分:1
  • ppbNakagami
    处理Gamma乘性噪声的PPB方法,考虑了非局部patch的相似性,可处理SAR图像去噪。(The PPB method for multicative noise removal, which based on the Probabilistic Patch similarity.)
    2021-04-12 18:18:57下载
    积分:1
  • secaizhuanyi
    运用openCV编写的C++图像色彩转移程序,原理是先转化到Lab图像,再保持L不变调整图像的a、b分量的均值跟方差。(Using openCV prepared C++ image color transfer process, the principle is first converted to Lab image, and then adjust the image to keep L constant a, b, with the mean variance component.)
    2013-09-15 16:40:26下载
    积分:1
  • Seg_soble
    sobel segmentation, this algorithme has a great effect for segmenting
    2015-01-25 18:02:39下载
    积分:1
  • ImageCoding
    该程序是数字图像处理中一个常用的算法,研究在VC6.0下调试通过,并且达到了非常好的效果,希望对大家能有点帮助。(The program is a digital image processing algorithms commonly used to study under VC6.0 debugger through and achieved very good results, in the hope that we can to some extent.)
    2009-04-26 19:58:05下载
    积分:1
  • MedianFilter_GPU
    该VC++程序是基于CUDA架构的中值滤波程序,GPU加速,并且使用了opencv函数库(The VC++ program is based on the CUDA architecture median filtering program, GPU acceleration, and use the opencv library)
    2014-10-27 18:29:32下载
    积分:1
  • TMyPolyStockh
    实现凸多边形排样,使用临界多边形NFP判断两个凸多边形形是否相交,使用启发式算法提高效率, (Convex polygon nesting, polygon NFP to determine whether two convex polygon-shaped intersection, the use of heuristic algorithms to improve efficiency,)
    2021-03-30 22:59:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载