| Optimizing binary trees grown with a sorting algorithm |
| Full text |
Pdf
(477 KB)
|
Source
|
Communications of the ACM
archive
Volume 15 , Issue 2 (February 1972)
table of contents
Pages: 88 - 93
Year of Publication: 1972
ISSN:0001-0782
|
|
Authors
|
|
W. A. Martin
|
Massachusetts Institute of Technology, Cambridge, MA
|
|
D. N. Ness
|
Massachusetts Institute of Technology, Cambridge, MA
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 7, Downloads (12 Months): 29, Citation Count: 17
|
|
|
ABSTRACT
Items can be retrieved from binary trees grown with a form of the Algorithm Quicksort in an average time proportional to log n, where n is the number of items in the tree. The binary trees grown by this algorithm sometimes have some branches longer than others; therefore, it is possible to reduce the average retrieval time by restructuring the tree to make the branches as uniform in length as possible. An algorithm to do this is presented. The use of this algorithm is discussed, and it is compared with another which restructures the tree after each new item is added.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
Adel'son-Vel'skiy, G.M., and Landis, Ye.M. An algorithm for the organization of information. Doklady Akad. Nauk USSR Moscow 16, No. 2 (1962), 263-266. Also available in translation as U.S. Dept. of Commerce OTS, JPRS 17,137, Washington, D.C., and as NASA Document N63-11777.
|
 |
2
|
|
| |
3
|
Hibbard, T.N. Some combinatorial properties of certain trees with applications to searching and sorting. J. ACM 6 (May 1963), 206-213.
|
 |
4
|
|
| |
5
|
|
| |
6
|
Knuth, D.E. Stanford Comput. Sci. Dept. Memo. Stanford U, Calif.
|
 |
7
|
|
|