⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 50.txt

📁 This complete matlab for neural network
💻 TXT
字号:
发信人: fervvac (高远), 信区: DataMining
标  题: Re: 问一个hash函数
发信站: 南京大学小百合站 (Mon Feb 17 11:10:34 2003)

1. If you have a known set of words, you can use Perfect Hash Function.
2. Otherwise,
   -- There is a asection in Knuth's book on hash functions.
   -- You can try the hash function used in compiler. See Aho's book (sth. 
      like Compiler theoris, principles, ???). But the code in their book
      is wrong. There is a page on the web (by google) that gives the 
      corrected code.
   -- Use encryption functions to get a hash value of longer bits. For example,
      MD5 or SHA.


【 在 bitmore (再多一些) 的大作中提到: 】
: 我要把一个单词(word)集放到一个hash表中,
: 请问有什么比较合适的hash函数?
: 谢谢。


--
※ 来源:.南京大学小百合站 bbs.nju.edu.cn.[FROM: 143.89.150.129]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -