登录
首页 » Visual C++ » Graph

Graph

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

  • view
    Matlab time-frequency analysis supporting the source code of chapter 12, please share
    2017-08-03 03:15:27下载
    积分:1
  • QuickCam
    实现对图像的经验模态分解,得到经验模态分解后的第一层IMF分量,反映了图像的主要信息,去除冗余信息,为识别提供了基础。(Empirical mode decomposition of image, obtain the empirical mode decomposition of the first layer of IMF component, reflected the main information of the image, to remove redundant information, provide the basis for identification. )
    2014-01-20 14:16:39下载
    积分: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
  • domin
    这是一款适用于初学者的应用程序,它可以帮助我们处理图形图像(This is a beginner for the application, it can help us to deal with graphic images)
    2009-05-14 09:05:23下载
    积分:1
  • RobotVision
    著名专家写的计算机视觉方面的原著,希望对大家有所帮助(Writing a well-known experts in the computer vision aspects of the original, and they hope to help everyone)
    2009-03-17 13:00:32下载
    积分:1
  • processing5
    图像基础处理——透视矫正的程序代码,把图像还原(Image basic processing- perspective correction code to restore image)
    2013-04-10 11:29:49下载
    积分:1
  • jm5.0c
    视频编解码技术,在有限带宽的情况下,能够大幅度的压缩编码比特数,图像的质量没有丝毫的下降。(Video codec technology, in the case of limited bandwidth can be substantial coding bits, the image quality is not the slightest decline.)
    2010-08-23 13:34:24下载
    积分:1
  • KKT3Dzipr
    克里金插值的3D算法,forrtran源代码。 可直接使用。 (Kriging 3D algorithm, forrtran the source code. Can be used directly.)
    2012-07-25 23:03:41下载
    积分:1
  • CVPR2011Paper
    CVPR2011文章Efficient_Rotation_Invariant_Object_Detection_using_Boosted_Random_Ferns(paper of CVPR2011 Efficient_Rotation_Invariant_Object_Detection_using_Boosted_Random_Ferns)
    2012-02-21 09:55:26下载
    积分:1
  • Dual_DC_DC
    自己做的双向dc/dc,双环控制,跟踪的不错(DUAL DC/DC Voltage and current loop)
    2021-04-25 13:18:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载