-
对任何集体(如你自己的类)的问题描述…
一:问题描述
针对某个集体(比如你所在的班级)中的“人名”设计一个哈希表,使得平均查找长度不超过R,完成相对的建表和查表程序。
二:基本要求
假设人名为中国人姓名的汉语拼音形式。待填入哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留余数法构造,用伪随机探测再散列法处理冲突。
三:实现提示
如果随机函数自行构造,则应首先调整好随机函数,使其分布均匀。人名的长度均不超过19个字符(最长的人名如:庄双双(ZHAGN SHUANG SHUANG)。字符的取码方法可直接利用C语言中的tosacii函数,并可对过长的人名先作折叠处理。
四:需求分析
本演示程序是对哈希表的建立和查找进行演示,主要数据来自自己编写的人名“A~~Z”等字母组成,拼音由开头的字母组成的词组,查找时用伪随机探测再散列法处理冲突。随机产生人名的位置。具体的程序内容在源程序里面有比较详细的解析。程序的运行在下列有详细的介绍。
-one : Problem description against any collective (such as your own classes) of "names" design a hash table. you make the average length of not more than R, completes the construction and Lookup Table procedures. Two : the assumption that the basic requirements were known as the Chinese name of Chinese pinyin form. Hash Table question Enter the names of a total of 30, you take the average length of a maximum of two. Hash functions with a few exception I stay constructed using pseudo-random re-hash detection method to resolve disputes. 3 : Achieving suggested ra
- 2022-01-22 16:42:56下载
- 积分:1
-
C3传奇3引擎完整源码+开发日志
重新编写客户端内核,支持硬件加速渲染模式,纹理压缩等最新技术,图像帧动画,粒子系统。内存CPU占用低,执行效率高,游戏更加流畅。支持16位,32位真彩色。
压缩包过大放百度盘(Rewrite the client kernel to support hardware accelerated rendering mode, texture compression and other latest technologies, image frame animation, particle system. The memory CPU occupies low, the execution efficiency is high, and the game is more smooth. Support 16 bits, 32 bits true color.
Compressed Packet Oversize Baidu Disk)
- 2019-01-27 18:08:09下载
- 积分:1
-
underwateracousticchannel
水声信道传输特性进行仿真的程序,包括水声信道特性对时反镜稳健性能影响等仿真程序。(underwater acoustic channel characteristics of simulation procedures, including underwater acoustic channel characteristics of a mirror when the anti-impact sound performance simulation program.)
- 2020-07-04 05:40:02下载
- 积分:1
-
防沉迷修改
说明: 源码修改防沉迷,修改完后等一会上游戏后 需要等一下在上游戏 未成功可能是 服务期延迟(Need to wait a minute later. Failure in the game may be due to service delay.)
- 2020-06-22 09:40:07下载
- 积分:1
-
用VB做的股票软件,看到网站给你的信息。
用VB做的看网站股票的软件,给各位参考。-VB to do with the stock software, see the website to give your information.
- 2023-06-10 14:00:04下载
- 积分:1
-
水电站诊断
说明: C1 –转子故障检测19案例
C2 –排水泵的状态监控20病例
C3 –音频监视21
案例C4 –使用振动数据监视旋转设备的状态 23
案例C5 –发电机轴承的状态监控24
案例C6 – Kaplan涡轮液压系统的状态监测25
案例C7 –电力变压器的故障检测26
案例C8 – SCADA数据收集系统27情况C9 –连续监视伺服电机
28案例X1 – OSIsoft PI模型集成29(C1 -- 19 cases of rotor fault detection
C2 - status of drainage pump monitored for 20 cases
C3 - audio monitoring 21
Case C4 - monitoring the state of the rotating device using vibration data 23
Case C5 -- state monitoring of generator bearing 24
Case C6 -- status monitoring of Kaplan turbo-hydraulic system 25
Case C7 - fault detection of power transformer 26
Case C8 - SCADA data collection system 27 case C9 - continuous monitoring servo motor
28 case X1 -- OSIsoft PI model integration 29)
- 2020-04-13 08:24:28下载
- 积分:1
-
C#调用类库实例
C#调用类库实例,源码目录中有两个文件夹,CDemoLib文件夹内是DLL调用实例,CDemoTest目录中是DLL源代码,程序较简单,仅供参考,源代码可以vs2008下顺利编译。
- 2022-03-22 22:36:04下载
- 积分:1
-
polar code源码
说明: 极化码的基础编译码程序,适合初学者学习使用(The basic compiler of polarization code is suitable for beginners to learn and use)
- 2019-11-28 11:00:38下载
- 积分:1
-
熵权法
说明: 熵权法解决评价类问题,注释详细,可修改,可套用(Entropy weight method to solve evaluation problems, detailed annotations, can be modified)
- 2020-06-17 01:00:02下载
- 积分:1
-
BMS
基于mega16 开发的 电池管理系统,12864 显示菜单,八路四组AD采样,电池内阻频率发生器,读取反馈信号测试电池内阻,IGBT控制充电。(Mega16 development based on a battery management system, 12864 display menu, eight four AD sampling, the battery internal resistance frequency generator, read the feedback signal test the battery internal resistance, IGBT control charging.)
- 2013-06-13 21:03:38下载
- 积分:1