Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Applications of van Emde Boas trees?

Are there any applications of van Emde Boas trees besides as fast priority queues for integers?

like image 550
Lyubomir Velchev Avatar asked Dec 17 '11 15:12

Lyubomir Velchev


People also ask

What is Van Emde Boas tree used for?

A van Emde Boas tree (Dutch pronunciation: [vɑn ˈɛmdə ˈboːɑs]), also known as a vEB tree or van Emde Boas priority queue, is a tree data structure which implements an associative array with m-bit integer keys. It was invented by a team led by Dutch computer scientist Peter van Emde Boas in 1975.

Which type of tree does Van Emde Boas require to perform basic operations?

12. On which abstract data type does van Emde Boas tree performs the operation? Explanation: The Van Emde Boas Tree data structure is also popularly known as Van Emde Boas Priority Queue. This data structure implements an abstract data type called associative array for the given integer keys.


1 Answers

van Emde Boas trees can be used anywhere in place of a normal binary search tree so long as the keys in the search tree are integers in some fixed range. Thus for applications where you need to be able to find the integer in a set that is closest to some other integer, using a vEB-tree can potentially be faster than using a simple balanced binary search tree. As an example, of you have a linear layout of stores on some line and want to find the closest store to some particular customer, using a vEB-tree could make the search exponentially faster than the (already fast) BST.

Hope this helps!

like image 141
templatetypedef Avatar answered Sep 20 '22 18:09

templatetypedef