登录
首页 » Visual C++ » Graph

Graph

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

  • DDBOpen-show-save
    DDB 图像编程 实现图像的打开,保存,显示,一般处理等功能(DDB image programming to achieve the image open, save, display, general processing and other functions)
    2013-09-15 11:34:36下载
    积分:1
  • Photoshop
    photoshop的各个效果的详细介绍,方便研究photoshop的各种算法,值得一看啊!!(photoshop detailed description of the various effects, photoshop various algorithms to facilitate research, worth ah! !)
    2010-06-23 17:53:09下载
    积分:1
  • DIP_vc
    用c语言编写的数字图像处理程序,图像读取,图像增强,图像复原,傅里叶变换,离散余弦变换都有(With the c language digital image processing, image scanning, image enhancement, image restoration, Fourier transform, discrete cosine transform has)
    2013-11-30 20:23:27下载
    积分:1
  • count-rice
    本程序可以使用图像处理算法对图片进行处理,对于一个含有各种物体的图片,如米粒,可以计算物体的个数。使用前请配置好opencv环境。希望对大家学习图像处理和opencv有所帮助...(This procedure can use the image processing algorithm for processing images for a picture with a variety of objects, such as a grain of rice, can calculate the number of objects. Configured before use opencv environment. We would like to learn opencv image processing and help ...)
    2009-04-23 16:05:57下载
    积分:1
  • blur
    本文是中值滤波的一些应用,个人觉得中值滤波比一些算子滤波效果要好得多(This article is median filtering applications, personal feel median filter is much better than some of the filtering effect of the operator)
    2012-10-09 20:26:27下载
    积分:1
  • 多边形填充作业
    多边形填充作业.rar(filled polygon operations. Rar)
    2020-10-26 19:20:00下载
    积分:1
  • jushuSAR
    在分析聚束合成孔径雷j盘(SAR)方位向时频关系的基础上,提出了一种新的全孔径分辨率SAR成像算法。 根据SAR在条带与聚束模式下回波信号之间的差别,利用现有成熟的条带SAR成像算法实现先对聚束SAR各方位向子 孔径成像,而后再将各方位子孔径带宽合成为全孔径带宽,以形成具有全孔径分辨率的SAR图像,极大降低了系统PRF 的要求。(In the analysis of spotlight synthetic aperture radar dish j (SAR) azimuth based on the time-frequency relationship, a new full-aperture resolution SAR imaging algorithm. According to SAR in strip and spotlight mode, the difference between the echo signal, the use of existing mature band SAR imaging algorithm first bit of the spotlight SAR the parties to the sub-aperture imaging, and then place then all the bandwidth synthetic aperture the bandwidth for the full aperture to form a full aperture resolution SAR images, greatly reducing the system PRF requirements.)
    2010-07-07 14:03:19下载
    积分:1
  • DIBDisplay
    这些代码是有关数字图像处理的一些算法,大家有需要的,可以在里面找些与自己相关的(These codes are some of the digital image processing algorithms, we need, in which you can find some with their associated)
    2013-07-12 17:55:23下载
    积分:1
  • 256togray
    可以将256色度级的图像转化为灰度图象,挺值得新手学习一下的,希望大家能喜欢(256 chroma level images can be converted to grayscale images, very worth novice to learn about, and I hope you like)
    2014-04-19 14:48:30下载
    积分:1
  • 不规则图形的填充
    说明:  用VC开发的图形填充算法,简单实用, 希望对你的图形开发有所帮助, 如果有什么问题,可以与我联系(development of the VC graphics filling algorithm, simple and practical, and I hope to your graphics development will help, if any, can contact me)
    2005-11-29 15:22:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载