登录
首页 » 其他项目 » 对任何集体(如你自己的类)的问题描述…

对任何集体(如你自己的类)的问题描述…

于 2022-01-22 发布 文件大小:2.41 kB
0 145
下载积分: 2 下载次数: 1

代码说明:

一:问题描述 针对某个集体(比如你所在的班级)中的“人名”设计一个哈希表,使得平均查找长度不超过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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 数据结构教材中的全部排序算法,结构清楚 很好用的
    数据结构教材中的全部排序算法,结构清楚 很好用的-data structure of all materials sorting algorithm, the structure clearly good use
    2022-04-29 10:24:44下载
    积分:1
  • err
    《NS2与网络模拟》这本书的源代码 经典-err
    2022-04-10 13:03:41下载
    积分:1
  • this is μC_OS
    this is μC_OS-Ⅱchinese for arm7 operation,include some useful code
    2022-05-21 07:29:23下载
    积分:1
  • 递归分析器,完成递归分析器的各个功能,很好用
    递归分析器,完成递归分析器的各个功能,很好用-Recursive parser, analyzer finish all recursive functions, a very good use
    2022-09-21 18:10:03下载
    积分:1
  • 内容和要求 1. 论述课题的性质、内容以及本次课程设计的的和要求。 2. 说明系统对计算机软、硬件环境的基本要求,对Windows操作系统和VF6.0...
    内容和要求 1. 论述课题的性质、内容以及本次课程设计的目的和要求。 2. 说明系统对计算机软、硬件环境的基本要求,对Windows操作系统和VF6.0数据库管理系统简要的说明。 3. 总体设计方案的分析、比较和论证。 4. 数据库的建立,数据库中表的结构,各表中关键字的设置,表与表之间的关系。 5. 应用程序的菜单设计和界面设计,表单和报表的设计。 6. 编写代码、上机输入、调试、修改并运行通过。 7. 编写课程设计说明书。说明书是总结性的技术文件,应全面叙述整个设计的内容及过程(可参考上述6条),发现的问题及解决方法等。 8. 源代码和参考书目应作为说明书的附录。 9. 说明书应采用学校印刷的课程设计专用纸张,文字说明不少于6000字,数据库的总记录条数不少于100条。说明书中应包括系统结构示意图。 10.说明书一律横向装订,装订线在左侧。按目录、正文、 -a content and requirements. Discussed issues of the nature, content and design of the course the purpose and requirements. 2. Note to the computer system software and hardware environment, the basic requirements are that for Windows operating systems and database management systems VF6.0 briefly. 3. Design program analysis, comparison and verification. 4. The creation of the database, the database table structure, the keyword table settings, table and the relationship between the table. 5. Application procedures for the design and menu interface design, and the statements of the form d
    2022-02-01 20:45:24下载
    积分:1
  • 带音乐功能的跑表VerilogHDL描述
    带音乐功能的跑表VerilogHDL描述-music with the stopwatch Verilog HDL description
    2022-04-30 17:14:12下载
    积分:1
  • C++ _console自写申请为C++初学者
    C++_console self writting application for beginners into c-C++_console self writting application for beginners into c++
    2022-08-17 12:34:54下载
    积分:1
  • 输出TXT文件内容,一行 读取,可对每行进行操作
    输出TXT文件内容,一行 读取,可对每行进行操作-The output TXT file contents, line by line read, can operate on each line
    2022-09-26 16:05:03下载
    积分:1
  • the compressed package is a "generation Fonts" process required two dy...
    本压缩包是上一个“生成字模”的程序所需要的两个动态链接库,使免费下载的。-the compressed package is a "generation Fonts" process required two dynamic link library, a free download.
    2022-01-27 09:13:49下载
    积分:1
  • 串口调试软件,支持自动发送,支持多串口,不是源码,转发
    串口调试软件,支持自动发送,支持多串口,不是源码,转发-Serial debugging software to support the automatic transmission, support multi-serial port, not source code, forwarding
    2022-04-25 09:27:57下载
    积分:1
  • 696518资源总数
  • 104509会员总数
  • 10今日下载