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 <firstname.lastname@example.org>, Discrete Loops and Worst Case Performance, page 22.
If you have suggestions, corrections, or comments, please get in touch with Paul Black.
Entry modified 20 December 2004.
HTML page formatted Wed Mar 13 12:42:45 2019.
Cite this as:
Paul E. Black, "balance", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed. 20 December 2004. (accessed TODAY) Available from: https://www.nist.gov/dads/HTML/balance.html