📄 modifind.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>MODIFIND</TITLE>
<META name="description"
content="Definition of MODIFIND,
possibly with links to more information and implementations.">
<META name="keywords" content="MODIFIND">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>MODIFIND</H1>
<P>
(algorithm)
<P>
<strong>Definition:</strong>
An algorithm to select the k<sup>th</sup> smallest element of an array and <a href="partition.html" tppabs="http://hissa.nist.gov/dads/HTML/partition.html"><em>partition</em></a> the array around it. It partitions around the value of the k<sup>th</sup> element until one boundary passes element k. If either boundary does not pass element k, that boundary is moved and it partitions again.
<P><strong>See also</strong>
<a href="selectnpart.html" tppabs="http://hissa.nist.gov/dads/HTML/selectnpart.html"><em>select and partition</em></a>, <a href="find.html" tppabs="http://hissa.nist.gov/dads/HTML/find.html"><em>Find</em></a>, <a href="selectkth.html" tppabs="http://hissa.nist.gov/dads/HTML/selectkth.html"><em>select k<sup>th</sup> element</em></a>.
<P><em>Note:
This does fewer swaps than <a href="find.html" tppabs="http://hissa.nist.gov/dads/HTML/find.html"><em>Find</em></a>. Vladimir Zabrodsky (Elektronika, No. 6, 1992, pages 33-34).</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.geocities.com/SiliconValley/Garage/3323/3alg.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.geocities.com/SiliconValley/Garage/3323/3alg.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.geocities.com/SiliconValley/Garage/3323/3alg.html">analysis and comparison (Rexx)</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 Apr 14 14:41:05 1999.<BR>
HTML page formatted Wed Dec 22 09:35:52 1999.
<P>
This page's URL is
<A href="modifind.html" tppabs="http://hissa.nist.gov/dads/HTML/modifind.html">http://hissa.nist.gov/dads/HTML/modifind.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -