登录
首页 » Visual C++ » Graph

Graph

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

  • Picture_recognition
    图像识别的小软件,识别率还算凑合吧,大家共同学习(Small image recognition software, the recognition rate still make it, we learn together )
    2011-06-20 10:27:31下载
    积分:1
  • binary-image-processing
    二值图像处理运算是从数学形态学下的集合论方法发展起来的,尽管它的基本运算很简单,但是却可以产生复杂的效果。常用的二值图像处理操作有许多方法,如腐蚀、膨胀、细化、开运算和闭运算等等。本文对这些内容作些研究探讨, 希望对爱好图像处理的朋友有所帮助。(Binary image processing algorithms are developed set theory in mathematical morphology. Although its basic operation is simple, it can produce complex effects. Commonly used binary image processing operations there are many ways, such as corrosion, expansion, refinement, open operation and closed operation and so on. In this paper, some of these studies to explore, I hope to love image processing friends help.)
    2016-11-06 21:33:55下载
    积分:1
  • ImageZoom
    利用VTK实现图像的放大缩小,基于对话框编写的,有助于学习VTK的朋友(Using VTK to achieve the image to zoom in, based on the dialog box, prepared to help a friend learn VTK)
    2009-11-24 16:22:21下载
    积分:1
  • SIFT-Panorama
    本程序利用SIFT算法实现影像匹配的基础上,实现全景图的拼接,实用性很强,大家可以把拍摄的相邻的几张有重叠度的照片拼接成一张全景图。(The program uses SIFT image matching algorithm based on the realization of panorama stitching, very practical, we can put a few have taken the overlap of adjacent photos into a panoramic mosaic map.)
    2011-05-16 02:47:18下载
    积分:1
  • AD0125
    研华PCI-1711数据采集卡 AD转换VC++例程(Advantech PCI-1711 data acquisition card AD conversion VC++ Routines)
    2020-09-10 11:58:02下载
    积分:1
  • polygon_merge
    多边形的合并算法,该算法能够实现任意两个多边形(包括凹多边形)的合并.( The polygon merge algorithm, this algorithm can realize wilfully two polygons (including concave polygon) merge )
    2020-11-16 10:39:41下载
    积分:1
  • GMM-modeling-and-EM
    介绍Opencv这个图像处理库环境下的GMM建模与EM算法,从数学的角度深入分析高斯建模和EM算法(Introduce the the Opencv this image processing GMM modeling the EM algorithm in the library environment, in-depth analysis from a mathematical point of the Gaussian model and the EM algorithm)
    2012-07-11 15:40:59下载
    积分:1
  • sift
    sift匹配算法 尺度不变变换 特征描述子 特征点匹配 (sift match)
    2020-12-10 10:49:21下载
    积分:1
  • Meanshift
    利用Mean-shift进行平滑处理,主要是对图像进行平滑的界面,MFC和OpenCV进行混合编程……(Mean-shift smoothing, image smooth interface, the MFC and OpenCV mixed programming ...)
    2012-03-26 10:08:52下载
    积分:1
  • 利用C++实现了BMP的读入和显示 BMPCode
    利用C++实现了BMP图像的读入和显示利用C++实现了BMP图像的读入和显示利用C++实现了BMP图像的读入和显示(Use C++ achieve the BMP image to read and display BMP images using the C++ achieve to read and display BMP images using the C++ achieve to read and display)
    2013-06-25 09:30:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载