资源列表
[数据结构常用算法] shujujiegou_calculate
说明:基于MFC的计算器程序。类型同windows的计算器程序。利用数据结构的知识。-MFC-based calculator program. Type with the windows calculator program. Using the knowledge of the data structure.<wang> 在 2025-06-20 上传 | 大小:2.27mb | 下载:0
[数据结构常用算法] st
说明:数塔问题的解决算法,用于计算数塔中从顶层走到底层,若每一步只能走到相邻结点,则经过的结点的数字之和最大是多少。-Number of tower problem algorithm used to calculate the number of the tower from the top go bottom, each step can only be reached if the adjacent nodes, then after the number of nodes and the ma<张智> 在 2025-06-20 上传 | 大小:559kb | 下载:0
[数据结构常用算法] folyd
说明:1.求所有点对的最短路径问题,设G=(V,E)是一个有向图,其中的每条边(i,j)由一个非负的长度l[i,j],如果从顶点i到顶点j没有边,则l[i,j]=∞。要找出从每个顶点到其他所有顶点的距离,这里从顶点x到顶点y的距离是指从x到y的最短路径的长度。 2. 通过一个图的权值矩阵求出它的每两点间的最短路径矩阵。 3. 从图的带权邻接矩阵A=[a(i,j)] n×n开始,递归地进行n次更新,即由矩阵D(0)=A,按一个公式,构造出矩阵D(1);又用同样地公式由D(1)构造出D(2);……<suyu> 在 2025-06-20 上传 | 大小:4kb | 下载:0
[数据结构常用算法] Dijkstra
说明:用D[i]来表示当前从源到顶点i的最短特殊路径长度。假设u是G的某一顶点,把从源到u且中间只经过S中顶点的录称为从源到u的特殊路径,并用D数组记录当前每个顶点对应的最短特殊路径长度。Dijkstra算法每次从V-S中取出具有最短特殊路径长度的顶点u,将u添加到S中,同时对D数组作必要的修改。一旦S中包含了V中所有顶点,D就记录了从源到所有其它顶点之间的最短路径长度。-With D [i] to indicate the current node i from the source to the<suyu> 在 2025-06-20 上传 | 大小:4kb | 下载:0
[数据结构常用算法] Data-structure
说明: 数据结构的一些源代码,可以直接运行,不是光函数,方便初学者学习!-Data structure of some source code can be run directly, instead of light function, easy for beginners to learn!<空空> 在 2025-06-20 上传 | 大小:11kb | 下载:0
[数据结构常用算法] Stack_Public_Interface
说明:< Mastering Algorithms with C>>的Stack公共接口-Stack public interface for <<Mastering Algorithms with C>><xushihao> 在 2025-06-20 上传 | 大小:1kb | 下载:0