Some Regular Languages and Prefix Coding

어떤 정규언어와 Prefix Coding

  • ;
  • 나현숙 (숭실대학교 정보과학대학 컴퓨터학부)
  • Published : 2005.02.28

Abstract

Code is a set of words. If, for any pair of words in the code, one is not prefix of another, the code is called "Prefix(-Free) Code". The prefix coding problem is, given n, to find an optimal code with the minimum-sum of lengths of n words. As a special case of this, we present a method to find, given language L in some specific classes of regular languages, an optimal code among prefix codes in L. We also show how the structure of optimal codes varies as n grows, using trees.

코드는 단어들의 집합이다. 어떤 단어도 다른 것의 Prefix가 아닌 단어들의 집합을 Prefix(-Free) Code라 부르고, 여기서 Prefix Coding이란, 주어진 수 n에 대하여, n개의 단어로 이루어진 Prefix 코드들 중에서 단어길이의 총합이 최소인 최적 Prefix 코드를 찾는 것을 말한다. 이 논문에서는 이의 특수한 경우로서, 특정 정규언어군에 속하는 임의의 정규언어 L에 대하여, L에 속하는 Prefix 코드들 중 최적의 코드를 찾는 방법을 제시한다. 또, 수 n이 변함에 따라 최적 Prefix 코드의 구조가 어떻게 변하는지, 그 성질을 트리구조를 이용해 밝힌다.

Keywords

References

  1. 정욱현, 윤영석, 호요성. 'Huffman 부호와 평균 부호길이 함수의 특성을 이용한 양방향 가변길이 부호의 생성 방법', Proceedings of the IEEK Conference 2003, p.137-140, 2003
  2. T. Berger, R W. Yeung. 'Optimun '1'-ended Binary Prefix Codes', IEEE Transactions on Information Theory 36(3), p. 1435-1441, 1990
  3. R. M. Capocelli, A. De Santis, G. Persiano. 'Binary Prefix Codes Ending in a '1'', IEEE Transactions on Information Theory, 40(1), p. 1296-1301, 1994
  4. Chan Sze-Lok, M Golin. 'A Dynamic Programming Algorithm for Constructing Optimal '1''-ended Binary Prefix-Free Codes', IEEE Transactions on Information Theory, 46(4), p. 1637-1644, 2000 https://doi.org/10.1109/18.850708
  5. T. H Cormen, C. E. Leiserson, R L. Rivest. Introduction to Algorithms, MIT Press, 1990
  6. V. S. Choi, M. J. Golin. 'Lopsided Trees I: Analyses', Algorithmica, 31, p.240-290, 2001 https://doi.org/10.1007/s00453-001-0063-1
  7. S. Kapoor, E. Reingold 'Optimum Losided Binary Trees', Journal of the Association for Computing Machinery, 36(3), p.573-590. 1989 https://doi.org/10.1145/65950.65955
  8. S. A Savari. 'Some Notes on Yam Coding', IEEE Transactions on Information Theory, 40(1), p. 181-186, 1994
  9. S. A. Savari. 'A Probabilistic Approach to Some Asymptotics in Noiseless Communications', IEEE Transactions on Information Theory, 46(4), p. 1246-1262, 2000 https://doi.org/10.1109/18.850666
  10. B. F. Vam. 'Optimal Variable Length Codes (Arbitrary Symbol Costs and Equal Code Word Probabilities)', Informat. Contr. 19, p. 289-301, 1971 https://doi.org/10.1016/S0019-9958(71)90155-0