登录
首页 » Visual C++ » Graph

Graph

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

  • circle
    一个会动得圆,让学习的人更好的了解C++知识,是最基本的知识,学习工程的基本入门。(Will get round a move, so who better to learn about C++ knowledge, is the most basic knowledge, basic engineering study entry.)
    2011-08-17 17:47:38下载
    积分:1
  • lane-detect
    canny边缘检测,还有车道线检测。效果还可以。(canny edge detection, and lane detection. The effect can be.)
    2014-01-14 16:44:00下载
    积分:1
  • DcmtkTest
    本程序使用dcmtk库,可以显示大部分的DICOM图像。非压缩、压缩黑白图像以766灰阶显示,彩色图像正常显示。 对于初用dcmtk库的开发者来说,入门较难,本程序已使用VC6工程将主要库加入工程中,可以参考本工程的设置。另外,对于高于8位的黑白图像,本程序也提供一个处理方法的参考。(This procedure used dcmtk library, you can see that the majority of the DICOM image. Non-compressed, compressed to 766 gray-scale black-and-white images show that color image display. Dcmtk library used for the early developers, the entry more difficult, the procedure has been in use for the main library VC6 project will join the project, can refer to the project settings. In addition, higher than the 8-bit black-and-white images, the program also provides a reference method.)
    2009-06-01 14:19:42下载
    积分:1
  • IFC读写代码
    说明:  IFC文件格式读取和写出源码,目前该源码是1.0版本(IFC file format reads and writes the source code, which is currently version 1.0)
    2020-09-16 14:17:55下载
    积分:1
  • sar
    sar图像的基于R-D模型的几何纠正,主要是利用RD模型的数学公式进行相关的几何纠正(Geometric rectification based on RD model of SAR)
    2020-06-28 18:40:02下载
    积分:1
  • guass_fliter_pic
    高斯滤波算法,可用于模糊图片,除掉图片中的高频噪声(gauss fliter to remove high frequency noise for pic )
    2017-03-11 10:40:11下载
    积分:1
  • opencv-otsu
    Opencv处理图像,用ostu法实现图像的二值化(Opencv image processing, using ostu method to achieve image binarization)
    2013-07-21 16:00:03下载
    积分:1
  • Grid
    基于OpenCV实现的图像切割程序,通过程序中参数设置分块的数量和大小(The project is uesd to break an image into block)
    2013-12-01 22:31:29下载
    积分:1
  • problemanswer
    数字图像处理第二版英文版(冈萨雷斯).pdf(Digital Image Processing Second Edition English (Gonzalez). Pdf)
    2010-08-31 22:40:35下载
    积分:1
  • ImageCutofRGB565BMP
    裁剪以RGB565格式保存的BMP文件,涉及位图掩码内容(imagecut of the BMP picture which saved with RGB565 format and mask)
    2015-01-22 10:57:48下载
    积分:1
  • 696518资源总数
  • 104841会员总数
  • 23今日下载