登录
首页 » Visual C++ » Graph

Graph

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

  • SIFT
    C语言下实现SIFT算法 用于图像特征匹配(C-achieve SIFT algorithm for image feature matching)
    2010-01-11 21:03:03下载
    积分:1
  • Sobel-Process
    索贝尔算子程序,可以对图像进行索贝尔算子处理。(Sobel process program, which can process using sobel method.)
    2012-02-28 10:07:22下载
    积分:1
  • pupildetectOK
    在VC6.0环境下,借助openCV函数库,对视频中的人脸进行检测,并实时跟踪,然后用Haar特征的分类器定位人脸,并检测瞳孔存在与否,提取关于眼睛的疲劳信息(In VC6.0 environment, with the aid of openCV function library, to detect human faces in video, and real-time tracking, positioning and use characteristics of Haar classifier faces, and examine the pupil existence, to extract the information about the fatigue of the eye)
    2014-04-14 23:00:39下载
    积分:1
  • cdaaima-pca
    说明:  实现pca主成分分析算法的c语言代码,希望能帮到大家。(Pca principal component analysis algorithm to achieve the c language code, hope to help you.)
    2021-04-22 14:48:48下载
    积分:1
  • MRF2.0
    说明:  在VC++下基于MRF来进行的图像分割源代码(In VC++ For MRF-based image segmentation source code)
    2008-08-29 14:43:10下载
    积分:1
  • 0056357
    读取与显示JPG等格式图像文件,Visual C++编程技巧精选,很好的参考资料。(Read and display JPG format image files, Visual C++ programming skills selected, a good reference.)
    2013-11-17 06:26:42下载
    积分:1
  • yaxiangsu1
    亚像素方面的相关源码!!!相信对你的学习会有帮助!(Related to source sub-pixel area!!! That would be helpful to your learning!)
    2010-11-29 16:41:02下载
    积分:1
  • disparity2007
    利用SIFT检测两图片的相同点,并获取两幅图像的视差。(SIFT detection using the same picture two points, and to obtain two images of the parallax.)
    2021-05-16 18:30:07下载
    积分:1
  • IAcrossLine_Tn
    过线检测:依据物体运运动轨迹,分析是否过线 (In lane detection: Based on the trajectories of objects transported to analyze whether the line)
    2012-07-23 11:13:46下载
    积分:1
  • KMeans-with-opencv
    k均值分类在遥感影像中的应用,完整的c++代码,注释详细易懂,并且已经验证过(k-means classification in remote sensing images in the application, complete c++ code, comments, detailed and easy to understand, and have been verified)
    2021-01-24 20:28:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载