Definition: The (weight) balance of a tree is the number of leaves of the left subtree of a tree, denoted |Tl|, divided by the total number of leaves of the tree. Formally, ρ(T) = |Tl|/|T|.
Also known as root balance.
See also BB(α) tree, height-balanced tree, right rotation, left rotation, relaxed balance.
Note: The balance of a node is the balance of the (sub)tree rooted at that node. After Johann Blieberger <email@example.com>, Discrete Loops and Worst Case Performance, page 22.
If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.
Entry modified 20 December 2004.
HTML page formatted Fri Mar 25 16:20:34 2011.
Cite this as:
Paul E. Black, "balance", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed., U.S. National Institute of Standards and Technology. 20 December 2004. (accessed TODAY) Available from: http://www.nist.gov/dads/HTML/balance.html