📄 hashheap.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>hash heap</TITLE>
<META name="description"
content="Definition of hash heap,
possibly with links to more information and implementations.">
<META name="keywords" content="hash heap">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>hash heap</H1>
<P>
(data structure)
<P>
<strong>Definition:</strong>
An efficient implementation of a <a href="priorityque.html" tppabs="http://hissa.nist.gov/dads/HTML/priorityque.html"><em>priority queue</em></a>. The <a href="linearhash.html" tppabs="http://hissa.nist.gov/dads/HTML/linearhash.html"><em>linear hash</em></a> function monotonically maps keys to <a href="bucket.html" tppabs="http://hissa.nist.gov/dads/HTML/bucket.html"><em>buckets</em></a>, and each bucket is a <a href="heap.html" tppabs="http://hissa.nist.gov/dads/HTML/heap.html"><em>heap</em></a>.
<P><strong>See also</strong>
<a href="bucketsort.html" tppabs="http://hissa.nist.gov/dads/HTML/bucketsort.html"><em>bucket sort</em></a>.
<P><em>Note:
This is a bucket sort where the buckets are organized as heaps. The linear hash function maps increasing keys into nondecreasing values, that is, key1 > key2 implies h(key1) is greater than or equal to h(key2). It is not clear what happens if a bucket gets full. <P>Let R be the ratio between the key range and the range of the hash function. If R is so large there is only one bucket, we have a regular heap. If R is one, it is a direct mapped array. This data structure was proposed by Chris L. Kuszmaul <fyodor@nas.nasa.gov> in the news group comp.theory 13 January 1999.</em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</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>
(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).
<p>
Entry modified Mon Dec 27 15:33:24 1999.<BR>
HTML page formatted Mon Dec 27 16:23:52 1999.
<P>
This page's URL is
<A href="hashheap.html" tppabs="http://hissa.nist.gov/dads/HTML/hashheap.html">http://hissa.nist.gov/dads/HTML/hashheap.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -