登录
首页 » Visual C++ » Graph

Graph

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

  • K-maens
    K均值聚类算法对图像进行分割,实验用程序,亲测可用。(K-means clustering algorithm for image segmentation, experimental procedures, pro-test is available.)
    2013-07-20 16:43:29下载
    积分:1
  • RC_C++
    说明:  显著性检测的代码,是程明明在12年的CVPR的文章,HC,RC的算法源码。(The code for saliency detection is the source code of Cheng Mingming's CVPR article, HC, RC, in 12 years.)
    2018-03-27 21:14:02下载
    积分:1
  • demo
    一个有关边缘检测 robert sobel FFT傅里叶变换等算法的demo(a demo using VC++ that implements the algorithms of edge detection and FFT)
    2010-05-21 14:32:48下载
    积分:1
  • fatigue_mq_block
    基于opencv的C语言的疲劳驾驶检测代码,肤色检测人脸(fatigue driving detecting)
    2014-06-22 16:36:22下载
    积分:1
  • realtimesuperpixel-master
    运用基于密度的聚类算法实现了超像素的分割(The segmentation of super pixels is realized by using the clustering algorithm based on density)
    2018-01-11 11:54:41下载
    积分:1
  • 去雾算法源代码c++
    图像去雾c++版源代码,实现效果还不错,可直接运行。(Fog to remove the c++ version of the source code, the effect is not bad, can be run directly.)
    2020-09-02 18:08:07下载
    积分:1
  • las_tools
    一个非常实用的las文件处理工具,可以实现很多功能,如读写las文件,分类,分块,抽稀,合并,生成边界线,生成DEM,点云高度归一化,数据格式转换,波形数据压缩等(A very useful the las file processing tools, you can achieve a lot of features, such as read and write las file classification block Rarefy merge to generate the boundary line, generated DEM point cloud height normalized data format conversion, waveform data compression, etc.)
    2021-01-24 20:58:38下载
    积分:1
  • Calculate
    This is simple calculator program. I m making a GUI calculator interface in MFC. this program works pretty well.
    2011-07-28 15:22:25下载
    积分:1
  • sobel
    可以实现bmp图象的sobel边缘检测运算,并含有可图象重建功能。简单,易懂,使用了DIB接口,适合作数字图象处理的初学者作参考(Bmp images can be achieved sobel edge detection operator, and contains the reconstruction of functional images. Simple, understandable, the use of the DIB interface, suitable for beginners of digital image processing for information)
    2008-01-05 21:56:35下载
    积分:1
  • IPLib2.0
    一套基于VC++的遥感影象处理系统,可以实现空间域,频率域以及光谱的处理(yi tao ji yu VC++ de yaohan yingxiang chuli xitong)
    2021-01-05 09:48:54下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载