(a,b)-tree explained

In computer science, an (a,b) tree is a kind of balanced search tree.

An (a,b)-tree has all of its leaves at the same depth, and all internal nodes except for the root have between and children, where and are integers such that . The root has, if it is not a leaf, between 2 and children.

Definition

Let, be positive integers such that . Then a rooted tree is an (a,b)-tree when:

Internal node representation

Every internal node of a (a,b)-tree has the following representation:

\rhov

be the number of child nodes of node .

Sv[1...\rhov]

be pointers to child nodes.

Hv[1...\rhov-1]

be an array of keys such that

Hv[i]

equals the largest key in the subtree pointed to by

Sv[i]

.

See also