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

📄 hash.html

📁 数据结构词典(英文)
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>hash</TITLE>
<META name="description"
  content="Definition of hash,
	possibly with links to more information and implementations.">
<META name="keywords" content="hash">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<H1>hash</H1>
<P>
(algorithm)

<P>
<strong>Definition:</strong>
A function which maps <a href="key.html" tppabs="http://hissa.nist.gov/dads/HTML/key.html"><em>keys</em></a> to integers, hopefully to get a more even distribution on a smaller set of values.
<P><strong>See also</strong>
<a href="hashtab.html" tppabs="http://hissa.nist.gov/dads/HTML/hashtab.html"><em>hash table</em></a>, <a href="linearhash.html" tppabs="http://hissa.nist.gov/dads/HTML/linearhash.html"><em>linear hash</em></a>, <a href="perfecthash.html" tppabs="http://hissa.nist.gov/dads/HTML/perfecthash.html"><em>perfect hashing</em></a>, <a href="minimalperfh.html" tppabs="http://hissa.nist.gov/dads/HTML/minimalperfh.html"><em>minimal perfect hashing</em></a>, <a href="orderpresmph.html" tppabs="http://hissa.nist.gov/dads/HTML/orderpresmph.html"><em>order preserving minimal perfect hashing</em></a>, <a href="pearsonshash.html" tppabs="http://hissa.nist.gov/dads/HTML/pearsonshash.html"><em>Pearson's hash</em></a>.
<P><em>Note:
The range of results is typically [0 ... m-1] where m is a prime number or a power of 2.</em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</a>
<H2>Implementation</H2>
See the implementations at <a href="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://hissa.nist.gov/dads/HTML/minimal.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://hissa.nist.gov/dads/HTML/minimal.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://hissa.nist.gov/dads/HTML/minimal.html">minimal perfect hashing (C++ and C)</a> and <a href="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://hissa.nist.gov/dads/HTML/personshash.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://hissa.nist.gov/dads/HTML/personshash.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://hissa.nist.gov/dads/HTML/personshash.html">Person's hash (C)</a>. Hash functions for <a href="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/331.hash.c.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/331.hash.c.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/331.hash.c.html">strings (C)</a>,  <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.octavian.org/cs/software.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.octavian.org/cs/software.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.octavian.org/cs/software.html">strings (C and Perl)</A>
<H2>More information</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ee.uwa.edu.au/%7Eplsd210/ds/hash_func.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ee.uwa.edu.au/%7Eplsd210/ds/hash_func.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ee.uwa.edu.au/%7Eplsd210/ds/hash_func.html">Hashing Functions</A>

<hr>

Go to the
<A HREF="terms.html" tppabs="http://hissa.nist.gov/dads/terms.html">Algorithms, Data Structures, and Problems</A>
home page.

<hr>

If you have suggestions, corrections, or comments, please get in touch
with
<a href="javascript:if(confirm('http://hissa.nist.gov/~black/black.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://hissa.nist.gov/~black/black.html'" tppabs="http://hissa.nist.gov/~black/black.html">Paul E. Black</a>
&nbsp;(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).

<p>
Entry modified Thu Jan 20 16:42:15 2000.<BR>
HTML page formatted Thu Jan 20 16:53:29 2000.

<P>
This page's URL is
<A href="hash.html" tppabs="http://hissa.nist.gov/dads/HTML/hash.html">http://hissa.nist.gov/dads/HTML/hash.html</A>

</BODY>
</HTML>

⌨️ 快捷键说明

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