登录
首页 » Visual C++ » Graph

Graph

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

  • face2_jiance
    人脸检测:可自动检测人脸,速度还可以吧!(Face Detection : can automatically detect faces and can also speed!)
    2007-01-26 09:17:23下载
    积分: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
  • weina
    本代码可以实现图像的维纳滤波,经过调试无错误,对于学习图像处理有较好帮助。(This code can achieve the image filtering, error-free through the debugging, better for learning image processing help.)
    2011-05-31 22:10:17下载
    积分:1
  • opencv-otsu
    Opencv处理图像,用ostu法实现图像的二值化(Opencv image processing, using ostu method to achieve image binarization)
    2013-07-21 16:00:03下载
    积分:1
  • grayshow
    显示图像灰度,可以鼠标点击显示的起始位置及设置显示区域的大小(show the gray of picture ,can click the position and set the scales)
    2014-12-25 20:22:40下载
    积分:1
  • surfAndsift
    里面有注释,还有sift和surf的比较(There are notes, there are more sift and surf the)
    2015-01-25 21:16:46下载
    积分:1
  • Visualc++Imageexample(XuHui)
    Visual C++数字图像实用工程案例光盘代码(Visual C++ Digital image utility works case CD-ROM code)
    2007-10-19 16:59:22下载
    积分:1
  • freeimage
    说明:  图形图像出来库文件,挺好用的,直接包含进工程就可以用了 (Graphic images from the library files, good used directly included into the project can be used)
    2009-08-15 20:30:56下载
    积分:1
  • Histogram-method
    利用直方图双峰法选取适当阈值对图像进行二值化处理。此法只适用于直方图为双峰状图像。(Using the Shuangfeng method to the appropriate threshold histogram of image processing two values. This method is only applicable to the histogram of image of Shuangfeng.)
    2015-04-14 15:56:07下载
    积分:1
  • opencv-otsu
    Opencv处理图像,用ostu法实现图像的二值化(Opencv image processing, using ostu method to achieve image binarization)
    2013-07-21 16:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载