登录
首页 » 算法 » 有向图的广度深度遍历

有向图的广度深度遍历

于 2022-02-03 发布 文件大小:1.57 kB
0 104
下载积分: 2 下载次数: 1

代码说明:

解决有向图的广度深度遍历的一种算法,原创性很强,可以手动输入节点的连线,自动生成邻接矩阵,然后通过邻接矩阵分别计算出广度优先遍历的次序和深度优先遍历的次序。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 普里姆
    Java 代码他们一本正经的最小生成树算法。只需更改的值图的代码本身的重量。所有都添加了评论。
    2022-02-25 04:31:43下载
    积分:1
  • DBSCAN
    % Function: [class,type]=dbscan(x,k,Eps) % ------------------------------------------------------------------------- % Aim: % Clustering the data with Density-Based Scan Algorithm with Noise (DBSCAN) % ------------------------------------------------------------------------- % Input: % x - data set (m,n); m-objects, n-variables % k - number of objects in a neighborhood of an object % (minimal number of objects considered as a cluster) % Eps - neighborhood radius, if not known avoid this parameter or put [] % ------------------------------------------------------------------------- % Output: % class - vector specifying assignment of the i-th object to certain % cluster (m,1) % type - vector specifying type of the i-th object % (core: 1, border: 0, outlier: -1)
    2022-04-08 08:12:27下载
    积分:1
  • fortran kriging 2d 3d
    克里金二维、三维插值。是斯坦福油气预测中心C.V. Deutsch写的。网上也有些人上传了代码,但是往往都不全,我从网站下下来后没有一个可以正常使用;这个是我从作者原始网页上下载的程序,并将编译语句写成SHELL语句。我上传的这个程序,确保可以编译、运行、出结果。首先运行文件夹中的Compile编译然后运行exe执行。-Kerry Jiner Wei, three-dimensional interpolation. Stanford hydrocarbon prediction center CV Deutsch wrote. Some people on this site have uploaded the code, but often not the whole, I am from this site down after no one can normally use This is what I downloaded from the website of the original program and compile written statement SHELL statement. I uploaded this program to ensure that you can compile and run, the result. Compile to compile the first run in a folder and then run exe execution.
    2023-03-08 12:15:03下载
    积分:1
  • Two strings to find the longest common sub
    找出两个字符串的最长公共子串。 给出一个字符串,请删除该字符串的前导空格和尾随空格,中间的空格若多余1个删减到1个。 我是个菜鸟,但软件会是我终生的事业~我有信心学好它,希望站长通融-Two strings to find the longest common sub-string. Given a string, remove the string leading spaces and trailing spaces, if the extra spaces in the middle of a cut to one. I was a rookie, but the software will be my lifelong career ~ and I am confident to learn it, and hope that owners accommodation
    2023-05-01 09:20:03下载
    积分:1
  • clean algoruthm
    主要是详细的介绍了clean算法的函数程序,适合用于图像处理、超宽带通信信道仿真、信号处理求信道冲击响应的方向,
    2022-10-08 13:00:02下载
    积分:1
  • 用C语言编写牛顿插值程序
    用C语言编写牛顿插值程序-C language Newton interpolation procedures
    2022-03-24 20:26:09下载
    积分:1
  • sm4国密的C语言实现
    国密SM4算法实现,已经验证可用,c语言实现-The country close SM4 algorithm SM4分组密码算法,原名SMS4,国家密码管理局于2012年3月21日发布,但不能下载标准文档。 本标准适用于密码应用中使用分组密码的需求。 
    2022-01-25 22:55:02下载
    积分:1
  • 二叉树操作
    包含的代码演示不同的操作二叉树。以下操作被实现1)插入2)删除3)遍历
    2022-07-15 03:04:20下载
    积分:1
  • computer calendar (including discriminant whether a leap year)
    计算机日历程序 (包括判别是否闰年)-computer calendar (including discriminant whether a leap year)
    2022-02-20 07:35:21下载
    积分:1
  • fortran对称正定矩阵求逆
    可以用来计算对称正定矩阵的逆矩阵,比通常的求逆程序的计算效率快很多,经过测试很好用,计算非常准确,使用方便,与大家共享。
    2022-05-19 01:47:52下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载