Algorithms |
General n-ary trees |
If we relax the restriction that each node can have only one key, we can reduce the height of the tree.
An m-way
search tree
|
Or in plain English ..
|
The height of a complete m-ary tree with n nodes is ceiling(logmn).
Example applications include memory storage model used in GIS, distributed wireless self-healing networks and parallel biological modeling algorithms.
A B-tree of order m is an m-way tree in which
Developed by Ed McCreight, a Wooster alum and retired engineer at Adobe. This data structure has extensive applications and one example is its use in whole genome alignment.
A variation of the B-tree, known as a B+-tree considers all the keys in nodes except the leaves as dummies. All keys are duplicated in the leaves. This has the advantage that is all the leaves are linked together sequentially, the entire tree may be scanned without visiting the higher nodes at all.
Key terms |