登录
首页 » Visual C++ » Graph

Graph

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

  • Camdemo
    Camshift算法,即"Continuously Adaptive Mean-Shift"算法,是一种自适应的运动跟踪算法。它主要通过视频图像中运动物体的颜色信息来达到跟踪目的。(Camshift algorithm, namely " Continuously Adaptive Mean-Shift" algorithm is an adaptive motion tracking algorithm. It is primarily the color information of the object' s movement through the video images to achieve tracking purposes.)
    2014-01-11 19:45:29下载
    积分:1
  • dashline
    一个简单的虚线类,绘制各种虚线的C++类库,请看效果截图,可绘制出各种彩色的虚线效果。画横向或竖向虚线,以及对角线的虚线框效果,都是可以的,带有一个演示程序。(A simple dashed class, draw various dashed C++ library, see the effects shots, you can draw a variety of color dotted effect. Draw horizontal or vertical dashed line, as well as the effect of diagonal dashed box, are possible with a demo program.)
    2021-05-14 14:30:02下载
    积分:1
  • image-geometric-transformation
    实现图像的几何变换,包括图像的平移、镜像变换、缩放、转置以及旋转。(Achieve geometric transformation of image, including the image translation, image transformation, scaling, transpose and rotation.)
    2015-07-15 14:30:29下载
    积分:1
  • chuhuaxihua1
    粗化细化程序很好用的,大家试市啊,(crude refining procedures of the good, we take the city ah,!)
    2006-11-11 20:52:48下载
    积分:1
  • graphic
    里面涉及了线宽线型的设置,各种图形,还有画笔画刷设置选择,颜色设置等,代码非常齐全,还有编程的每一步都有截图和说明(Which involves the linewidth linear settings, a variety of graphics, and brush brush settings selection, color settings, the code is very complete, and programming of every step have screenshots and description)
    2014-12-14 20:30:20下载
    积分:1
  • GASA
    基于遗传模拟退火和Otsu法的图像分割。采用一种基于模拟退火算法(SA)的混合遗传算法(GASA),来进行Otsu方法选择阈值,其中进行求解时是非线性的遗传算法(GA)的应用优化了求阈值过程,并尽可能地减少其运算量,而加入SA则避免了遗传算法(GA)常见的早熟收敛现象,从而实现有效简单的图像分割。 (adopt hybrid genetic algorithm(GASA) based on simulated annealing algorithm,choose threshold by Ostu method,which applicated the non-linear genetic algorithm(GA) allows us to optimize the process of threshold. And, where possible, to reduce the computation. in order to achieve effectivly and simply image segmentation. Combination SA is to avoid the common phenomenon about premature convergence in genetic algorithm (GA) to achieve a simple and effective image segmentation.)
    2009-12-10 16:54:58下载
    积分:1
  • demo
    对BMP文件进行图像处理,包括:边缘检测、频域变换、几何变换、图像变换校正、灰度变换、图像编码、平滑和匹配(BMP files for image processing, comprising: an edge detection, a frequency domain transformation, geometric transformation, image transformation correction gradation conversion, image coding, and matching the smooth)
    2014-01-12 10:17:03下载
    积分:1
  • delaunay
    VC和OpenGL实现的点云读取界面,需要的朋友可以下载参考(VC and OpenGL realize the point cloud to read interface, the need for a friend can download the reference)
    2021-04-08 12:39:01下载
    积分:1
  • 135475202135
    画图源程序-图像数据显示,可以对数据进行时间轴的曲线显示,也可以是空间轴的多维显示 (Paint source- the image data, the data can be curve shows the time axis, it can be multi-dimensional display space axis)
    2014-02-08 12:55:53下载
    积分:1
  • RemoteControl-1
    说明:  一个用VC++6.0编的程序例子,实现远程屏幕图像的传输 (a VC 6.0 Provision procedures example, remote screen image transmission)
    2020-11-03 18:59:52下载
    积分:1
  • 696518资源总数
  • 105895会员总数
  • 18今日下载