搜索资源列表
数据结构中所用的8种排序方法
- 本程序集合了数据结构8种主要的排序方法:插入排序、冒泡排序、选择排序、快速排序、希尔排序、堆排序、归并排序、基数排序。-the procedures set of data structure of the eight major sequencing method : Insert ranking Bubble Sort, select, in order of Quick Sort, Hill sequencing, heap sort, merge, in order of ranking
算式分析器
- 使用递归的方法实现的算式分析器,给定一个符合C语言格式的算式,可以使用括号,单目运算符等,计算算式的运算结果。-use recursive method formula Analyzer, to set a C-language format with the formula, you can use brackets, Monocular Operators, calculation formula of the calculation results.
HXBSZ
- 1、设每个记录有下列数据项:电话号码、用户名、地址; 2、从键盘输入各记录,分别以电话号码和用户名为关键字建立哈希表; 3、采用再哈希法解决冲突; 4、查找并显示给定电话号码的记录; 5、查找并显示给定用户名的记录。 6、在哈希函数确定的前提下,尝试各种不同类型处理冲突的方法(至少两种),考察平均查找长度的变化。 -1, for each record the following data items: telephone numbers, user name, addr
datrie_cvs20061001.tar
- This an implementation of double-array structure for representing trie, as proposed by Junichi Aoe [1]. Trie is a kind of digital search tree, an efficient indexing method with O(1) time complexity for searching. Comparably as efficient as h
Hash
- 1. 本程序是针对“人名”设计的哈希表。 2. 程序中人名为汉语拼音形式,共30个人名,取平均查找长度的上限为2.哈希函数用除留余数法构造,用伪随机探测再散列法处理冲突。 3. 本程序以用户和计算机的对话方式执行,即在计算机终端上显示“提示信息”之后,由用户在键盘上输入程序中规定的运算命令;相应的输入数据(滤去输入中的非法字符)和运算结果显示在其后。4.本程序是清华严蔚敏配套哈希表程序-1. This program is for " names" design of the
ds_6
- 1.定义哈希表数据结构。 2.除留余数法做为哈希函数、 H(key) = key P 用线性探测再散列解决冲突方法,编写函数,实现哈希造表的过程,并输出哈希表。 3.编写函数,求查找成功时的平均查找长度(ASL)。-1. Define hash table data structure. 2. In addition to leaving the remainder as the hash function method, H (key) = key P re-hashing
Sim
- 单纯形法,可以用于进行线性规划解的求取。在数学上有一定的应用价值,但速度上可能不太优化,如果对速度有要求的,可参考MATLAB-Simplex method, linear programming solution can be used to carry out the strike. In mathematics there is a certain value, but the speed may not be optimized for speed if required, can re
69254514key_path
- 关键路径法,求最早开始、最晚开始和工期,求出关键路径-Critical path method, find the early start, late start and duration, find the critical path
Cp23-(1)
- 关键路径法,求最早开始、最晚开始和工期,求出关键路径-Critical path method, find the early start, late start and duration, find the critical path
single-list-method
- 此实验利用前插法创建一个单链表,利用单链表的功能动态地开辟空间存储数据,以及删除数据释放空间。首先建立带表头结点的单链表,并输入数据。接着输出单链表中所有结点的数据域值。然后输入x,y在第一个数据域值为x的结点之后插入结点y,若无结点x,则在表尾插入结点y。最后输入k,删除单链表中所有的结点k,并输出被删除结点的个数。-The experimental use of forward runs to create a single list method, using a single linke
Binary-search-method-
- 折半查找法(在一个给定的数组中有没有给定的数)。-Binary search method (in a given array, there is no number given).
Bubble-sort-method
- 冒泡法排序:如果有n个数,则要进行n-1趟比较。在第1趟比较中要进行n-1次两两比较,在第j趟比较中要进行n-j次两两比较-Bubble sort method: If you have n numbers, n-1 times will have to be compared. Times in comparison to the first n-1 times for any two, in comparison to the j-times nj times for pairwise co
Bubble-method-to-improve
- 简单的冒泡法改进算法,很容易理解,可能还需要进一步完善-Simple bubble method improved algorithm, it is easy to understand, may still need further improvement
Variable-Scale-method
- 变尺度法BFGS算法的C++源码,解优化问题。-C++ code for variable scale method BFGS algorithm, solve optimized problems.
Classic-sorting-method
- 三种排序法:选择排序、边存放边排序、冒泡排序-Three kinds of sorting method: selection sort, side storage and sorting, bubble sort
Advance-and-retreat-method
- 用进退法、0.618法求解函数的解—实例。附有测试实例-Advance and retreat method, 0.618 Method function of the solution- an instance of. Attached to the test instance
backtracking-method-split-
- 采用回溯的方法拆分整数,效率相对较低,但是容易理解,使用栈实现,原创-Retrospective method split integer efficiency is relatively low, but it is easy to understand, use the stack to achieve, originality
Direct-insertion-method-main2
- 这是用C++语言写的一个用直接排序法排序的程序-This is written in c++ language a program that sorted by direct sequencing method
Selection-method-main4
- 这是用C++语言写的一个用选择排序法排序的程序-This is written in c++ language with a selection method of the program
C---C-space-reconstruction-method
- C-C空间重构法,对随机信号进行空间重构。-C- C space reconstruction method, the random signal space reconstruction.
