Skip to main content

Optimal coding

  • Chapter
  • First Online:
Book cover Algorithms and Programming
  • 3836 Accesses

Abstract

In this chapter we consider basic notions of coding theory. After introducing the notions of prefix and uniquely decodable codes (section 12.1) we prove the classical Kraft–McMillan inequality, a necessary and sufficient condition for the existence of a uniquely decodable code with given lengths of code words (section 12.2). Then (section 12.3) we discuss an algorithm that allows us to find an optimal uniquely decodable code for given letter frequencies. Finally, we discuss lower and upper bounds for the effectiveness of the optimal code (section 12.4).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 69.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alexander Shen .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Shen, A. (2010). Optimal coding. In: Algorithms and Programming. Springer Undergraduate Texts in Mathematics and Technology. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-1748-5_12

Download citation

Publish with us

Policies and ethics