资源列表
[数据结构常用算法] Dijkstra
说明:这个例程,会在多条相同最短路径中选出边数最少的路径.只是改变path域即可在遍历的时候访问到边数少的路径.核心的思想,就是建立一个数组,存放从出发点到当前顶点的最短路径边数.通过每次查看最短路径相同的情况, 即dv + cvw = dw.时,如果 Count[v] + 1 < Count[w]时,就执行 Count[w] = Count[v] + 1, 同时 w -> path = c.-This routine will be the same number of shortest<php0> 在 2025-06-10 上传 | 大小:1kb | 下载:0
[数据结构常用算法] ListInsert_sq
说明:C/C++实现在顺序存储结构下对线性表进行插入元素、删除元素、合并等各种操作。结构清晰,有注释。-C/C++ realization of the storage structure in order to insert the table under the linear elements, delete elements, merging and other operations. Clear structure, with comments.<hlyiran> 在 2025-06-10 上传 | 大小:1kb | 下载:0
[数据结构常用算法] Efficient-discretization
说明:高效 离散化 适用于数值范围很广,但是数据很稀疏的情况。-Efficient discretization<ZHANGKE> 在 2025-06-10 上传 | 大小:1kb | 下载:0