-
array.h: 安全数组 linkedlist.h: 普通表 dclinkedlist: 双向循环链表 hashtable.h: 哈希表 binstree.h...
array.h: 安全数组 linkedlist.h: 普通表 dclinkedlist: 双向循环链表 hashtable.h: 哈希表 binstree.h: 二叉搜索树 avltree.h: AVL 树 如果要存储集合(元素不可重复)并快速查找,最佳的是 binstree.h(二叉搜索树)。 如果要存储二维或更高维的表格,最佳的是 hashtable.h(哈系表)。AVL 树的插入成本非常高(删除函数也没有实现),但 AVL 的搜索效率极高,所以适用于在程序开始前初始化程-NOTE:
array.h :secure array,linkedlist.h:common table,
dclinkedlist:dual cycle linkedlist,
hashtable.h:hash table
binstree.h:binary search tree,
avltree.h: AVL tree,
if you want to store set(elements no repeating) and to lookup it swiftly,best is binstree.h(binary search tree).if you want to store two dimensions s or more dimensions s table,best hashtable.h(hash table).the cost of AVL tree s insertion is very high(delete function is not completed),but effiency of AVL tree s search is very high,so it is the same with initialize programme before beginning programme.
- 2022-08-16 05:08:19下载
- 积分:1
-
监视目录下的文件变化:增加,删除,改名
监视目录下的文件变化:增加,删除,改名-surveillance files in the directory changes : add, delete, rename
- 2022-02-03 03:06:42下载
- 积分:1
-
Sparrow may be small, but fully
麻雀虽小,但五脏俱全,曾帮助我入门,希望对他人有帮助-Sparrow may be small, but fully-equipped, who have helped me get started, want to help others
- 2022-02-01 19:40:55下载
- 积分:1
-
artist is a small, suitable for primary use. I hope that people will use the hap...
是一个小画家,适合小学生用.希望大家用的开心哦-artist is a small, suitable for primary use. I hope that people will use the happy oh
- 2022-04-19 13:27:47下载
- 积分:1
-
关于在windows下面的USB的一些源码。可以用来操作USB端口
关于在windows下面的USB的一些源码。可以用来操作USB端口-Windows on some of the following USB source. USB ports can be used to operate
- 2023-05-11 06:10:03下载
- 积分:1
-
matlab图像的发展5章
matlab 图象开发 chapter 5-Matlab Image Development chapter 5
- 2022-04-01 06:44:34下载
- 积分:1
-
在VC++中实现的2维线段的编码裁减,何以扩展到3维线段
在VC++中实现的2维线段的编码裁减,何以扩展到3维线段-Code cut of two dimension line section is achieved in VC++, and it can be extended to three dimension line section.
- 2022-05-21 11:10:35下载
- 积分:1
-
castalia_user_manual OMNET++扩展程序
Castalia_User_Manual Omnet++ expended program
- 2022-11-11 01:15:03下载
- 积分:1
-
quake3 bsp 文件浏览器源代码。
quake3 bsp 文件浏览器源代码。
quake3 bsp 文件浏览器源代码。
quake3 bsp 文件浏览器源代码。-quake3 bsp is codes of files explorer。 quake3 bsp is codes of files explorer。
- 2023-07-29 12:30:04下载
- 积分:1
-
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (1...
快速排序与交换排序算法比较
在Visual C++中建立一个单文档Windows应用程序,并实现下述功能:
运用随机函数自动生成一定规模的测试数据 (10000个测试元素),并输出到文件中。
分别执行快速排序算法和交换排序算法对测试数据排序,并输出到不同的文件中。
使用较为精确的QueryPerformanceCounter和QueryPerformanceFrequency等函数记录算法耗时,精确到毫秒,以便更好地进行算法耗时比较。
分析两种不同算法,有针对性地设计与调整测试数据,进而通过比较算法耗时来得到更充分且更深刻的认识。
编写模块校验两种不同排序算法的输出结果正确且相同
-Quicksort sorting algorithm comparison and exchange
In the Visual C++ to create a single document Windows application, and to achieve the following functions:
The use of random function automatically generates a certain amount of test data (10000 test elements), and output to a file.
Respectively, and the exchange of the implementation of quick sort algorithm sorting algorithm to sort of test data, and output to a different file.
Using a more accurate record of QueryPerformanceCounter and QueryPerformanceFrequency algorithms such as time-consuming functions, accurate to the millisecond, in order to better carry out time-consuming compared algorithms.
Analysis of two d
- 2022-04-22 17:20:42下载
- 积分:1