|
|
|
|
|
A search tree is a tree where every subtree of a node has keys less than any other subtree of the node to its right. The keys in a node are conceptually between subtrees and are greater than any keys in subtrees to its left and less than any keys in subtrees to its right.
A search might visit nodes in the tree to locate some information. At the outset of the search one has a given key and seeks to find the node in the tree having that key. As the nodes are visited a comparison of the node's key to the given key is made and a decision to go to either the left subtree or the right subtree is made. Knowing that all keys to the left (right) are smaller (larger) makes the search easy to carry out.
|
"search tree" is owned by Mathprof.
|
|
(view preamble)
Cross-references: right subtree, left subtree, information, right, keys, node, tree
There is 1 reference to this entry.
This is version 2 of search tree, born on 2007-07-04, modified 2007-07-04.
Object id is 9728, canonical name is SearchTree.
Accessed 400 times total.
Classification:
| AMS MSC: | 68P05 (Computer science :: Theory of data :: Data structures) | | | 68P10 (Computer science :: Theory of data :: Searching and sorting) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|