登录
首页 » Visual C++ » Graph

Graph

于 2020-12-13 发布 文件大小:4KB
0 248
下载积分: 1 下载次数: 25

代码说明:

  输入一个带权无向图的顶点数、边数、各条边信息(两个顶点和权值),建立该图的邻接矩阵结构,输出该邻接矩阵。将上述无向图邻接矩阵转换为邻接表结构,输出该邻接表;根据该邻接表对无向图进行深度优先遍历序列和广度优先遍历序列,并输出遍历结果;用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.)

文件列表:

Graph.txt,10889,2013-10-13

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • imageReadAndShow2
    imageReadAndShow2.cpp,读取asc文件,并在VTK中渲染显示...(read ASC File,using VTK)
    2011-05-26 15:38:29下载
    积分:1
  • 1-(5)
    图形处理,Visual C++数字图像识别技术典型案例源代码 5(Graphics processing , the Visual C++ digital image recognition technology to a typical case of source code 5)
    2012-02-29 11:13:02下载
    积分:1
  • 雷达目标高分辨距离的特征提取及识别方法
    合成孔径雷达目标的特征提取及其识别技术。国防科大写的!(synthetic aperture radar target feature extraction and recognition technology. Written by which this university!)
    2005-07-29 20:31:31下载
    积分:1
  • ShapeRecognition
    Shap Context based Shape recognition
    2010-05-12 14:15:29下载
    积分:1
  • erode
    C语言数学形态学的腐蚀运算,同时适用于二值图像与灰度图像。(C language mathematical morphology erosion operation also apply to binary images and gray-scale image.)
    2009-11-14 14:43:40下载
    积分:1
  • tuxiangzengqiang
    图像增强的C++源程序,效果非常好,彩图ok(Image enhancement of the C++ source code, the effect is very good, Wallpapers ok)
    2009-12-16 22:44:06下载
    积分:1
  • rentigenzong
    实现人体跟踪的源代码,实现对视频中目标人物的跟踪(The human tracking source code, the video of the target person tracking)
    2013-01-10 19:24:18下载
    积分:1
  • SIFT
    C语言下实现SIFT算法 用于图像特征匹配(C-achieve SIFT algorithm for image feature matching)
    2010-01-11 21:03:03下载
    积分:1
  • wutijianceyuzhuizong
    opencv,图像处理,关于物体粘连问题的检测,基于凹性分析的分割方法(opencv, image processing, object sticking problem on detection, segmentation method based on analysis of the recess)
    2015-08-08 15:10:00下载
    积分:1
  • MultiSqureArea
    计算多边形面积的算法(polygon area calculation algorithm)
    2005-02-02 15:07:08下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载