登录
首页 » Visual C++ » Graph

Graph

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

  • PM
    说明:  Perona和Malik在热传导方程的基础上,建立了各向异性扩散方程并将其应用到了图像处理中尺度空间的图像平滑上,该模型针对图像的边缘部分和非边缘部分进行不同性质的图像处理,同时解算方程的迭代格式简单,克服传统滤波的主要缺陷,是图像质量大为改善,为图像的边缘检测和增强开辟了新的方向。(This process smoothes regions while preserving, and enhancing, the contrast at sharp intensity gradients.)
    2011-07-04 21:30:44下载
    积分:1
  • ship
    船舶数据处理程序,可以实现船舶任意运动姿态的数据,描绘运动轨迹,从而分析船舶运动姿态(ship data extraction)
    2020-08-31 19:28:11下载
    积分:1
  • pcacode
    程序设计步骤: 1、去均值 2、计算协方差矩阵及其特征值和特征向量 3、计算协方差矩阵的特征值大于阈值的个数 4、降序排列特征值 5、去掉较小的特征值 6、去掉较大的特征值(一般没有这一步) 7、合并选择的特征值 8、选择相应的特征值和特征向量 9、计算白化矩阵 10、提取主分量(Programming steps: 1 to mean 2, calculation of covariance matrix and its eigenvalues and eigenvectors 3, the calculation of covariance matrix eigenvalues greater than the threshold number of 4, in descending order of eigenvalue 5, remove the smaller eigenvalue 6, remove the larger eigenvalue (usually not this step) 7, the combined choice of eigenvalues 8, select the appropriate eigenvalues and eigenvectors 9, computing whitening matrix 10, principal component extraction)
    2008-07-14 16:25:23下载
    积分:1
  • mean-shift
    基于meanshift/camshift的视频运动目标跟踪实现,通过鼠标手动选择跟踪目标。基于HSV空间模型,可手动调节H S V的阈值,显示前景、背景、反响投影图。开发工具是VS2008、OPENCV.(Based meanshift/camshift video moving target tracking achieved manually using the mouse to select the target track. HSV space model, you can manually adjust the threshold HSV, showing foreground, background, reaction projection. Development tools are VS2008, OPENCV)
    2014-05-06 16:20:51下载
    积分:1
  • jpeg2k
    说明:  JPEG2000 的一个实现,期中,wavelet.dll是提供的功能接口。(An implementation of JPEG2000, period, wavelet.dll is to provide a functional interface.)
    2010-05-04 17:00:01下载
    积分:1
  • CapVedio
    Visual C++ 6.0,基于opencv,MFC框架下开发,一个具有视频交互功能的桌面程序,功能类似于例程“Computer Vision Virtual Buttons”,能够实现基于视频交互的虚拟按钮的触发,(Visual C++ 6.0, based on opencv, MFC framework of development, a video interactive features of desktop applications, functions similar to the routine " Computer Vision Virtual Buttons" , to video-based interactive virtual button, trigger,)
    2011-01-05 10:33:34下载
    积分:1
  • MeanShiftSegMent
    根据D. Comaniciu, P. Meer: Mean Shift: A robust approach toward feature space analysis 以及 C. Christoudias, B. Georgescu, P. Meer: Synergism in low level vision.这两篇文献提供的方法编写的图像分割代码,作者是 Chris M. Christoudias, Bogdan Georgescu,代码经我看了后加了丰富的中文注释,希望可以给各位带来阅读上的方便。 基于meanshift的聚类分割方法包括滤波、区域融合等操作,通过调整sigma和sigmar来调整分割效果。(According to D. Comaniciu, P. Meer: Mean Shift: A robust approach toward feature space analysis, and C. Christoudias, B. Georgescu, P. Meer: Synergism in low level vision. These two documents prepared by the methods provided by image segmentation code , the author is Chris M. Christoudias, Bogdan Georgescu, after I read the code, add a rich Chinese notes, hoping to bring you the convenience of reading. Segmentation method based on clustering meanshift including filtering, regional integration and other operations, and by adjusting the sigma sigmar to adjust segmentation results.)
    2013-07-30 19:01:52下载
    积分:1
  • pca
    说明:  利用c++实现的PCA算法,直接对数据进行处理,适合初步学习(C++ implementation using PCA algorithm to process the data directly)
    2011-03-01 16:07:23下载
    积分:1
  • NCC
    说明:  采用积分图算法的归一化互相关匹配,大大减少了计算时间。(Normalized cross correlation matching)
    2020-04-09 14:08:09下载
    积分:1
  • SLIC_mex
    SLIC超像素分割matlab版本,主要算法为C++与matlab算法联动(SLIC super pixel segmentation matlab version, the main algorithm is C++ and matlab algorithm linkage)
    2018-10-09 14:51:36下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载