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

On the cost of optimal alphabetic code trees with unequal letter costs

Published: 01 February 2008 Publication History

Abstract

For some k>=2 let d=(d"1,d"2,...,d"k)@?R">"0^k. We denote the concatenation of k vectors a"1,a"2,...,a"k@?@?"n">="0R^n by a"1a"2...a"k and use @e to denote the empty vector. We consider a recursively defined function D"d:@?"n">="0R^n->R@?{-~} with D"d(@e)=-~, D"d((a))=a for a@?R and D"d(a)=min{max{D"d(a"i)+d"i|1@?i@?k}|a=a"1a"2...a"k with a"i@?@?m=0n-1R^m for 1@?i@?k} for a@?R^n with n>=2. The function D"d equals the cost of an optimal alphabetic code tree with unequal letter costs and the above recursion naturally generalizes a recursion studied by Kapoor and Reingold [S. Kapoor, E.M. Reingold, Optimum lopsided binary trees, J. Assoc. Comput. Mach. 36 (1989) 573-590]. If z(n) denotes the vector consisting of n>=0 zeros, then let f(@a)=max{i@?N"0|D"d(z(i))@?@a} for @a@?R. Let d=min{d"1,d"2,...,d"k} and D=max{d"1,d"2,...,d"k}. Our main result is that D"d(z(@?i=1nf(a"i)))@?D"d(a)@?D"d(z(@?i=1nf(a"i)))+6D-2d for a=(a"1,a"2,...,a"n)@?R">="0^n. This result is useful for the analysis of the asymptotic growth of D"d.

References

[1]
Abrahams, J., Code and parse trees for lossless source encoding. Commun. Inf. Syst. v1. 113-146.
[2]
Fredman, M.L. and Knuth, D.E., Recurrence relations based on minimization. J. Math. Anal. Appl. v48. 534-559.
[3]
Hall, M., Combinatorial theory, Wiley Classics Library. 1998. John Wiley & Sons, Chichester.
[4]
Hinderer, K., On dichotomous search with direction-dependent costs for a uniformly hidden object. Optimization. v21. 215-229.
[5]
Hu, T.C., Kleitman, D.J. and Tamaki, J.K., Binary trees optimum under various criteria. SIAM J. Appl. Math. v37. 246-256.
[6]
Hwang, H.-K. and Tsai, T.-H., An asymptotic theory for recurrence relations based on minimization and maximization. Theoret. Comput. Sci. v290. 1474-1501.
[7]
Itai, A., Optimal alphabetic trees. SIAM J. Comput. v5. 9-18.
[8]
Kapoor, S. and Reingold, E.M., Recurrence relations based on minimization and maximization. J. Math. Anal. Appl. v109. 591-604.
[9]
Kapoor, S. and Reingold, E.M., Optimum lopsided binary trees. J. Assoc. Comput. Mach. v36. 573-590.
[10]
Knuth, D.E., The art of computer programming. 1973. Sorting and Searching, 1973.Addison-Wesley.
[11]
Murakami, S., A dichotomous search with travel cost. J. Oper. Res. Soc. Japan. v19. 245-254.
[12]
Rautenbach, D., Szegedy, C. and Werber, J., Delay optimization of linear depth boolean circuits with prescribed input arrival times. J. Discrete Algorithms. v4. 526-537.
[13]
D. Rautenbach, C. Szegedy, J. Werber, The delay of circuits whose inputs have specified arrival times, Discrete Appl. Math. (in press)

Cited By

View all
  • (2017)Binary Adder Circuits of Asymptotically Minimum Depth, Linear Size, and Fan-Out TwoACM Transactions on Algorithms10.1145/314721514:1(1-18)Online publication date: 14-Dec-2017
  • (2017)Fast Prefix Adders for Non-uniform Input Arrival TimesAlgorithmica10.1007/s00453-015-0067-x77:1(287-308)Online publication date: 1-Jan-2017

Recommendations

Comments

Information & Contributors

Information

Published In

Publisher

Academic Press Ltd.

United Kingdom

Publication History

Published: 01 February 2008

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 17 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2017)Binary Adder Circuits of Asymptotically Minimum Depth, Linear Size, and Fan-Out TwoACM Transactions on Algorithms10.1145/314721514:1(1-18)Online publication date: 14-Dec-2017
  • (2017)Fast Prefix Adders for Non-uniform Input Arrival TimesAlgorithmica10.1007/s00453-015-0067-x77:1(287-308)Online publication date: 1-Jan-2017

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media