登录
首页 » Visual C++ » Graph

Graph

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

  • headtrack
    用粒子滤波实现视频中人头跟踪算法,有训练好的人头分类器。()
    2021-02-05 21:29:57下载
    积分:1
  • dirty glass
    建立一个透明物体上有污点的模型,可以模拟玻璃上有污点的图象(Rendering of clean transparent objects has been well studied in computer graphics. However, real-world transparent objects are seldom clean—their surfaces have a variety of contaminants such as dust, dirt, and lipids. These contaminants produce a number of complex volumetric scattering effects that must be taken into account when creating photorealistic renderings. In this paper, we take a step toward modeling and rendering these effects. We make the assumption that the contaminant is an optically thin layer and construct an analytic model following results in radiative transport theory and computer graphics. Moreover, the spatial textures created by the different types of contamination are also important in achieving visual realism. To this end, we measure the spatially varying thicknesses and the scattering parameters of a number of glass panes with various types of dust, dirt, and lipids. We also develop a simple interactive synthesis tool to create novel instances of the me)
    2009-07-11 17:13:08下载
    积分:1
  • gdal180doc
    说明:  开源图形处理工具,可以处理图象,显示,投影转换,栅格和矢量数据处理(Open source graphics tool that can handle images, display, projection conversion, raster and vector data processing)
    2011-03-22 15:39:35下载
    积分:1
  • SingleCalibrate
    基于opencv的相机单目标定程序,很好的学习资源,做图像矫正的可以看看~(Opencv based on a single target of the camera program)
    2015-05-06 13:53:42下载
    积分:1
  • processing5
    图像基础处理——透视矫正的程序代码,把图像还原(Image basic processing- perspective correction code to restore image)
    2013-04-10 11:29:49下载
    积分:1
  • SIFT
    提取SIFT特征,进行特征提取和匹配,包括特征点的定位,特征点描述子的生成,特征点的匹配,(extract SIFT feature,and feature matching)
    2020-12-10 10:49:21下载
    积分:1
  • LossCompression
    C语言编程,利用矢量量化思想进行图像有损压缩和解压缩(C language programming, using vector quantization thoughts lossy image compression and decompression)
    2016-05-24 21:50:39下载
    积分:1
  • RidgeletTransform
    关于脊波变换的图像分割源码,运行良好,测试可行,绝对超值(Ridgelet transform for image segmentation source code, run the test feasible, the absolute value)
    2012-08-16 18:10:29下载
    积分:1
  • image-matching-using-surf-and-ransac
    对两幅图像进行配准,分别提取两幅图像的surf特征点以及描述子,得到粗匹配结果,然后根据粗匹配结果,采用ransac方法计算基础矩阵,并去除误匹配点,得到较准确匹配结果(Two image registration, surf was extracted from the feature points in two images to get the coarse matching and descriptor, then according to the results, the coarse matching results, using RANSAC method to calculate the fundamental matrix, and eliminate the error matching, gain a more accurate matching results)
    2020-11-13 13:59:43下载
    积分:1
  • Kmeans
    说明:  基于Kmeans算法的图像分割,一般Kmeans是数据挖掘中用来聚类的,本试验利用图像中的灰度值作为Kmeans算法的原始点,进行图像分割(Kmeans algorithm based on image segmentation, data mining in general Kmeans is used to clustering, the trial use of the image gray value as the original algorithm Kmeans spots for Image Segmentation)
    2021-04-06 16:49:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载