📄 transpossrch.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>transpose sequential search</TITLE>
<META name="description"
content="Definition of transpose sequential search,
possibly with links to more information and implementations.">
<META name="keywords" content="transpose sequential search">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>transpose sequential search</H1>
<P>
(algorithm)
<P>
<strong>Definition:</strong>
Search an <a href="array.html" tppabs="http://hissa.nist.gov/dads/HTML/array.html"><em>array</em></a> or <a href="list.html" tppabs="http://hissa.nist.gov/dads/HTML/list.html"><em>list</em></a> by checking items one at a time. If the value is found, swap it with its predecessor so it is found faster next time.
<P><strong>See also</strong>
<a href="linearsrch.html" tppabs="http://hissa.nist.gov/dads/HTML/linearsrch.html"><em>linear search</em></a>.
<P><em>Note:
Also called a <a href="selforgsrch.html" tppabs="http://hissa.nist.gov/dads/HTML/selforgsrch.html"><em>self-organizing sequential search</em></a>. This moves more frequently searched items to the front. If a few items are sought much more often than the rest, this can save time. A <a href="binarysrch.html" tppabs="http://hissa.nist.gov/dads/HTML/binarysrch.html"><em>binary search</em></a> or <a href="hashtab.html" tppabs="http://hissa.nist.gov/dads/HTML/hashtab.html"><em>hash table</em></a> is almost always faster, though.</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/313.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/313.srch.c.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.dcc.uchile.cl/%7Eoalonso/handbook/algs/3/313.srch.c.html">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>
(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).
<p>
Entry modified Wed Dec 23 09:20:06 1998.<BR>
HTML page formatted Wed Dec 22 09:36:45 1999.
<P>
This page's URL is
<A href="transpossrch.html" tppabs="http://hissa.nist.gov/dads/HTML/transpossrch.html">http://hissa.nist.gov/dads/HTML/transpossrch.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -