📄 shadowmrgins.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>shadow merge insert</TITLE>
<META name="description"
content="Definition of shadow merge insert,
possibly with links to more information and implementations.">
<META name="keywords" content="shadow merge insert">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>shadow merge insert</H1>
<P>
(algorithm)
<P>
<strong>Definition:</strong>
An algorithm to insert a new <a href="node.html" tppabs="http://hissa.nist.gov/dads/HTML/node.html"><em>node</em></a> into a <a href="shadowheap.html" tppabs="http://hissa.nist.gov/dads/HTML/shadowheap.html"><em>shadow heap</em></a>. The new node is placed in the unordered table. When the table grows beyond some threshold size, table <a href="node.html" tppabs="http://hissa.nist.gov/dads/HTML/node.html"><em>nodes</em></a> and all their <a href="parent.html" tppabs="http://hissa.nist.gov/dads/HTML/parent.html"><em>parents</em></a> are reordered so everything is a heap.
<P><strong>See also</strong>
<a href="shadowmerge.html" tppabs="http://hissa.nist.gov/dads/HTML/shadowmerge.html"><em>shadow merge</em></a>.
<P><em>Note:
If the threshold size is O(log n), where n is the size of the heap, insertion is O(log log n), amortized. Personal communication from Chris L. Kuszmaul <fyodor@nas.nasa.gov>, January 1999.</em>
<P>Author: <a href="terms.html#authorCLK" tppabs="http://hissa.nist.gov/dads/terms.html#authorCLK">CLK</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 Tue Jan 26 12:32:07 1999.<BR>
HTML page formatted Wed Dec 22 09:36:27 1999.
<P>
This page's URL is
<A href="shadowmrgins.html" tppabs="http://hissa.nist.gov/dads/HTML/shadowmrgins.html">http://hissa.nist.gov/dads/HTML/shadowmrgins.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -