登录
首页 » Visual C++ » Graph

Graph

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

  • GrayShow
    visual c++ 工具 c语言 实现的灰度共生矩阵。(visual c++ tool c language GLCM.)
    2013-06-02 01:34:37下载
    积分:1
  • bmpLoader--STL
    VTK读取BMP序列图片实现MC算法面绘制,并且将绘制结果保存为STL格式。(VTK read BMP image sequences to achieve MC surface rendering algorithm, and the results will be drawn saved as STL format.)
    2021-03-12 08:29:25下载
    积分:1
  • Reny
    三维最大Renyi熵的灰度图像阈值分割算法(Maximum Renyi entropy of three-dimensional gray-scale image segmentation algorithm)
    2011-12-18 19:15:17下载
    积分:1
  • Wave-equation-forward-modeling
    1、参数初始化; 2、形成边界削波数据; 3、波场初始化; 4、Zmax层波场延拓到深度Zmax-1; 5、Zi+1层波场延拓到深度Zi; 6、重复5,从Iz Nz-1开始,直到Iz 1,得测线上的频率—空间域波场; 7、频率-空间域波场对频率做反傅里叶变换,得时间-空间波场; (1, parameter initialization 2, the formation of boundary clipping data 3, wave field initialization 4, Zmax layer wave field extended to the depth of Zmax-1 5, Zi+1 layer wave field extended to the depth of Zi 6, repeat 5, starting Iz Nz-1 until Iz 1, the frequency of the test line- spatial domain wave field 7, frequency space domain wave field to frequency inverse Fourier transform, time- space field )
    2021-03-07 16:59:29下载
    积分:1
  • VC-tu-xiang-chu-li
    图形图像处理算法大全,包含各种算法的源码,只要经过简单修改就可变为程序(Daquan graphic image processing algorithms, including the source code for various algorithms, as long as you can into a program after a simple modification )
    2011-05-20 16:45:34下载
    积分:1
  • 09_Direct
    人民邮电出版社,《VC++数字图像处理典型算法及实现》-- 第9章图像分割。 包括图像的并行边界分割、串行边界分割、并行区域分割、串行区域分割、Canny算子的实现等源代码(Posts )
    2008-06-03 11:11:23下载
    积分:1
  • IPKejian
    华中科技大学图像所张桂林老师的数字图像处理课件(Huazhong University of Science and Technology teacher Zhang Guilin images of digital image processing software)
    2007-11-22 15:45:16下载
    积分:1
  • 145
    一个很好类子来说明类模板的使用,可以比较明了类模板的使用方法,最好进行单步调试(use of class template )
    2013-08-30 17:17:58下载
    积分:1
  • 灰度数字增强hudushuzituxiangzengqang
    灰度数字图像增强处理,灰度数字图像增强处理,灰度数字图像增强处理,(Deal with gray-scale digital image enhancement)
    2020-07-09 11:28:55下载
    积分:1
  • star
    C#处理数字图像集锦,有图像旋转、平移等变换,有图像编码,有图像解码,有数字图像处理那本书里的各种算法(C# processing the digital image gallery, image rotation, translation, transformation, and image coding, image decoding, digital image processing various algorithms in the book)
    2012-06-12 07:54:36下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载