登录
首页 » Visual C++ » Graph

Graph

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

  • VBzRGB
    本应用可以将RGB颜色转换为VB专用的十六进制代码或WEB专用的十六进制代码,包含代码和已编译的EXE文件。(This application can convert RGB color to VB for hexadecimal code or WEB for hexadecimal code, contain code and the compiled EXE file. )
    2015-08-23 19:55:27下载
    积分:1
  • fast_dt
    快速距离变换的程序,是在外国人的一个程序上小改了一下,vs2008下的控制台程序,可以直接设置断点调试(Fast distance transform procedure is a procedure in the foreign small change a bit, vs2008 console under the program, you can set breakpoints directly)
    2011-10-11 16:16:21下载
    积分:1
  • VCPP-image-processing-chapter05
    VisualC++数字图像处理技术详解第2版光盘-第五章(VisualC++ digital image processing technology Detailed Version 2 CD- Chapter V)
    2016-04-16 13:33:13下载
    积分: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
  • GS
    说明:  运用二元光学元器件实现高斯激光光束的波形整形(Using binary optical components Gaussian laser beam waveform shaping)
    2013-12-30 00:08:35下载
    积分:1
  • Hyperspectralterrain-classfic
    高光谱图像的地物分类技术,对光谱分析并对比检测出地景的算法(Fifth hyperspectral image classification techniques, algorithms for spectral analysis and contrast detect landscapes)
    2013-11-29 11:06:20下载
    积分:1
  • prient
    静态画图,可以改变图形边框颜色与矩形或椭圆的填充颜色(Static drawing, you can change the fill color graphics border color and rectangular or oval)
    2012-11-22 17:26:00下载
    积分:1
  • ex26aview1
    基于最小二乘法的相位解缠VC++算法 (least squares method based on the VC Phase Unwrapping Algorithms)
    2020-06-28 19:00:01下载
    积分:1
  • hhh
    说明:  关于图像处理技术在冬小麦测试中的应用,用VC编的软件能对小麦进行二值化处理,中值滤波和灰度变换。(On image processing technology in the winter wheat test the application of the software made by VC on wheat binarization processing, median filtering and gray-scale transformation.)
    2008-10-23 22:42:29下载
    积分:1
  • RoadExtraction
    高分辨率遥感图像道路提取算法实现,主要思路是利用道路中心点,得到道路中心线。(Road Extraction from High Resolution Images algorithm, the main idea is to use the center of the road, get the road centerline.)
    2010-09-06 19:59:53下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载