登录
首页 » Visual C++ » Graph

Graph

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

  • FillRegion
    填充区域图像,设置填充区域,填出图像的颜色(Filled regional images, set fill area, fill in the color of the image)
    2009-01-18 22:45:33下载
    积分:1
  • lichang
    说明:  基于力场分布的图像处理源程序。包括基于力场的图像分割、边缘检测等。(Distribution of image processing based on force field source. Include force field-based image segmentation, edge detection.)
    2010-04-29 11:46:12下载
    积分:1
  • tuxiangxihua
    图像处理基本算法其中之一的图像细化(Image processing one of the basic algorithm for image thinning)
    2008-06-04 17:11:50下载
    积分:1
  • VCPP-image-processing-chapter04
    VisualC++数字图像处理技术详解第2版光盘-第四章(VisualC++ digital image processing technology Detailed Version 2 CD- Chapter Four)
    2016-04-16 13:23:00下载
    积分:1
  • bmpstartv1
    我自己做的一个bmp文件进行24位真彩转256灰度和二进制的程序,并能用sobel算法,识别物体的边界。 (I myself make a bmp file for 24-bit true color to 256 gray-scale and binary procedures and sobel algorithm can be used to identify object boundaries.)
    2008-02-18 03:14:39下载
    积分:1
  • bysjtuxiang
    毕业设计的程序 用VC++6.0做的 主要是测试几个边缘检测算子的效果(Graduate programs designed to use VC++ 6.0 to do is to test several of the main edge detection operator effect)
    2008-02-28 12:23:34下载
    积分:1
  • 3dwatershed
    用分水岭算法对三维模型进行分割处理。可以实现对三维模型的有意义分割。(Using three-dimensional model of the watershed algorithm to be dealt with separately. Three-dimensional model can achieve meaningful partition.)
    2009-01-13 20:29:26下载
    积分:1
  • souhan_v32
    esprit算法对有干扰的信号频率进行估计,一种基于多文档得图像合并技术,搭建OFDM通信系统的框架。( esprit algorithm signal frequency interference can be assessed Based on multi-document image obtained combining technique, Build a framework OFDM communication system.)
    2017-04-28 19:14:03下载
    积分:1
  • gaussian3
    对输入视频进行处理,使用高斯背景建模的方法,得到视频前景,对于人群密度估计具有很大作用。(Processing of the input video, using a Gaussian background modeling method, to get videos prospects for population density estimation has a significant role.)
    2013-07-22 16:37:12下载
    积分:1
  • DEM-read
    此程序可以根据一幅图像的DEM读取一幅图像(This program can read an image of an image based on DEM)
    2014-11-23 15:26:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载