资源列表
[数据结构常用算法] Mazeproblem
说明:迷宫问题以一个m*n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍.设计一个程序,对任意设定的迷宫,求出一条入口到出口的通路,或的出没有通路的结论. {基本要求}: (1)实现一个以链表作存储结构的栈类型,然后编写一个求解迷宫的非递归程序。求得的通路以三元组(i,j,d)的形式输出,其中:(i,j)指示迷宫中的一个坐标,d表示走到下一个坐标的方向. (2)编写递归形式的算法,求迷宫中所有通路. (3)以方阵形式输出迷宫及其通路 -Mazeproblem<黄庆芝> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[数据结构常用算法] ThreeColor
说明:采用回溯法,利用动态搜索树的数据结构来构造一棵解树,实现3着色问题。 本程序使用迭代回溯算法-The use of retrospective law, the use of dynamic search tree data structure to construct a solution tree, the realization of 3 coloring problem. This procedure backtracking algorithm using iterative<jay> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[数据结构常用算法] TopoSort
说明:实现拓扑排序:一个有向无环图,表述为一个邻接矩阵graph[n][n],其中graph[i][0]为顶点i的入度,其余为其后继结点。-The realization of topological sort: a directed acyclic graph, expressed as an adjacency matrix graph [n] [n], which graph [i] [0] for the vertex i of income, the remaining node to it<jay> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[数据结构常用算法] yinghanjia
说明:这是操作系统的银行家算法,实验源代码,共同分享吧-This is the operating system of the banker' s algorithm, the experimental source code and share it<baojiang> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[数据结构常用算法] create_algraphic
说明:图的建立,里面包括有向图和无向图的建立,还有带权值的建立方法,也有图的输出算法,图的存储结构是以邻接链表的形式存储的。-The establishment of plans, which include the maps and the establishment of undirected graph, as well as with the establishment of methods of weight, but also the output graph algorithms, ma<韩寒> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[数据结构常用算法] create_graphic
说明:图的建立,有多种的图可以选择,也可以选择图的遍历方法,里面的图的存储结构是以顶点数组和邻接矩阵的方式存储的。-Map-building, there are several plans to choose, you can choose to graph traversal method, which the storage structure of the plan is based on vertex adjacency matrix of the array and stored the.<韩寒> 在 2025-06-14 上传 | 大小:2kb | 下载:0