( a , b ) tree

from Wikipedia, the free encyclopedia
Figure 1: (2, 4) tree

The ( a , b ) -tree is a data structure in computer science and is a special case of a tree, especially an out-tree .

In a -tree, all subtrees have the same depth, and all inner nodes - except for the root - have children between and , where and are natural numbers that must satisfy the property . The root has, if no sheet is between 2 and children.

The keys and data elements are only stored in the leaves.

definition

Be natural numbers with . Then the out-tree is a -tree if:

  • For inner nodes other than the root, the initial degree is .
  • The root has children at most .
  • All paths from the root to a leaf have the same depth

Identification of the inner nodes

Each inner node consists of the following identifiers:

  • Let be the number of children of .
  • Be the edges to the kids.
  • Let be a sorted list of keys, where is equal to the largest key in the subtree with a root .

See also

Web links

Individual evidence

  1. ^ Paul E. Black: (a, b) -tree. ( Memento of the original from October 13, 2018 in the Internet Archive ) Info: The archive link was automatically inserted and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice. In: Vreda Pieterse, Paul E. Black (Ed.): Dictionary of Algorithms and Data Structures. October 6, 2004, accessed June 20, 2015. @1@ 2Template: Webachiv / IABot / xlinux.nist.gov