登录
首页 » 数据结构 » 1,图的建立与遍历操作 建立图的邻接矩阵 输出图从顶点V0出发按深度优先遍历的顶点序列 输出图从顶点V0出发按广度优先遍历的顶点序列 2,图的建...

1,图的建立与遍历操作 建立图的邻接矩阵 输出图从顶点V0出发按深度优先遍历的顶点序列 输出图从顶点V0出发按广度优先遍历的顶点序列 2,图的建...

于 2022-11-18 发布 文件大小:26.65 kB
0 180
下载积分: 2 下载次数: 1

代码说明:

1,图的建立与遍历操作 建立图的邻接矩阵 输出图从顶点V0出发按深度优先遍历的顶点序列 输出图从顶点V0出发按广度优先遍历的顶点序列 2,图的建立与拓扑排序-1, Graph traversal operation with the establishment of the establishment of the adjacency matrix output plans starting from the vertex V0 by depth-first traversal sequence of vertices losers Figure out from the starting point V0 according to the breadth- first traversal sequence vertex 2, and plans to establish the topological sorting

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

发表评论

0 个回复

  • 外部合并排序内存分配
    应用背景外部排序是一个类排序算法,可以处理大量的数据。外部排序时,需要做数据排序不适合在主存储器的计算设备(通常是内存),相反,他们必须驻留在较慢的外部存储器(通常一个硬盘驱动器)。外部排序通常采用混合排序合并策略。在排序阶段,数据块足够小在主内存中进行读取、排序和写入到一个临时的文件。在合并阶段,排序的子文件合并成一个单一的较大文件。关键技术大多数外部排序例程是基于归并排序。他们通常打破一个大的数据文件转化为一个较短的,排序的运行。这些可以通过反复读取数据文件中的一段数据,生成内存,它与普通的快速排序,排序,排序后的数据写入磁盘。经过排序的运行已产生,一个合并算法是用来将排序文件组合成更长的排序文件。最简单的方案是使用双向合并:合并排序2排序文件到一个文件,然后合并2等等,直到有一个大的排序文件。一个更好的计划是一种多路归并算法:它可能合并也许128更短的运行起来。
    2023-05-07 15:35:02下载
    积分:1
  • 本文介绍了中的选择排序,希尔排序等算法,采用全英文版,真实可靠...
    本文介绍了数据结构中的选择排序,希尔排序等算法,采用全英文版,真实可靠-This paper introduces the data structure of choice, in order of ranking algorithms such as Hill, was used in English, true and reliable
    2022-02-25 02:55:34下载
    积分:1
  • 题目:参加运动会的N个学校编号为1~N.比赛分成M个男子项目和W个女子项目,项目编号分别为1~M和M+1~M+W.由于个项目参加人差别较大,有些项目取前5名,...
    题目:参加运动会的N个学校编号为1~N.比赛分成M个男子项目和W个女子项目,项目编号分别为1~M和M+1~M+W.由于个项目参加人数差别较大,有些项目取前5名,得分顺序为7,5,3,2,1 还有些项目只取前3名,得分顺序为5,3,2.写一个统计程序产生各种成绩单和得分报表.基本要求:产生各学校的成绩单,内容包括各校所取得的每项成绩的项目号,名次,姓名和得分 产生团体总分报表,内容包括校号,男子团体总分,女子团体总分和团体总分.概要设计:1. 为实现上述程序功能,应以线性表表示集合.2. 本程序包含3个模块:(1) 各集合定义模块(2) 线性表实现模块(3) 主程序模块-topics : participation in the Games N-school No. 1 ~ N. contestants were divided into men item M and W-woman project, a number of M and M ~ ~ 1 M W. As projects vary greatly in the number of participants, some of the items from the former five, scoring sequence of 7,5,3,2,1 also just take some items before the three scores sequence of incidents. write a variety of statistical procedures and report card scoring statements. the basic requirements : have the school report card, which includes school admission the results of each item, ranking names and scores scores statements groups, including schools, the men"s team scores, the women"s team scores and scores groups. summary of design : 1. to achi
    2022-01-25 20:33:55下载
    积分:1
  • There are binary search, binary conversion, data structure, traveling salesman a...
    这里面有二分查找、进制转换、数据结构、货郎担算法、动态网络最短路线等等很多很多的程序-There are binary search, binary conversion, data structure, traveling salesman algorithm, dynamic shortest route network and so on many, many procedures
    2023-02-21 00:15:04下载
    积分:1
  • 二叉树排序代码,动态生成二叉树,进行动态查找
    二叉树排序代码,动态生成二叉树,进行动态查找-Binary tree sort code, dynamically generated binary tree, dynamic search
    2022-01-25 16:15:25下载
    积分:1
  • data structure to solve the problem of Josephus code, only the source code, we u...
    数据结构中解决约瑟夫环问题的代码,里面只有源代码,大家用TC2编译一下就可以用了:)。-data structure to solve the problem of Josephus code, only the source code, we use TC2 compiler can use it with a :).
    2022-08-06 18:26:20下载
    积分:1
  • 最近点对问题的图形界面实现,用户可以通过鼠标输入点集,也可以通过随机生成点集,程序会将最近的两个点用红色标示出来...
    最近点对问题的图形界面实现,用户可以通过鼠标输入点集,也可以通过随机生成点集,程序会将最近的两个点用红色标示出来-Nearest point on the question of the realization of a graphical interface, users can mouse input point set, can also be randomly generated point set, the program will be the two most recent points, marked in red
    2023-02-18 07:40:03下载
    积分:1
  • 全能探针
    站长在线版空间探针程序精华包 v0.01 说明:支持PHP,ASP,ASP.NET,IIS,JSP,CGI等类程序环境检测,方便站长朋友选购主机参考。探针程序版权归各自作者所有。将此探针包上传至空间,打开index.html即可显示本页面。
    2022-03-18 10:08:57下载
    积分:1
  • 课件 东软内部资料!! 给需要的人
    数据结构 课件 东软内部资料!! 给需要的人-Neusoft courseware data structure internal information! ! To those who need it
    2022-08-08 07:28:26下载
    积分:1
  • 用C++写的链表操作,可以作为一个简易的文本编辑器
    用C++写的链表操作,可以作为一个简易的文本编辑器-list
    2022-08-23 08:14:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载