登录
首页 » Visual C++ » Graph

Graph

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

  • FingerPrintDlg
    指纹图像处理包括梯度处理、方向场处理、平滑处理、智能增强处理等(The fingerprint image processing including gradient processing, direction field processing, smooth processing and intelligent enhancement processing, etc)
    2011-04-30 19:28:34下载
    积分:1
  • otsu-canny
    基于otsu的自适应阀值canny边缘检测(adaptive canny edge detection based on otsu)
    2020-06-27 02:00:02下载
    积分:1
  • prient
    静态画图,可以改变图形边框颜色与矩形或椭圆的填充颜色(Static drawing, you can change the fill color graphics border color and rectangular or oval)
    2012-11-22 17:26:00下载
    积分:1
  • PC_grid
    通过点云数据的格网化,建立格网分块索引,这是一种有效的点云数据存储方式。( Through the point cloud data grid , the establishment of a grid block index, which is a valid point cloud data storage. )
    2014-02-20 10:55:46下载
    积分:1
  • C++GUIProgrammingwithQt3
    C++ GUI Programming with Qt 3不用再详细解释了吧,下载试一下就知道了(C GUI Programming with Qt 3 do not have a detailed explanation of it, Download trial will know what)
    2006-08-25 08:40:54下载
    积分:1
  • zoom
    C语言实现bmp图像放大缩小,24位bmp图像(The C language bmp image zoom, 24 bmp image)
    2012-10-13 20:06:16下载
    积分:1
  • Image-magnification-narrow
    一段很好的图像放大缩小程序,解码后可以运行。(A very good image magnification narrow program, the decoding can run. )
    2012-07-21 11:04:36下载
    积分:1
  • xbsf
    小波算法。机械化的提高我们的效率。让我们减少错误率。大家要对她有性心。(Wavelet algorithm. Mechanization to improve our efficiency. Let us reduce the error rate. We have to have sex to her heart.)
    2013-12-03 21:36:15下载
    积分:1
  • qicanshu
    说明:  用于三维空间坐标系变换的7参数模型,在设计坐标系变换的各行业应用中用的最多,从数学角度来说也是最严密的转换方法。 由于结果中最多可求得七个转换参数,即三个平移参数、三个旋转参数(Ex、Ey、Ez)和一个尺度缩放因子(m),因此,通常也被称为七参数法。 (Three-dimensional coordinate system transformation for the 7 parameter model, coordinate system transformation in the design of applications using the most, the industry, from the mathematical point of view, the conversion is the most rigorous methods. Since the results can be obtained up to seven transformation parameters, ie three translation parameters, three rotation parameters (Ex, Ey, Ez) and a zoom scale factor (m), therefore, often referred to as seven-parameter method.)
    2011-04-05 09:09:15下载
    积分:1
  • SARViewer
    通过GDAL读取常用遥感影像,如img,tiff,可实现读取显示和雷达影像处理的一些基本算法(Read through GDAL common remote sensing images, such as img, tiff, read the display and radar can achieve some of the basic image processing algorithms)
    2013-08-03 19:39:01下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载