登录
首页 » Visual C++ » Graph

Graph

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

  • houseDetect
    小型图像处理平台,包括滤波,边缘提取,边缘优化以及图像匹配功能(Small image processing platform, including filtering, edge detection, edge optimization and image matching function)
    2009-05-13 21:05:30下载
    积分:1
  • dizi-data
    各种图像处理算法集合,包括灰度、滤波等,已调试,可用。(Collection of a variety of image processing algorithms, including grayscale, filtering, etc.)
    2013-04-21 20:54:48下载
    积分:1
  • ppbNakagami
    处理Gamma乘性噪声的PPB方法,考虑了非局部patch的相似性,可处理SAR图像去噪。(The PPB method for multicative noise removal, which based on the Probabilistic Patch similarity.)
    2021-04-12 18:18:57下载
    积分:1
  • danmu
    说明:  基于opencv平台编写的单目相机标定程序,使用的张正友的方法,只要准备十二张单目相机拍摄的棋盘格的图片就可以标定出单目相机的焦距等参数,建立单目相机坐标系。可以用于机器视觉测量中,也可以用于双面相机标定的前一步,精度很高。(Based on the monocular camera calibration program compiled by the OpenCV platform, the method of Zhang Zhengyou is used to calibrate the focal length and other parameters of the monocular camera and establish a monocular camera coordinate system as long as 12 pieces of chessboard pictures taken by the monocular camera are prepared. It can be used in machine vision measurement, and it can also be used in the previous step of the calibration of the double-sided camera, with high precision.)
    2020-03-23 10:04:18下载
    积分:1
  • ImageProcess
    实现bmp图像读入和写出,彩色图像灰度化,直方图均衡化(Implement bmp image read and write, color image graying, histogram equalization)
    2015-11-02 19:26:29下载
    积分:1
  • yudp
    运动目标检测与跟踪,包括目标定位,匹配与跟踪!(moving target detection and tracking, including Target, matching and tracking!)
    2020-06-26 05:20:01下载
    积分:1
  • Project2
    通过图片的外参数矩阵对图片进行透视变换,对图片的外参数进行校正(camera calibration)
    2014-11-14 23:49:33下载
    积分:1
  • TestLMDll
    用hough变换提取直线的C++代码,效果比较好,可以灵活改变可提取直线的条数,适用于提取多条直线。(line detecting using hough tranaformation)
    2012-03-06 16:39:40下载
    积分:1
  • black-and-white
    图片黑白化,使彩色图片实现黑白化功能,还能还原色彩(Black and white pictures )
    2011-06-04 09:20:25下载
    积分:1
  • Otsu image processing
    说明:  利用大津算法对图片进行处理,得到满意的处理效果。(The image is processed by Otsu algorithm and satisfactory results are obtained.)
    2019-04-12 15:45:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载