📄 balance.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>balance</TITLE>
<META name="description"
content="Definition of balance,
possibly with links to more information and implementations.">
<META name="keywords" content="balance">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>balance</H1>
<P>
(definition)
<P>
<strong>Definition:</strong>
The (weight) balance of a tree is the number of <a href="leaf.html" tppabs="http://hissa.nist.gov/dads/HTML/leaf.html"><em>leaves</em></a> of the <a href="leftsubtree.html" tppabs="http://hissa.nist.gov/dads/HTML/leftsubtree.html"><em>left subtree</em></a> of a tree, denoted |T<sub>l</sub>|, divided by the total number of leaves of the tree. Formally, <img src="rho2-1.gif" tppabs="http://hissa.nist.gov/dads/HTML/Images/rho2.gif" border=0 height=14 width=6 alt="rho" align=middle>(T) = |T<sub>l</sub>|/|T|.
<P><strong>See also</strong>
<a href="weightbaltre.html" tppabs="http://hissa.nist.gov/dads/HTML/weightbaltre.html"><em>weight-balanced tree</em></a>, <a href="heightbaltre.html" tppabs="http://hissa.nist.gov/dads/HTML/heightbaltre.html"><em>height-balanced tree</em></a>.
<P><em>Note:
The balance of a node is the balance of the (sub)tree rooted at that node. After <strong>Johann Blieberger</strong> <blieb@auto.tuwien.ac.at>, <em>Discrete Loops and Worst Case Performance</em>, page 22.</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 Tue Jun 8 11:19:12 1999.<BR>
HTML page formatted Wed Dec 22 09:34:45 1999.
<P>
This page's URL is
<A href="balance.html" tppabs="http://hissa.nist.gov/dads/HTML/balance.html">http://hissa.nist.gov/dads/HTML/balance.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -