-
哈希表的设计
[问题描述]
真对你所在的集体(比如你所在的班级)中的人名设计一个哈希表,使得平均查找长度不超过R,完成相应的建表和查表的程序。...
哈希表的设计
[问题描述]
真对你所在的集体(比如你所在的班级)中的人名设计一个哈希表,使得平均查找长度不超过R,完成相应的建表和查表的程序。
[基本要求]
假设人名为中国人姓名的汉语拼音形式,待填入的哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留余数方法构造,用伪随机探测再散列处理冲突。
-Hash table design [description of the problem] really right in your collective (such as in your class) in the design of a hash table of names, bringing the average search length of less than R, the completion of construction of the corresponding tables and look-up table procedures. [Basic requirements] assumed the names of people known as the Chinese pinyin form, fill in the hash table to be a total of 30 names, taking the average search length of the upper limit of 2. Hash function with the addition of more than a few ways to stay construction, using pseudo-random probing re-hashing to resolve disputes.
- 2022-02-07 13:16:03下载
- 积分:1
-
Kconfig language exposition document
Kconfig language exposition document
- 2022-03-22 11:08:49下载
- 积分:1
-
中国象棋的C++实现
资源描述
使用C++语言编写的中国象棋的实现。
- 2023-06-03 12:50:03下载
- 积分:1
-
用VC6.0实现的猜数字游戏 是c++入门必定要搞定的逻辑程序 大学课堂比做的程序...
用VC6.0实现的猜数字游戏 是c++入门必定要搞定的逻辑程序 大学课堂比做的程序-it is achieved by c++6.0
- 2022-03-23 08:15:29下载
- 积分:1
-
331 games. Very classic, but there are some functional deficiencies, and that ne...
五子棋联网游戏。很经典的,不过还有一些功能上的不足,这是需要改进的地方。-331 games. Very classic, but there are some functional deficiencies, and that needs improvement.
- 2022-05-07 17:13:07下载
- 积分:1
-
website template 2002925151619.zip
网站模版2002925151619.zip-website template 2002925151619.zip
- 2022-03-10 13:37:24下载
- 积分:1
-
一个WINDOWS消息的示例程序,相当有意思,仔细看看.
一个WINDOWS消息的示例程序,相当有意思,仔细看看.-a news WINDOWS examples of procedures, very interesting, and to look carefully.
- 2022-11-25 16:40:03下载
- 积分:1
-
修正后版本
遗传算法是基于达尔文进化论的一种智能优化算法,一种可用于复杂系统优化的具有鲁棒性的搜索算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广...
修正后版本
遗传算法是基于达尔文进化论的一种智能优化算法,一种可用于复杂系统优化的具有鲁棒性的搜索算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛应用于组合优化、离散优化、工程优化等领域。旅行商问题是一种NP难的组合优化问题,具有重要的理论研究价值和实际应用背景。然而,传统遗传算法中存在有不足,需要提出新的改进的遗传算法,并应用于旅行商问题的求解。-Amended version of genetic algorithm based on Darwin" s theory of evolution is an intelligent optimization algorithm, a complex system can be used to optimize the robustness of the search algorithm, the application of traditional methods to solve difficult and complex, nonlinear problems, can be widely used in combinatorial optimization, discrete optimization, engineering, optimization and other fields. Traveling Salesman Problem is a NP hard combinatorial optimization problem, has important theoretical value and practical application of research background. However, the traditional genetic algorithm, there is less than the need to introduce new improved genetic algorithm, and applied for solving the traveling salesman problem.
- 2023-06-10 23:05:03下载
- 积分:1
-
用于关闭Windows信使服务弹出窗口的小程序,使用Delphi6编写,调用相关的API函数。最经典之处在于发现了WindowsNT5系列的OS(XP&2K)的...
用于关闭Windows信使服务弹出窗口的小程序,使用Delphi6编写,调用相关的API函数。最经典之处在于发现了WindowsNT5系列的OS(XP&2K)的信史服务弹出窗体中,信使服务四个字后面有一个空格。-closed for the Windows Messenger Service pop-up window to the small, the use of Delphi6 preparation, call the API function. The most classic is that WindowsNT5 found a series of OS (XP2K) messenger service pop-up window, the courier services are the words behind a box.
- 2022-01-28 03:19:37下载
- 积分:1
-
这是一个简单的时钟程序。可以设置时钟的一些参数,更好的为用户服务。...
这是一个简单的时钟程序。可以设置时钟的一些参数,更好的为用户服务。-This is a simple clock program. You can set the clock a number of parameters, and better for the users.
- 2022-04-22 09:54:38下载
- 积分:1