资源列表
Josephus(data_struct)
- 数据结构中基于约瑟夫环问题,用C++方式实现的-Data structure based on Josephus problem with C++ a manner. . . . .
Test6
- 最短路径算法。 用无向带全图的邻接矩阵存储图,确定从源点出发到其它各点的最短路径。 输入:图中包含的顶点数n 边数m, 各边权值,用邻接矩阵或者邻接表存储。 输出:源点到其它各点的最短路径值。-Shortest path algorithm. Adjacency matrix storage with undirected graph with a full figure, determine the starting point of the shortest path from
LCS
- 该程序用于求两个序列的最长子段,通过动态规划算法,记录子问题的结果,进而求出最终的最长子段。-The procedure used to find the longest sequence of two sub-sections, through dynamic programming algorithm to record the results of sub-problems, and then find the longest sub-section final.
single-linked-list2
- 初始化循环单链表H; 依次采用尾插法插入a,b,c,d,e元素; 输出循环单链表H; 输出循环单链表H长度; 判断循环单链表H是否为空; 输出循环单链表H的第三个元素; 输出元素’a’的位置; 在第四元素位置上插入’f’元素; 输出循环单链表H; 删除循环单链表H的第三个元素; 输出循环单链表H; -Initialize the circular single linked list H Turn the tail interpolation int
zhaobianjie_new
- 可以准确的找出边界 快速 有效 效果好 -Can accurately identify the border quickly and effectively effect is good
zuichanggonggzixulei
- 应用动态规划法求解两个字串的最长公共自序列及其长度-dynamic programming method for two of the longest string since the public sequence and length
实习2.3
- 用栈的形式实现车厢调度,火车入口处的车厢序列编号为1到n-Realizes the compartment dispatch with the stack form,The train entrance compartment sequence serial number is 1 to n
topsorting
- 此函数功能是图的遍历算法,用邻接矩阵存储图,然后求出其拓扑排序,再输出其图的信息-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
PDC
- Apply Ben-Israel and Iyigun s Probabilistic D-Clustering (PDC) algorithm for clustering. This implementation is based on: Adi Ben-Israel and Cem Iyigun, "Probabilistic D-Clustering", Journal of Classification 25:5-26 (2008)
jusephus
- 编号为1,2,3,。。。,n的n个人围坐在一圆桌旁,每人持有一个正整数密码。从第一个人开始报数,报到一个预先约定的正整数m 时,停止报数,报m 的人退席,下一个人重新从1开始报数,依此重复,直至所有的人都退席。-Numbered 1,2,3,. . . , N of n individuals sitting at a round table, each holding a positive integer code. The number of individuals starting fro
0
- c写的二叉树 包括二叉树的建立并用深度优先算法进行搜索-I hope it will help you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Graphics2D
- another file data structures