linearprobng.html

来自「数据结构词典(英文)」· HTML 代码 · 共 50 行

HTML
50
字号
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>linear probing</TITLE>
<META name="description"
  content="Definition of linear probing,
	possibly with links to more information and implementations.">
<META name="keywords" content="linear probing">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<H1>linear probing</H1>
<P>
(data structure)

<P>
<strong>Definition:</strong>
A <a href="hashtab.html" tppabs="http://hissa.nist.gov/dads/HTML/hashtab.html"><em>hash table</em></a> in which a <a href="collision.html" tppabs="http://hissa.nist.gov/dads/HTML/collision.html"><em>collision</em></a> is resolved by putting the item in the next empty place in the array following the occupied place.  With an even moderate <a href="loadfactor.html" tppabs="http://hissa.nist.gov/dads/HTML/loadfactor.html"><em>load factor</em></a>, <a href="primary.html" tppabs="http://hissa.nist.gov/dads/HTML/primary.html"><em>primary clustering</em></a> tends to slow retrieval.
<P><strong>See also</strong>
<a href="doublehashng.html" tppabs="http://hissa.nist.gov/dads/HTML/doublehashng.html"><em>double hashing</em></a>, <a href="quadraticprb.html" tppabs="http://hissa.nist.gov/dads/HTML/quadraticprb.html"><em>quadratic probing</em></a>.
<P><em>Note:
Deletion may be hard because finding collisions again relies on not creating empty spots.  One solution is to mark an entry as deleted so it can be reused for insertion, but the search list is still intact.</em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</a>
<H2>Implementation</H2>
<a href="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/334.ins.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/334.ins.c.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/334.ins.c.html">insert (C)</a>, <a href="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/334.srch.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/334.srch.c.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/334.srch.c.html">search (C)</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 Tue Apr  6 07:41:52 1999.<BR>
HTML page formatted Wed Dec 22 09:35:44 1999.

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

</BODY>
</HTML>

⌨️ 快捷键说明

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