- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
第九章散列表.ppt
长度为8的字符串,最大值为8×127=1016,第一种方法没有利用表长。 第二种方法仅取前三位进行计算,按等比数列求和方法可得到数据的组合大约为17576,实际组合为 * The birthday problem tells us that we‘re going to have collisions. You need a quadratic amount of memory to avoid collisions. In the lower balancing, a coupon collector analysis tell us that the collisions are going to be evenly distribute, distributed among the table, around the table. * this was studied in detail by Knauf, Don Knauf, in the 1960s and actually this problem, Knauf says, was the origin of the origin of analysis of algorithms. Mathematicians were trying hard to understand this problem and were ready to give up and he realized you could use classical balls and bins type probabilistic analysis. Not an easy analysis, but we actually could make precise accurate statements about the performance of this algorithm. And those statements can be borne out in practice, because the hash functions approximate random, the math assumes random and the formulas predict what actually happened in practice. No way can you formulate the problem as so called parking problem. So, what happens is that you are on a one way street and you are looking for a parking place and, its, the ideas you start looking for a parking place at particular times and say Okay, now I need a parking place, and what youre doing is linear probing hashing. If the current space is taken, you try the next space and the one after and so forth. And the question is. If every car. Starts looking for a place at a random time. That. Then that models the hash function, then how far do they have to go to look for a place? Thats canoots parking problem. And he was able to show, and well talk just a little bit about this, that if, theres, only half of the parking spaces are occupied, then, on average, half the people find, find it after one place and the other half have to look one extra. So thats the kind of performance that we want. But as it gets full. The displacement gets up to square root, of pi M over eight. Which is o
您可能关注的文档
最近下载
- 《校园危机事件应对与处理》专题讲座.pptx VIP
- 一次性使用中心静脉导管套装产品技术要求标准2024年.docx VIP
- 《工程伦理》课程教学大纲.docx VIP
- GB50217-2018 电力工程电缆设计标准.docx VIP
- (高清版)-B-T 17799.2-2023 电磁兼容 通用标准 第2部分:工业环境中的抗扰度标准.pdf VIP
- 2025山西航空产业集团有限公司校园招聘86人(第二批)笔试参考题库附答案解析.docx VIP
- 屋顶光伏发电项目施工方案.doc
- 四川省2024年普通高校对口招生统一考试语文真题(含答案解析).docx VIP
- 企业发展五年规划目录.PDF VIP
- 2025年电信人工智能学习考试题库(含答案).pdf VIP
文档评论(0)