登录
首页 » Visual C++ » Graph

Graph

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

  • 256bmp
    对256bmp进行图象处理 对256bmp进行图象处理(256bmp carried out on the image processing carried out on 256bmp image processing)
    2007-10-26 16:13:28下载
    积分:1
  • docking_window_demo
    这是一段视频分割的源代码 效果比较好 希望对大家有帮助(This is a video segmentation of the source code for the effect we hope to help)
    2013-05-09 16:42:36下载
    积分:1
  • LineMarch
    BMP图像边缘提取后 根据边缘点集直线拟合(BMP image edge extraction fitting a straight line)
    2011-06-23 14:53:47下载
    积分:1
  • DyBMPMovie
    实现“动态”的位图动画,VC++经典编程学习源码,很好的参考资料。(The realization of "dynamic" bitmap animation, VC++ classic learning programming source code, a good reference.)
    2013-11-25 12:37:28下载
    积分:1
  • KKT3Dzipr
    克里金插值的3D算法,forrtran源代码。 可直接使用。 (Kriging 3D algorithm, forrtran the source code. Can be used directly.)
    2012-07-25 23:03:41下载
    积分:1
  • sift_ImageProcessing
    sift特征点检测及图像拼接,matlab7.0实现的,我从别人那里整过来的,测试的话,用在matlab里面直接调用match( b1.jpg , b2.jpg )即可,我测试成功,里面也有说明文档,为了科研,共享,希望大家有好的代码都0分共享,与己方便,与人方便,中国科研才会发展更迅速(sift feature point detection and image stitching of, matlab7.0 realized, I come from others where the whole test, used in matlab inside direct calls to match (' b1.jpg' , ' b2.jpg' ) can I test success, which also has documentation, in order to research, share, and hope everyone has a good code sharing, and has convenient, and accommodating, the more rapid development of China' s scientific research will)
    2012-10-11 23:37:29下载
    积分:1
  • Hyperspectralterrain-classfic
    高光谱图像的地物分类技术,对光谱分析并对比检测出地景的算法(Fifth hyperspectral image classification techniques, algorithms for spectral analysis and contrast detect landscapes)
    2013-11-29 11:06:20下载
    积分:1
  • SparseMatrixOfExamples
    稀疏矩阵的实例,讲述如何用稀疏矩阵进行实际的编程。本例是以超市购物为实际背景。(Examples of sparse matrix)
    2010-07-29 09:57:15下载
    积分:1
  • ippiman
    图像处理的IPP库使用手册,包括每个函数的使用说明,以及参数的意义。(IPP library of image processing using the manual, including instructions for each function, as well as the significance of the parameters.)
    2013-01-10 20:23:06下载
    积分:1
  • Digital-Image-Processing
    这是一个数字图像处理常用的功能的集成软件,用VC++ 编写,可以对图像进行一些常见的操作,也可以自己扩展功能(This is a common feature of digital image processing integrated software, images can perform basic operations)
    2014-01-13 19:09:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载