4 views

1 Answers

An AA tree in computer science is a form of balanced tree used for storing and retrieving ordered data efficiently. AA trees are named after Arne Andersson, the one who theorized them.

AA trees are a variation of the red–black tree, a form of binary search tree which supports efficient addition and deletion of entries. Unlike red–black trees, red nodes on an AA tree can only be added as a right subchild. In other words, no red node can be a left sub-child. This results in the simulation of a 2–3 tree instead of a 2–3–4 tree, which greatly simplifies the maintenance operations. The maintenance algorithms for a red–black tree need to consider seven different shapes to properly balance the tree:

An AA tree on the other hand only needs to consider two shapes due to the strict requirement that only right links can be red:

4 views

Related Questions

What is XML tree?
1 Answers 4 Views
What is m-ary tree?
1 Answers 4 Views
What is Item tree analysis?
1 Answers 4 Views
What is Ye Olde Cherry Tree?
1 Answers 4 Views
What is Nut Tree?
1 Answers 4 Views
What is De Graeff family tree?
1 Answers 4 Views