登录
首页 » Visual C++ » Graph

Graph

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

  • 0451
    说明:  《visual C++ 开发经验技术宝典》图像锐化处理,主要是将图像的亮度增加,颜色的鲜艳感增强。("Visual C++ development experience Technical Collection," Image sharpening, mainly to increase the brightness of the image, bright sense of color enhancement. )
    2011-02-21 15:16:27下载
    积分:1
  • Calculate
    This is simple calculator program. I m making a GUI calculator interface in MFC. this program works pretty well.
    2011-07-28 15:22:25下载
    积分:1
  • colouredgedetection
    对灰度和真彩色位图实现了多种边缘提取算法(Of gray-scale and true color bitmaps to achieve a variety of edge detection algorithm)
    2007-09-09 21:53:10下载
    积分:1
  • the-Algorithm-of-fire-detection
    推荐火灾检测的参考文献,有火焰多个特征提取的算法。(the article is about how to detect fire,using many algorithms to get the features of fire.)
    2013-03-26 15:01:04下载
    积分:1
  • BWLabel
    二值图像连通域分析,和MATLAB中bwlabel函数功能相似(Connected domain analysis of binary image, and bwlabel similar function in MATLAB)
    2015-07-27 16:35:25下载
    积分:1
  • PP
    基于SIFT+Kmeans+LDA的图片分类器的实现源码。 博文参考:http://www.cnblogs.com/freedomshe/archive/2012/04/24/2468747.html(The pictures classifier based on SIFT, Kmeans and LDA. Blog Reference: http://www.cnblogs.com/freedomshe/archive/2012/04/24/2468747.html)
    2012-07-26 15:34:58下载
    积分:1
  • 12.2
    (1)在工具栏中点击“打开”功能出现文件打开窗口,用户选择一幅bmp图片后在指定区域居中显示该图片,若图片尺寸小于指定区域则按原始大小显示;若大于则按合适比例显示。 (2)鼠标指针在图片上停留时显示为十字形,同时在控件下方固定位置显示鼠标所在的图像x坐标和y坐标(如:50,100),以图片左上为坐标原点。 (3)在工具栏中可以点击控件实现在图片上绘制一次直线、矩形或圆等图形,在绘图过程中要求图片和图形一直可见,不能出现刷新痕迹,绘制的图形可以任意修改形状。 (4)可以任意选择图形线条的类型(虚线或直线)、颜色(三种)及粗细(三种),要求选择方式可以叠加,绘制过程要求可任意连续执行。 (5)在工具栏中点击“保存”功能出现文件保存窗口,用户可以选择保存路径来保存当前图片操作结果(包括图片和图形)。 (6)点击“关闭”功能,关闭当前图片,若操作结果尚未保存则必须弹出对话框提示用户进行保存。 ((1) in the tool bar, click on Open function has the file open window, the user selects a bmp image to center the picture in the designated area, if the image size is smaller than the specified area press the original size if more than press the appropriate scale display. (2) is shown as a cross when the mouse pointer over the image, while displaying an image x and y coordinates of the mouse cursor in a fixed position below the control (eg: 50,100) to image the upper left of the coordinate origin. (3) in the toolbar you can click controls to achieve a draw straight lines, rectangles or circles and other graphics on the picture, the requirements of pictures and graphics in the drawing process has been seen, it can not appear refreshed traces drawn graphics can be modified shape. (4) can choose the type of graph line (dashed or straight), color (three kinds) and thickness (three kinds), asked to choose the way can be superimposed, can arbitrarily draw process requires continuous exe)
    2015-10-23 12:16:41下载
    积分:1
  • RayTracer
    VB像素光影跟踪(图像渲染)工具,有需要的就下载吧。(VB Tracking pixel lighting (image rendering) tools, there is a need to download it.)
    2013-08-04 15:09:52下载
    积分:1
  • DIPSimulator
    图像DFT,C语言编写的代码,附带几个另外的处理,(Image DFT, C language code, with some additional processing,)
    2011-10-10 15:31:46下载
    积分:1
  • Canny
    Canny边缘检测算法,已经试过,可以用。能较好的检测边缘。(Canny edge detection algorithm, has been tried, you can use. To better edge detection.)
    2010-09-28 14:42:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载