搜索资源列表
平衡二叉树操作的演示
- 平衡二叉树实现一个动态查找表,有三种基本功能:查找,插入删除,还有选项功能:合并两棵平衡二叉树,和分裂两棵平衡二叉树.-balanced binary tree to achieve a dynamic lookup table, there are three basic functions : to find, delete, insert, functional options : merging two balanced binary tree, and split two balanc
graphDegree
- 求图的顶点连通度算法。方法就是先对源和汇做枚举,之后对每个枚举情况,把除去源汇两点的其余所有顶点看成是容量限制为1的点,求网络的最大流,就是此点对的顶点连通度,之后对枚举的所有点对找连通度最小的当成图的连通度。 带有顶点容量限制的最大流方法:将带容量限制的顶点u拆成两个点u 和u*,原顶点u的入边为u 的入边,原顶点u的出边为u*的出边,之后在u 和u*之间连接双向边,边的容量为顶点的容量限制。-plans for the vertex connectivity algorithms. F
2501425708
- 此程序用提升法实现第二代小波变换 %% 我用的是非整数阶小波变换 %% 采用时域实现,步骤先列后行 %% 正变换:分裂,预测,更新; %% 反变换:更新,预测,合并 %% 只做一层(可以多层,而且每层的预测和更新方程不同)-the procedure used to upgrade method is the second generation wavelet transform%% I use a non-integer-order wavelet transform%%
SplitADT
- 链表L,创建公有成员函数Split(A,B ),创建2个新表A,B,使的A 中含有L中奇数位置元数,B中含L偶数位置元数 -Chain L, create public member function Split (A, B), to create two new tables A, B, A so containing L odd position of a few yuan, B-L even a few locations yuan
从数据文件records.txt中读取学生信息
- 从数据文件records.txt中读取学生信息,建立与源数据同序的学生链表并打印在屏幕上; 统计学生链表中身高达标人数(男女生的身高达标值由键盘输入),并打印结果; 对上述学生链表按学号进行排序,然后将一位学生的相关信息插入到已按学号排序的学生链表中后仍然保持学号的有序性,将结果链表打印在屏幕上; 对上述操作后的学生链表进行倒置,结果输出到数据文件result.txt中; 删除链表中身高为指定值的所有学生结点并打印; 将当前的学生链表拆分为男生链表和女生链表(没有
Exercise-6
- SSD7 exercise 6. Provide your solution to the following in a file named normalization.txt. Note: The discussion in this exercise is independent of (i.e., completed unrelated to) the E-Commerce project described in the Appendix. The following tab
erfenfadigui
- 用递归实现的二分法,数据结构的典型问题,二分查找也称折半查找,它要求待查找的数据元素必须是按关键字大小有序排列的顺序表。-Realize the dichotomy with recursive data structure of a typical problem, binary search, also known as split-half search, which requires the data elements to be search by keyword must be or
pointset
- 基于OPenCV的源码,用于分割而为点集,函数执行二次方程的算法,将集合拆分成一个或更多的等效类。-Based on the source OPenCV for partition and for the point set, function to implement the algorithm quadratic equation will be split into a set of equivalent or more categories.
paixuqiehuan
- 从文件读入20组数据,用快速排序,每次分割标记分割点。当元素下降到3个时,切换为简单插入排序。-Reading from the file data into 20 groups, using quick sort, split points for each partition tag. When reduced to three elements, the switch to a simple insertion sort.
MRELFFT
- 利用分裂基算法求实序列 的DFT, 的虚部赋值为零。-Split-radix algorithm for the use of realistic sequence of DFT, the imaginary part of the assignment to zero.
Quicksort
- 快速排序(Quicksort)是对冒泡排序的一种改进。由C. A. R. Hoare在1962年提出。它的基本思想是:通过一趟排序将要排序的数据分割成独立的两部分,其中一部分的所有数据都比另外一部分的所有数据都要小,然后再按此方法对这两部分数据分别进行快速排序,整个排序过程可以递归进行,以此达到整个数据变成有序序列。-Quick sort (Quicksort) is a bubble sort of an improvement. By the CAR Hoare in 1962. The b
2-70
- 实现把一个简单链表分裂成两个链表,使两个链表长度相等,或其中一个链表的结点数比另一个多1。思想:用两个指针p,h指向链表,初始时p指向表头结点,h指向第二个结点,然后p指针每次走一步,h指针每次走两步,这样当h走到表尾时,p正好走到中间,因此一个链表就是原链表中从头结点到p结束,另一个链表就是从p以后开始的链表。-Implement a simple list to split into two lists, so that the two lists of equal length, or o
normalization
- SSD7. Provide your solution to the following in a file named normalization.txt. Note: The discussion in this exercise is independent of (i.e., completed unrelated to) the E-Commerce project described in the Appendix. The following table captures
fenjie
- 里面描述了将一个数分解成若干个质数的乘积的形式的算法,很简洁,希望能给大家一点儿启发。-it describes the split method of a data to a series .
corsair
- 一伙海盗抢劫一艘商船后,共截获重量不等的N 个金币。海盗试图按重量平分金币,但由于金币 不可分割,所以他们想确定最多可以将这批金币平均分给多少个海盗。请编写程序确定分配方案。 【输入】 输入包含两行: 第一行为一个正整数N,表示金币总数。 第二行包含N 个正整数,表示N 个金币的重量,以空格分隔。 【输出】 只有一行:包含一个正整数,表示输入给定的N 个金币最多可以平均分给多少个海盗。
KDTreeTest
- 这是一个名为kdtree的数据结构源码,用来划分高维空间,并且查找最近的点-this source code is a kind of structure to split the space of multi-dimension, which is named kdtree. And you can use it to compute the nearest point in the database.
Address
- 数据结构课设-通讯录管理,VC++编写 基本要求 (1) 添加:增加一个人的记录到通讯录中; (2) 显示:在屏幕上显示所以通讯录中的人员信息,应能分屏显示; (3) 存储:将通讯录信息保存在一个文件中; (4) 装入:即将文件中的信息读入程序; (5) 查询:可根据姓名查找某人的相关信息,若找到显示其姓名、地址、电话号码、电子邮箱; (6) 修改:可修改一个人的除姓名之外的其他信息 -Set of data structures class- contact m
splaytree
- 从自顶向下和自下向上两种方法实现了伸展树的全部功能 如插入 查找 删除 合并 分裂-Tree stretching from the top-down and bottom-up are two ways to achieve all of the features, such as the insertion Find deleted merger split
backtracking-method-split-
- 采用回溯的方法拆分整数,效率相对较低,但是容易理解,使用栈实现,原创-Retrospective method split integer efficiency is relatively low, but it is easy to understand, use the stack to achieve, originality
ACM_1.3.4
- 输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应该被忽略掉,除非这个整数就是由若干个‘0’组成的,这时这个整数就是0)。 你的任务是:对这些分割得到的整数,依从小到大的顺序排序输出。-Enter a column of figures, if we put this line digital ' 5 ' are seen as a space, then you get a line
