登录
首页 » 数据结构 » Function is to map the function of the traversal algorithm, the adjacency matrix...

Function is to map the function of the traversal algorithm, the adjacency matrix...

于 2023-03-04 发布 文件大小:1.10 kB
0 226
下载积分: 2 下载次数: 1

代码说明:

此函数功能是图的遍历算法,用邻接矩阵存储图,然后求出其拓扑排序,再输出其图的信息-Function is to map the function of the traversal algorithm, the adjacency matrix storage map, then calculated the topological sort, then the output of its map information

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

发表评论

0 个回复

  • StudInfoSys
    使用Windows Forms for GUI和DataSet进行数据访问的学生信息系统-VB.NET版-VS2010年
    2022-12-06 22:45:03下载
    积分:1
  • 哈夫曼树算法 根给定的n个权值{w1,w2,……wn},造n棵只有根点的二叉树,令起权值为wj 在森林中选取两棵根点权值最小的树作左右子树,造...
    哈夫曼树算法 根据给定的n个权值{w1,w2,……wn},构造n棵只有根结点的二叉树,令起权值为wj 在森林中选取两棵根结点权值最小的树作左右子树,构造一棵新的二叉树,置新二叉树根结点权值为其左右子树根结点权值之和 在森林中删除这两棵树,同时将新得到的二叉树加入森林中 重复上述两步,直到只含一棵树为止,这棵树即哈夫曼树 -Huffman tree algorithm based on a given n-weights (w1, w2, ... ... wn), construct n trees only a root node of the tree, so that from the right value of wj in the forest root node to select two the right tree for the value of the smallest subtree around, a new binary tree structure, the right to buy a new tree root node value of its subtree root node around the right value in the forest and delete these two trees, At the same time, the new binary tree obtained by adding the forest to repeat the above two steps until a tree containing only the date, that is, Huffman tree tree
    2023-05-05 13:05:03下载
    积分:1
  • a FC3D tickets program, every can download it for research use.
    一个 福彩3d 彩票程序, 随便下,权当研究彩票。-a FC3D tickets program, every can download it for research use.
    2022-07-09 21:51:11下载
    积分:1
  • Absolutely wonderful features you may never imagine before, Skytree v2.0 takes y...
    Absolutely wonderful features you may never imagine before, Skytree v2.0 takes you into a new era of treeview. Now let s take a tour to know what s new in Skytree v2.0.
    2022-04-27 09:13:47下载
    积分:1
  • Axion 是一个小型的,快速的SQL和JDBC 适应的关系库引擎,由JAVA编程语言编写并且用于JAVA语言。
    Axion 是一个小型的,快速的SQL和JDBC 适应的关系数据库引擎,由JAVA编程语言编写并且用于JAVA语言。-Axion is small, fast SQL and JDBC adapt the relational database engine, and uses in the JAVA language by the JAVA programming language compilation.
    2022-08-23 14:07:18下载
    积分:1
  • ADO MD 程序员参考手册 书籍语言: 简体中文 书籍类型: 程序设计 授权方式: 免费软件 书籍大小:...
    ADO MD 程序员参考手册 书籍语言: 简体中文 书籍类型: 程序设计 授权方式: 免费软件 书籍大小: 808 KB -ADO MD programmer"s reference manual books Language : English books categories : program design license : free software books Size : 808 KB
    2022-04-27 06:01:55下载
    积分:1
  • 企业管理系统,用ACESS2000的库系统和ADO连接接口
    企业管理系统,用ACESS2000的数据库系统和ADO连接接口-Enterprise management systems, database systems use ACESS2000 and ADO connection interfaces
    2022-10-30 01:10:04下载
    积分:1
  • 一个有趣的算法。。。十分有趣
    一个有趣的算法。。。十分有趣-an interesting algorithm. . . Very interesting
    2022-05-25 23:26:43下载
    积分:1
  • springdata
    这是一个spingdata的项目示例。详细介绍了springdata的配置,注解等。项目完成了对数据库的曾删改查等操作,想要学习springdata的可疑下载参考。
    2023-07-11 18:05:06下载
    积分:1
  • [问题描述] 将N个关键字去整的记录进行整序, 以使所有关键字为非负的记录排在关键字为负的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N...
    [问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #include using namespace std #define MAXNUM 100//设文件的最长可能长度 void sort(int* keys, const int len)//排序 -[Problem Description] N keyword to the integer sequence the entire record. keyword so that all non-negative Records with the keyword for the negative record, at least require the use of the additional space and time complexity of the algorithm is O (N) [imported] to be sort record number, The value of the keyword. [Output] keyword separate from the pluses and minuses are several former [storage structure] scheduling records to be stored sequence. [Algorithm for the basic idea] quick sort algorithm each time a record for any keyword as a standard, The remaining records will be divided into two groups, N-keyword
    2022-03-17 21:15:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载