Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Optimal Computer Search Trees and Variable-Length Alphabetical Codes

Published: 01 December 1971 Publication History

Abstract

An algorithm is given for constructing an alphabetic binary tree of minimum weighted path length (for short, an optimal alphabetic tree). The algorithm needs $4n^2 + 2n$ operations and $4n$ storage locations, where n is the number of terminal nodes in the tree. A given binary tree corresponds to a computer search procedure, where the given files or letters (represented by terminal nodes) are partitioned into two parts successively until a particular file or letter is finally identified. If the files or letters are listed alphabetically, such as a dictionary, then the binary tree must have, from left to right, the terminal nodes consecutively. Since different letters have different frequencies (weights) of occurring, an alphabetic tree of minimum weighted path length corresponds to a computer search tree with minimum-mean search time. A binary tree also represents a (variable-length) binary code. In an alphabetic binary code, the numerical binary order of the code words corresponds to the alphabetical order of the encoded letters. An optimal alphabetic tree corresponds to an optimal alphabetic binary code.

References

[1]
E. N. Gilbert, E. F. Moore, Variable-length binary encodings, Bell System Tech. J., 38 (1959), 933–967
[2]
D. A. Huffman, A method for the construction of minimum-redundancy codes, Proc. IRE, 40 (1952), 1098–1101
[3]
D. E. Knuth, The art of computer programming, Vol. 1, Addison-Wesley, New York, 1968
[4]
D. E. Knuth, Optimum binary search trees, Rep., C. 5.149, Computer Science Dept, Stanford University, Stanford, Calif., 1970
[5]
Eugene S. Schwartz, An optimum encoding with minimum longest code and total number of digits, Information and Control, 7 (1964), 37–44
[6]
E. S. Schwartz, B. Kallick, Generating a canonical prefix encoding, Comm. ACM, 7 (1964), 166–169
[7]
M. Yohe, An Algol procedure for the Hu-Tucker minimum redundancy alphabetic coding method, submitted to Comm. ACM

Cited By

View all
  • (2024)Adaptive Shivers Sort: An Alternative Sorting AlgorithmACM Transactions on Algorithms10.1145/366419520:4(1-55)Online publication date: 5-Aug-2024
  • (2024)Parallel and (Nearly) Work-Efficient Dynamic ProgrammingProceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3626183.3659958(219-232)Online publication date: 17-Jun-2024
  • (2022)Decision trees with short explainable rulesProceedings of the 36th International Conference on Neural Information Processing Systems10.5555/3600270.3601168(12365-12379)Online publication date: 28-Nov-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image SIAM Journal on Applied Mathematics
SIAM Journal on Applied Mathematics  Volume 21, Issue 4
Dec 1971
136 pages
ISSN:0036-1399
DOI:10.1137/smjmap.1971.21.issue-4
Issue’s Table of Contents

Publisher

Society for Industrial and Applied Mathematics

United States

Publication History

Published: 01 December 1971

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 03 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Adaptive Shivers Sort: An Alternative Sorting AlgorithmACM Transactions on Algorithms10.1145/366419520:4(1-55)Online publication date: 5-Aug-2024
  • (2024)Parallel and (Nearly) Work-Efficient Dynamic ProgrammingProceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures10.1145/3626183.3659958(219-232)Online publication date: 17-Jun-2024
  • (2022)Decision trees with short explainable rulesProceedings of the 36th International Conference on Neural Information Processing Systems10.5555/3600270.3601168(12365-12379)Online publication date: 28-Nov-2022
  • (2021)An Algorithm for Constructing the Optimal Code Trees for Binary Alphabetic AIFV-m Codes2020 IEEE Information Theory Workshop (ITW)10.1109/ITW46852.2021.9457572(1-5)Online publication date: 11-Apr-2021
  • (2020)Order-Preserving Key Compression for In-Memory Search TreesProceedings of the 2020 ACM SIGMOD International Conference on Management of Data10.1145/3318464.3380583(1601-1615)Online publication date: 11-Jun-2020
  • (2020)HDTCat: Let’s Make HDT Generation ScaleThe Semantic Web – ISWC 202010.1007/978-3-030-62466-8_2(18-33)Online publication date: 2-Nov-2020
  • (2015)A Padded Encoding Scheme to Accelerate Scans by Leveraging SkewProceedings of the 2015 ACM SIGMOD International Conference on Management of Data10.1145/2723372.2737787(1509-1524)Online publication date: 27-May-2015
  • (2010)Analyze the Performance of the Cyclic Indexing Schemes for the Wireless Data BroadcastJournal of Signal Processing Systems10.1007/s11265-008-0269-459:1(103-110)Online publication date: 1-Apr-2010
  • (2007)Improving the Performance of the Wireless Data Broadcast by the Cyclic Indexing SchemesEmbedded and Ubiquitous Computing10.1007/978-3-540-77092-3_12(123-133)Online publication date: 17-Dec-2007
  • (1985)Biased Search TreesSIAM Journal on Computing10.1137/021404114:3(545-568)Online publication date: 1-Aug-1985
  • Show More Cited By

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media